drm/amdgpu: To define whether the GPU has DCE engine.
authorEmily Deng <Emily.Deng@amd.com>
Mon, 8 Aug 2016 03:32:35 +0000 (11:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 18:04:36 +0000 (14:04 -0400)
commit0bad1619ff5cce53964785a9faedcfb1d4810223
tree71db20d72a19388d096475cca218d4f1971b3ef6
parent0d43f3bca1ea1f85c1b344abcc2f17f4731e5eda
drm/amdgpu: To define whether the GPU has DCE engine.

For virtual display feature, when the GPU has DCE engine, need to disable
the VGA render and CRTC, or it will hang when initialize GMC. So first detect
whether the GPU has DCE engine.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h