[Intel-gfx] [RFC PATCH 0/2] Remove frontbuffer tracking from the gem code

Jouni Högander jouni.hogander at intel.com
Wed Mar 2 13:33:02 UTC 2022


We should now rely on userspace doing dirtyfb. There is no need to
have separate frontbuffer tracking hooks in gem code. 

It was found out that fbdev code calling intel_frontbuffer_invalidate
caused psr being left disabled. Tackle this by removing
intel_frontbuffer_invalidate calls from intel_fbdev code.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Jani Nikula <jani.nikula at linux.intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: José Roberto de Souza <jose.souza at intel.com>

Jouni Högander (2):
  drm/i915/fbdev: Remove frontbuffer tracking calls
  drm/i915: Remove all frontbuffer tracking calls from the gem code

 drivers/gpu/drm/i915/display/intel_fbdev.c   | 62 ++------------------
 drivers/gpu/drm/i915/display/intel_overlay.c |  2 -
 drivers/gpu/drm/i915/gem/i915_gem_clflush.c  |  2 -
 drivers/gpu/drm/i915/gem/i915_gem_domain.c   |  5 --
 drivers/gpu/drm/i915/gem/i915_gem_object.c   | 24 --------
 drivers/gpu/drm/i915/gem/i915_gem_object.h   | 16 -----
 drivers/gpu/drm/i915/gem/i915_gem_phys.c     |  7 ---
 drivers/gpu/drm/i915/i915_gem.c              |  5 --
 8 files changed, 4 insertions(+), 119 deletions(-)

-- 
2.25.1



More information about the Intel-gfx mailing list