aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2023-01-11 17:50:15 +0000
committerChristian König <[email protected]>2023-01-12 12:28:51 +0000
commit040b35c19bf2bdbb8ba5f8742b4e199ace3cbdc3 (patch)
tree37adf179f1c97664b6eb1695ededba58e54254b7 /tools/perf/scripts/python/flamegraph.py
parentdrm/nouveau: Remove file nouveau_fbcon.c (diff)
downloadkernel-040b35c19bf2bdbb8ba5f8742b4e199ace3cbdc3.tar.gz
kernel-040b35c19bf2bdbb8ba5f8742b4e199ace3cbdc3.zip
drm/ttm: Fix a regression causing kernel oops'es
The branch is explicitly taken if ttm == NULL which means that to avoid a null pointer reference the ttm object can not be used inside. Switch back to dst_mem to avoid kernel oops'es. This fixes kernel oops'es with any buffer objects which don't have ttm_tt, e.g. with vram based screen objects on vmwgfx. Signed-off-by: Zack Rusin <[email protected]> Fixes: e3c92eb4a84f ("drm/ttm: rework on ttm_resource to use size_t type") Cc: Somalapuram Amaranath <[email protected]> Cc: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions