drm/i915: Drop runtime-pm assert from vgpu io accessors
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Aug 2020 09:25:32 +0000 (10:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 20 Oct 2020 10:25:44 +0000 (11:25 +0100)
commit0e65ce24a33c1d37da4bf43c34e080334ec6cb60
tree794c325fca81ad593183a488057b30c4375daf9b
parentf566fdcd6cc49a9d5b5d782f56e3e7cb243f01b8
drm/i915: Drop runtime-pm assert from vgpu io accessors

The "mmio" writes into vgpu registers are simple memory traps from the
guest into the host. We do not need to assert in the guest that the
device is awake for the io as we do not write to the device itself.

However, over time we have refactored all the mmio accessors with the
result that the vgpu reuses the gen2 accessors and so inherits the
assert for runtime-pm of the native device. The assert though has
actually been there since commit 3be0bf5acca6 ("drm/i915: Create vGPU
specific MMIO operations to reduce traps").

References: 3be0bf5acca6 ("drm/i915: Create vGPU specific MMIO operations to reduce traps")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Yan Zhao <yan.y.zhao@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200811092532.13753-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_uncore.c