diff options
| author | Eryk Brol <[email protected]> | 2019-01-21 19:40:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-02-06 18:30:12 +0000 |
| commit | 00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5 (patch) | |
| tree | 16ca74fccf53575c3b022aa7bffc47cdb3981141 /drivers/gpu/drm/amd/display/dc/inc/clock_source.h | |
| parent | drm/amd/display: Disable Stutter for Stereo 3D (diff) | |
| download | kernel-00fbeb4e2f9eda0ebd57eefdcf25e41958f98fa5.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/clock_source.h')
0 files changed, 0 insertions, 0 deletions
