[Intel-gfx] [PATCH 0/2] Prepare intel_fbdev for Xe

Jouni Högander jouni.hogander at intel.com
Wed Nov 15 09:07:17 UTC 2023


Intel_fbdev buffer allocation and it's backing object handling differs
a lot between i915 and Xe. This patch set is splitting i915 specific
code into it's own source file. Similar source files will be
introduced for Xe as well.

Also use intel_bo_to_drm_bo instead of directly referring
i915_gem_object->base. This is needed because i915_gem_object and
xe_bo implementations are differing.

Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
Cc: Jani Nikula <jani.nikula at intel.com>
Cc: Uma Shankar <uma.shankar at intel.com>

Jouni Högander (2):
  drm/i915/display: split i915 specific code from intel_fbdev
  drm/i915/display: use intel_bo_to_drm_bo in intel_fbdev

 drivers/gpu/drm/i915/Makefile                 |   3 +-
 drivers/gpu/drm/i915/display/intel_fbdev.c    | 112 ++---------------
 drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 115 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_fbdev_fb.h |  21 ++++
 4 files changed, 148 insertions(+), 103 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_fbdev_fb.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_fbdev_fb.h

-- 
2.34.1



More information about the Intel-gfx mailing list