summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMa Ke <make24@iscas.ac.cn>2024-08-21 07:27:24 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-08-23 17:54:11 +0300
commit73dd0ad9e5dad53766ea3e631303430116f834b3 (patch)
treeb8a0159d76ffd1aa390ab18643a114d0fca855d7 /tools/perf/scripts/python/exported-sql-viewer.py
parent4416377ae1fdc41a90b665943152ccd7ff61d3c5 (diff)
downloadlinux-73dd0ad9e5dad53766ea3e631303430116f834b3.tar.xz
drm/amd/display: avoid using null object of framebuffer
Instead of using state->fb->obj[0] directly, get object from framebuffer by calling drm_gem_fb_get_obj() and return error code when object is null to avoid using null object of framebuffer. Fixes: 5d945cbcd4b1 ("drm/amd/display: Create a file dedicated to planes") Signed-off-by: Ma Ke <make24@iscas.ac.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions