aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2023-11-16 22:44:53 -0500
committerLuben Tuikov <[email protected]>2023-11-19 22:14:25 -0500
commite04d24c4e8062b5ed0bee7a871423a454d24ffed (patch)
treee30d28b8c45908bd549f93cbad0912da141288a4 /tools/perf/scripts/python/exported-sql-viewer.py
parent47fbee5f27ed9ef43340db03ba2b58a673a6e72b (diff)
drm/print: Handle NULL drm device in __drm_printk()
drm_{err,warn,...}() use __drm_printk() which takes a drm device pointer and uses the embedded device pointer to print the device. This facility handles NULL device pointer, but not NULL drm device pointer. This patch makes __drm_printk() also handle a NULL drm device pointer. The printed output is identical to if drm->dev had been NULL. Signed-off-by: Luben Tuikov <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions