diff options
| author | 2020-02-25 13:35:26 +0800 | |
|---|---|---|
| committer | 2020-02-25 16:13:04 +0800 | |
| commit | a8bb49b64c4f4284fb36169bdd9fc6efd62eb26a (patch) | |
| tree | b3a2fc4ae8bd725537492526b537b7f162e697f6 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/i915/gvt: Make WARN* drm specific where vgpu ptr is available (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 <tina.zhang@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200225053527.8336-1-tina.zhang@intel.com
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
