]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb8d9cb528aaef5a60f3053664a75c881b87acab
tree68c7a7c82a423d50e3cc80171f0f841125cf6958
parent980242428f9e6a2cca34a2904010dc88f5a803c6
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