summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-06-04 15:21:14 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-11 12:40:21 -0500
commitf04bee34d6e35df26cbb2d65e801adfd0d8fe20d (patch)
treeb2b679cca0d430db03c322f18805c7e6e7343e6d /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent4b7ef85cc65e7ae137c43a0269365289f1b5ee68 (diff)
downloadlinux-f04bee34d6e35df26cbb2d65e801adfd0d8fe20d.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions