drm/radeon/cik: switch to type3 nop packet for compute rings (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Jun 2013 15:21:58 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 14:49:09 +0000 (10:49 -0400)
commit2615b53acec2e0636c9d24a9e82f34904d8e39fd
tree68c7a7c82a423d50e3cc80171f0f841125cf6958
parent963e81f9e060113d3bec1aa95eac76a7d3810879
drm/radeon/cik: switch to type3 nop packet for compute rings (v2)

Type 2 packets are deprecated on CIK MEC and we should use
type 3 nop packets.  Setting the count field to the max value
(0x3fff) indicates that only one dword should be skipped
like a type 2 packet.

v2: add comment to code

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
drivers/gpu/drm/radeon/cik.c