aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-06-04 19:21:14 +0000
committerAlex Deucher <[email protected]>2019-06-11 17:40:21 +0000
commitf04bee34d6e35df26cbb2d65e801adfd0d8fe20d (patch)
treeb2b679cca0d430db03c322f18805c7e6e7343e6d /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentdrm/amd/display: Add connector debugfs for "output_bpc" (diff)
downloadkernel-f04bee34d6e35df26cbb2d65e801adfd0d8fe20d.tar.gz
kernel-f04bee34d6e35df26cbb2d65e801adfd0d8fe20d.zip
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 <[email protected]> Reviewed-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions