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@xxxxxxxxx> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx> Cc: Jani Nikula <jani.nikula@xxxxxxxxx> Cc: Uma Shankar <uma.shankar@xxxxxxxxx> 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