[Intel-xe] [PATCH 0/9] Clean-up Xe FBC additions
Jouni Högander
jouni.hogander at intel.com
Tue May 30 10:34:11 UTC 2023
This patch set cleans up Xe FBC additions. All stolen memory details are
moved to i915_gem_stolen header and source files. Also some fence handling
details are move away from FBC code. This allows removing all ifdefs added
into fbc code.
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Jouni Högander (9):
fixup! drm/i915/display: Implement FBC support
drivers/xe: Add new type for compressed fb
drm/i915/fbc: Add common type for compressed fb to avoid ifdefs
drm/xe: Add i915_gem.h compatibility header
drivers/xe: Move Xe stolen memory handling away form fbc code
drm/i915: Move stolen memory handling into i915_gem_stolen
drm/i915/fbc: Stolen initialize can be checked in plane check for i915
as well
drm/i915/fbc: Add function to get number of fences for gt
Add new fence_id and fence count functions
drivers/gpu/drm/i915/display/intel_fbc.c | 134 ++++--------------
drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 37 +++++
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 +
.../gpu/drm/xe/compat-i915-headers/i915_drv.h | 5 +
.../gpu/drm/xe/compat-i915-headers/i915_gem.h | 9 ++
.../xe/compat-i915-headers/i915_gem_stolen.h | 76 ++++++++++
.../gpu/drm/xe/compat-i915-headers/i915_vma.h | 2 +
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 8 ++
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h | 1 +
11 files changed, 183 insertions(+), 109 deletions(-)
create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_gem.h
create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_gem_stolen.h
--
2.34.1
More information about the Intel-xe
mailing list