mirror_ubuntu-kernels/drivers/gpu/drm/amd
Shirish S 2c8f195adf 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 <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 18:17:44 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: Add dc_log module parameter 2017-09-26 18:17:42 -04:00
amdkfd drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
display drm/amd/display: don't clean-up bottom pipe plane_state 2017-09-26 18:17:44 -04:00
include drm/amd: Add missing SURFACE_TMZ register shift/mask 2017-09-26 18:15:20 -04:00
lib drm/amd: Closed hash table with low overhead (v2) 2017-09-26 14:53:19 -04:00
powerplay drm/amd/powerplay: delete dead code in smumgr 2017-09-26 15:14:36 -04:00
scheduler drm/amdgpu: discard commands of killed processes 2017-08-29 15:27:42 -04:00