mbox series

[RFC,0/2] Remove frontbuffer tracking from the gem code

Message ID 20220302133304.82717-1-jouni.hogander@intel.com (mailing list archive)
Headers show
Series Remove frontbuffer tracking from the gem code | expand

Message

Hogander, Jouni March 2, 2022, 1:33 p.m. UTC
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@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: José Roberto de Souza <jose.souza@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(-)