aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorShirish S <[email protected]>2017-09-26 06:56:41 +0000
committerAlex Deucher <[email protected]>2017-09-26 22:17:44 +0000
commit2c8f195adf21430e4e8bbd13942826ccf8fa225c (patch)
treec6527a541d346cd8d65caedec6ea690d290ab848 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentdrm/amd/display: Remove unused dc_validate_guaranteed function (diff)
downloadkernel-2c8f195adf21430e4e8bbd13942826ccf8fa225c.tar.gz
kernel-2c8f195adf21430e4e8bbd13942826ccf8fa225c.zip
drm/amd/display: don't clean-up bottom pipe plane_state
In the scenario of setting underlay, dc_validate_global_state() is called after constructing the context with all relevant bottom_pipe related configurations in dm_update_planes_state(). Currently, in dc_validate_global_state(), without checking for bottom_pipe's existence, the pipe_ctx structure is initialised to 0, hence nullyfying the plane_state of bottom_pipe which shall be accessed in populate_initial_data() called from bw_calcs(). Due to this null pointer access kernel panics and leads to reboot when underlay is tried to set. This patch fixes the issue by no longer clearing the top_pipe. This workaround is no longer required. Signed-off-by: Shirish S <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions