drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands
authorThong Thai <thong.thai@amd.com>
Thu, 25 Jul 2019 15:21:58 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Aug 2019 15:36:34 +0000 (10:36 -0500)
commitaf655cc5aae800f30cd71c5d72d36bd3ecb1e7df
tree6721e2825f26d585217dd1c0f27114899137d2b9
parent9c8c9c7cdb4c8fb48a2bc70f41a07920f761d2cd
drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands

Sets the CMD_SOURCE bit for VCN 2.0 Decoder Ring Buffer commands. This
bit was previously set by the RBC HW on older firmware. Newer firmware
uses a SW RBC and this bit has to be set by the driver.

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c