aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorShirish S <shirish.s@amd.com>2017-11-20 00:07:08 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-11-28 17:55:33 -0500
commit93984bbc70b3f321b8f6a3ec303e31b084e54230 (patch)
treeec98f14608bed8c9923ef901a0572f1749377b33 /tools/perf/scripts/python/mem-phys-addr.py
parent8ffca5dca093cdd25264e782cc0c4539cb318925 (diff)
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 <shirish.s@amd.com> Reviewed-by: Roman Li <Roman.Li@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions