]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa3f34f18ae400832de19eb93e5bf842d4cc92cc
tree6721e2825f26d585217dd1c0f27114899137d2b9
parentd69d832cef6fa9e1076a9a284aa4f8a5ccf14021
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