linux/drivers/gpu/drm/amd
Nicholas Kazlauskas f04bee34d6 drm/amd/display: Always allocate initial connector state state
[Why]
Unlike our regular connectors, MST connectors don't start off with
an initial connector state. This causes a NULL pointer dereference to
occur when attaching the bpc property since it tries to modify the
connector state.

We need an initial connector state on the connector to avoid the crash.

[How]
Use our reset helper to allocate an initial state and reset the values
to their defaults. We were already doing this before, just not for
MST connectors.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-11 12:40:21 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amd/amdgpu: add RLC firmware to support raven1 refresh 2019-06-11 12:40:06 -05:00
amdkfd drm/amdkfd: Implement queue priority controls for gfx9 2019-06-11 12:35:25 -05:00
display drm/amd/display: Always allocate initial connector state state 2019-06-11 12:40:21 -05:00
include drm/amdkfd: Shift sdma_engine_id and sdma_queue_id in mqd 2019-05-24 12:21:01 -05:00
powerplay drm/amd/powerplay: add set_power_profile_mode for raven1_refresh 2019-06-11 12:39:57 -05:00