bianbu-linux-6.6/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Always allocate initial connector state state 2019-06-11 12:40:21 -05:00
dc drm/amd/display: Add back missing hw translate init for DCN1_01 2019-06-11 11:56:39 -05:00
include drm/amd/display: make clk mgr soc specific 2019-05-31 10:39:29 -05:00
modules drm/amd/display: CS_TFM_1D only applied post EOTF 2019-05-31 10:39:33 -05:00
Kconfig Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-05-31 10:04:39 +10:00
Makefile drm/amd/display: move clk_mgr files to right place 2019-05-31 10:39:31 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00