aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJocelyn Falempe <[email protected]>2024-04-26 14:10:50 +0200
committerMaarten Lankhorst <[email protected]>2024-05-02 23:39:21 +0200
commit514ca22a25265e9bef10eab143e6a956b00694aa (patch)
tree0754be7f0c56b56fbe76c5685ab9ea76e5d0f9e7 /tools/perf/scripts/python
parent87cb4a612a89690b123e68f6602d9f6581b03597 (diff)
drm/fb_dma: Add checks in drm_fb_dma_get_scanout_buffer()
plane->state and plane->state->fb can be NULL, so add a check before dereferencing them. Found by testing with the imx driver. Fixes: 879b3b6511fe ("drm/fb_dma: Add generic get_scanout_buffer() for drm_panic") Signed-off-by: Jocelyn Falempe <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 986c12d8c9a677c094c37bd6aa636b4d4c5ccd46) Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions