]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: move UVD/VCE and VCN structure out from union
authorLeo Liu <leo.liu@amd.com>
Tue, 21 Nov 2017 14:08:07 +0000 (09:08 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Nov 2017 22:44:11 +0000 (17:44 -0500)
commit19a05409166adc18cfe734f218e2e93ff332f6bc
tree437481fcf8ddddee643bb320c1993471cc6dcd78
parentf9e9d4ede33f20ad238fc11db0232eaede684940
drm/amdgpu: move UVD/VCE and VCN structure out from union

With the enablement of VCN Dec and Enc from user space, User space queries
kernel for the IP information, if HW has UVD/VCE, the info comes from these
IP blocks, but this could end up mis-interpret for VCN when they are in the
union, the other way same when HW with VCN block.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Fixes: 28d3e751b122 ("drm/amdgpu: add initial vcn support and decode tests")
Cc: stable@vger.kernel.org
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h