aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTina Zhang <[email protected]>2020-02-25 13:35:26 +0800
committerZhenyu Wang <[email protected]>2020-02-25 16:13:04 +0800
commita8bb49b64c4f4284fb36169bdd9fc6efd62eb26a (patch)
treeb3a2fc4ae8bd725537492526b537b7f162e697f6 /scripts/gdb/linux/utils.py
parent12d5861973c70fb9a890d81d051de1cb1886eeee (diff)
drm/i915/gvt: Fix drm_WARN issue where vgpu ptr is unavailable
When vgpu ptr is unavailable, the drm_WARN* can hang the whole system due to the drm pointer is NULL. This patch fixes this issue by using WARN directly which won't care about the drm pointer. Fixes: 12d5861973c70 ("drm/i915/gvt: Make WARN* drm specific where vgpu ptr is available") Signed-off-by: Tina Zhang <[email protected]> Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions