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>
Wed, 31 Jul 2019 04:48:32 +0000 (23:48 -0500)
commit333fe325febabe3df2bc3019d4b97f879d8cef73
tree14a264bc5d988d8e65b1dc46aad9fcfdc2680f3c
parentd3b9f39d8417ee2f2cd87b5e5410015ce6f78491
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