mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 16:50:20 +01:00
Clean up flush command generation in addFlush2D.
This commit is contained in:
parent
659209cb2d
commit
ed82d5398a
1 changed files with 3 additions and 5 deletions
|
|
@ -280,11 +280,9 @@ static void addFlush2D(struct xgi_info * info)
|
|||
lastBatchVirtAddr[1] = BEGIN_LINK_ENABLE_MASK + 0x08;
|
||||
lastBatchVirtAddr[2] = flushBatchHWAddr >> 4;
|
||||
lastBatchVirtAddr[3] = 0;
|
||||
|
||||
//barrier();
|
||||
|
||||
// BTYPE_CTRL & NO debugID
|
||||
lastBatchVirtAddr[0] = (0x20 << 22) + (BEGIN_VALID_MASK);
|
||||
wmb();
|
||||
lastBatchVirtAddr[0] = (get_batch_command(BTYPE_CTRL) << 24)
|
||||
| (BEGIN_VALID_MASK);
|
||||
|
||||
triggerHWCommandList(info, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue