summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc.h
diff options
context:
space:
mode:
authorEryk Brol2019-01-21 20:40:16 +0100
committerAlex Deucher2019-02-06 19:30:12 +0100
commit00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5 (patch)
tree16ca74fccf53575c3b022aa7bffc47cdb3981141 /drivers/gpu/drm/amd/display/dc/dc.h
parentdrm/amd/display: Disable Stutter for Stereo 3D (diff)
downloadkernel-qcow2-linux-00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5.tar.gz
kernel-qcow2-linux-00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5.tar.xz
kernel-qcow2-linux-00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5.zip
drm/amd/display: DC VM Fixes
[Why] VM_helper needs to be intialized with the dc struct in order to fix an unallocated memory issue. System aperture settings should be initialized to 0 and guarded with a check to make sure vm_config is valid. [How] Allocate and free memory for vm_helper with other dc members. Check whether the vm_config valid bit is set before initializing aperture settings. Signed-off-by: Eryk Brol <eryk.brol@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index ee2c7e5b6087..2224bba914ec 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -265,7 +265,6 @@ struct dc_debug_data {
uint32_t auxErrorCount;
};
-
struct dc_state;
struct resource_pool;
struct dce_hwseq;