drm/i915/gvt: Fix the compiling error when CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n
authorZhi Wang <zhi.a.wang@intel.com>
Wed, 27 Apr 2022 21:28:49 +0000 (17:28 -0400)
committerZhi Wang <zhi.a.wang@intel.com>
Thu, 28 Apr 2022 21:01:17 +0000 (17:01 -0400)
commit5b95b9d58fb0d7418c3d2d020099db789f66e7a1
tree6ac64f79b4b9fe87edd80c98d3b5a72d5a4e3ff9
parentfa630c304b934bee63d437010fb3cbca55c8ee83
drm/i915/gvt: Fix the compiling error when CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n

A compiling error was reported when CONFIG_DRM_I915_DEBUG_RUNTIME_PM=n.
Fix the problem by using the pre-defined macro.

Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220427212849.18109-2-zhi.a.wang@intel.com
Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
drivers/gpu/drm/i915/intel_gvt.c