diff options
author | Tina Zhang <tina.zhang@intel.com> | 2020-02-25 13:35:26 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-02-25 16:13:04 +0800 |
commit | a8bb49b64c4f4284fb36169bdd9fc6efd62eb26a (patch) | |
tree | b3a2fc4ae8bd725537492526b537b7f162e697f6 /drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | |
parent | 12d5861973c70fb9a890d81d051de1cb1886eeee (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 'drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c')
0 files changed, 0 insertions, 0 deletions