drm/amdgpu: implement VCE 3.0 harvesting support (v4)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jul 2015 18:16:24 +0000 (14:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Jul 2015 15:09:44 +0000 (11:09 -0400)
commit6a585777c832f45c05d1aa8a4872b2b292a908c2
treef909593e9d40f7bf19f8c8d3c5f822af0575b090
parent5e6775abb5ce7ada76fa17c67857576176d0b60f
drm/amdgpu: implement VCE 3.0 harvesting support (v4)

For boards with bad VCE blocks, only configure the working
block.

v2: use the harvest info for pipe setup
v3: fix mask check as noted by Leo
v4: add dGPU support

Reviewed-by: Christian König <christian.koenig@amd.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c