Skip to content

RFC Avoid parent bridge rpm on mmap mappings

Anshuman Gupta dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/i915/dgfx: Avoid parent bridge rpm on mmap mappingsdrivers/gpu/drm/i915/gem/i915_gem_mman.c drivers/gpu/drm/i915/gem/i915_gem_ttm.c drivers/gpu/drm/i915/intel_runtime_pm.c +1 more+56 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-gfx] [RFC 0/1] Avoid parent bridge rpm on mmap mappings

RFC proposal to get community feedback to handle the lmem mmap memory mappings. We can have two solutions.

1. Avoid rpm for any mmap mapping.
2. Update the page tables while entering to runtime suspend to raise a page fault while device in D3.

Solution 2 will incur huge latency versus solution 1 which effectively disable the runtime PM.

Caveat with solution 1 that, it doesn't address the case when user directly maps PCI Bar resource i.e. below mentioned resource. "/sys/bus/pci/devices/0000\:03\:00.0/resource2"

Anshuman Gupta (1):
drm/i915/dgfx: Avoid parent bridge rpm on mmap mappings

 drivers/gpu/drm/i915/gem/i915_gem_mman.c | 11 ++++++++
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c  |  8 ++++++
 drivers/gpu/drm/i915/intel_runtime_pm.c  | 35 ++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_runtime_pm.h  |  2 ++
 4 files changed, 56 insertions(+)
Signature · 1 line
2.26.2