diff options
author | Christian König <deathsimple@vodafone.de> | 2012-10-22 17:42:35 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2012-10-23 16:23:50 +0200 |
commit | 58f8cf56f937840aa3c1416eed29f595159c60a3 (patch) | |
tree | cba423d1817a072121871db6bf1a7276b2bde375 /drivers/gpu/drm/radeon/nid.h | |
parent | drm/radeon: add error output if VM CS fails on cayman (diff) | |
download | linux-58f8cf56f937840aa3c1416eed29f595159c60a3.tar.xz linux-58f8cf56f937840aa3c1416eed29f595159c60a3.zip |
drm/radeon: fix PFP sync in vm_flush
Otherwise the next IB might start reading commands
with the page table still invalid.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/nid.h')
-rw-r--r-- | drivers/gpu/drm/radeon/nid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/nid.h b/drivers/gpu/drm/radeon/nid.h index 2423d1b5d385..cbef6815907a 100644 --- a/drivers/gpu/drm/radeon/nid.h +++ b/drivers/gpu/drm/radeon/nid.h @@ -502,6 +502,7 @@ #define PACKET3_MPEG_INDEX 0x3A #define PACKET3_WAIT_REG_MEM 0x3C #define PACKET3_MEM_WRITE 0x3D +#define PACKET3_PFP_SYNC_ME 0x42 #define PACKET3_SURFACE_SYNC 0x43 # define PACKET3_CB0_DEST_BASE_ENA (1 << 6) # define PACKET3_CB1_DEST_BASE_ENA (1 << 7) |