mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 13:40:13 +01:00
radeon: *really* fix screen corruption thanks to Lukasz Krotowski
This commit is contained in:
parent
6f8cc95703
commit
59112c9e52
2 changed files with 1 additions and 2 deletions
|
|
@ -980,7 +980,6 @@ int r300_do_cp_cmdbuf(struct drm_device *dev,
|
|||
struct drm_buf *buf = NULL;
|
||||
int emit_dispatch_age = 0;
|
||||
int ret = 0;
|
||||
RING_LOCALS;
|
||||
|
||||
DRM_DEBUG("\n");
|
||||
|
||||
|
|
|
|||
|
|
@ -442,7 +442,7 @@ static void radeon_do_cp_start(drm_radeon_private_t * dev_priv)
|
|||
OUT_RING(CP_PACKET0(RADEON_ISYNC_CNTL, 0));
|
||||
OUT_RING(RADEON_ISYNC_ANY2D_IDLE3D |
|
||||
RADEON_ISYNC_ANY3D_IDLE2D |
|
||||
RADEON_ISYNC_CPSCRATCH_IDLEGUI |
|
||||
RADEON_ISYNC_WAIT_IDLEGUI |
|
||||
RADEON_ISYNC_CPSCRATCH_IDLEGUI);
|
||||
RADEON_PURGE_CACHE();
|
||||
RADEON_PURGE_ZCACHE();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue