aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/basics/log_helpers.c
diff options
context:
space:
mode:
authorShirish S <[email protected]>2017-11-20 05:07:08 +0000
committerAlex Deucher <[email protected]>2017-11-28 22:55:33 +0000
commit93984bbc70b3f321b8f6a3ec303e31b084e54230 (patch)
treeec98f14608bed8c9923ef901a0572f1749377b33 /drivers/gpu/drm/amd/display/dc/basics/log_helpers.c
parentdrm/amd/display: Do DC mode-change check when adding CRTCs (diff)
downloadkernel-93984bbc70b3f321b8f6a3ec303e31b084e54230.tar.gz
kernel-93984bbc70b3f321b8f6a3ec303e31b084e54230.zip
drm/amd/display: check plane state before validating fbc
While validation fbc, array_mode of the pipe is accessed without checking plane_state exists for it. Causing to null pointer dereferencing followed by reboot when a crtc associated with external display(not connected) is page flipped. This patch adds a check for plane_state before using it to validate fbc. Signed-off-by: Shirish S <[email protected]> Reviewed-by: Roman Li <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics/log_helpers.c')
0 files changed, 0 insertions, 0 deletions