mbox series

[v2,0/3] Move stolen memory handling details into i915_gem_stolen

Message ID 20230614051731.745821-1-jouni.hogander@intel.com (mailing list archive)
Headers show
Series Move stolen memory handling details into i915_gem_stolen | expand

Message

Hogander, Jouni June 14, 2023, 5:17 a.m. UTC
We are preparing for Xe driver. Stolen memory handling will be
different in Xe driver. Due to this we want to remove all stolen
memory handling details away from FBC code.

v2:
 - Fix couple of checkpatch warnings
 - Fix intel_gt_support_legacy_fencing macro

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Jouni Högander (3):
  drm/i915: Move stolen memory handling into i915_gem_stolen
  drm/i915/fbc: Make FBC check stolen at use time
  drm/i915/fbc: Moved fence related code away from intel_fbc

 drivers/gpu/drm/i915/display/intel_fbc.c   | 64 ++++++++++++----------
 drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 36 ++++++++++++
 drivers/gpu/drm/i915/gem/i915_gem_stolen.h | 13 +++++
 drivers/gpu/drm/i915/gt/intel_gt_types.h   |  2 +
 drivers/gpu/drm/i915/i915_vma.h            |  5 ++
 5 files changed, 90 insertions(+), 30 deletions(-)