diff options
| author | Emily Deng <[email protected]> | 2016-08-08 03:33:11 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-08-08 18:04:37 +0000 |
| commit | 83c9b0253b1136b1312fd2a0bfd173f625c65091 (patch) | |
| tree | f876ef61fd5c8728c5328763f13fe4d31c7342b4 /drivers/gpu/drm/amd/amdgpu/dce_v8_0.h | |
| parent | drm/amdgpu: To define whether the GPU has DCE engine. (diff) | |
| download | kernel-83c9b0253b1136b1312fd2a0bfd173f625c65091.tar.gz kernel-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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/dce_v8_0.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/dce_v8_0.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.h b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.h index 77016852b252..7d0770c3a49b 100644 --- a/drivers/gpu/drm/amd/amdgpu/dce_v8_0.h +++ b/drivers/gpu/drm/amd/amdgpu/dce_v8_0.h @@ -26,4 +26,6 @@ extern const struct amd_ip_funcs dce_v8_0_ip_funcs; +void dce_v8_0_disable_dce(struct amdgpu_device *adev); + #endif |
