diff options
author | Emily Deng <Emily.Deng@amd.com> | 2016-08-08 05:33:11 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 20:04:37 +0200 |
commit | 83c9b0253b1136b1312fd2a0bfd173f625c65091 (patch) | |
tree | f876ef61fd5c8728c5328763f13fe4d31c7342b4 /drivers/gpu/drm/amd/amdgpu/dce_v11_0.h | |
parent | drm/amdgpu: To define whether the GPU has DCE engine. (diff) | |
download | linux-83c9b0253b1136b1312fd2a0bfd173f625c65091.tar.xz linux-83c9b0253b1136b1312fd2a0bfd173f625c65091.zip |
drm/amdgpu: Disable VGA render and crtc when init GMC.
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.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v11_0.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v11_0.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.h b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.h index 84e4618f5253..1f58a65ba2ef 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v11_0.h +++ b/drivers/gpu/drm/amd/amdgpu/dce_v11_0.h @@ -26,4 +26,6 @@ extern const struct amd_ip_funcs dce_v11_0_ip_funcs; +void dce_v11_0_disable_dce(struct amdgpu_device *adev); + #endif |