Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915/gvt: Various mmio.c fixes
@ 2025-09-16 17:43 Jonathan Cavitt
  2025-09-16 17:43 ` [PATCH 1/2] drm/i915/gvt: Remove unnecessary check in reg_is_mmio Jonathan Cavitt
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Jonathan Cavitt @ 2025-09-16 17:43 UTC (permalink / raw)
  To: intel-gfx; +Cc: saurabhg.gupta, alex.zuo, jonathan.cavitt

Remove the 'reg >= 0' check from reg_is_mmio because it's unnecessary
due to it always being true.  Also, fix the kernel docs for
intel_vgpu_gpa_to_mmio_offset, as they incorrectly assert it returns
'Zero on success, negative error code if failed', when in reality it
returns 'the MMIO offset of the given GPA'.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>

Jonathan Cavitt (2):
  drm/i915/gvt: Remove unnecessary check in reg_is_mmio
  drm/i915/gvt: Fix intel_vgpu_gpa_to_mmio_offset kernel docs

 drivers/gpu/drm/i915/gvt/mmio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-09-18 11:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16 17:43 [PATCH 0/2] drm/i915/gvt: Various mmio.c fixes Jonathan Cavitt
2025-09-16 17:43 ` [PATCH 1/2] drm/i915/gvt: Remove unnecessary check in reg_is_mmio Jonathan Cavitt
2025-09-17  8:59   ` Andi Shyti
2025-09-16 17:43 ` [PATCH 2/2] drm/i915/gvt: Fix intel_vgpu_gpa_to_mmio_offset kernel docs Jonathan Cavitt
2025-09-17  9:00   ` Andi Shyti
2025-09-16 18:54 ` ✓ i915.CI.BAT: success for drm/i915/gvt: Various mmio.c fixes Patchwork
2025-09-16 23:30 ` ✗ i915.CI.Full: failure " Patchwork
2025-09-17  4:39 ` [PATCH 0/2] " Zhenyu Wang
2025-09-17 16:04 ` ✓ i915.CI.BAT: success for drm/i915/gvt: Various mmio.c fixes (rev2) Patchwork
2025-09-17 19:04 ` ✓ i915.CI.Full: " Patchwork
2025-09-18 11:17 ` [PATCH 0/2] drm/i915/gvt: Various mmio.c fixes Andi Shyti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox