Intel_fbdev.c refactoring
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest9 patches 1 replyIn review
- v29 patches 4 repliesSuperseded
- v19 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Do not check IS_ERR(fb) as returning anyways in intel_fbdev_fb_alloc
- Add SPDX-License tag
- Remove accidentally added ifdef I915
v2: Add missing forward declarations into intel_fbdev_fb.h
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Revert "FIXME: drm/i915/display: Allow fbdev to allocate stolen memory"drivers/ | +18 | 0 replies | |
| 2/9 | fixup! FIXME: drm/i915/display: Remaining changes to make xe compiledrivers/ | +8 | 0 replies | |
| 3/9 | drm/i915/display: split i915 specific code from intel_fbdevdrivers/ drivers/ drivers/ +1 more | +145 | 0 replies | |
| 4/9 | fixup! drm/xe/display: Implement display supportdrivers/ drivers/ drivers/ | +124 | 0 replies | |
| 5/9 | fixup! drm/xe/display: Implement display supportdrivers/ | +17 | 0 replies | |
| 6/9 | fixup! drm/xe/display: Implement display supportdrivers/ drivers/ | +4 | 0 replies | |
| 7/9 | fixup! drm/xe/display: Implement display supportdrivers/ drivers/ | +13 | 0 replies | |
| 8/9 | fixup! drm/xe/display: Implement display supportdrivers/ | +6 | 0 replies | |
| 9/9 | drm/i915/display: use intel_bo_to_drm_bo in intel_fbdevdrivers/ | +2 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Rodrigo Vivi |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Intel-xe] [PATCH v3 0/9] Intel_fbdev.c refactoring
This patch set is removing all the ifdefs from intel_fbdev.c. This is done by splitting i915 specific code into it's own source file and similar source file is created for Xe for Xe specific code.
Remaining ifdefs are dropped by adding some compatibility headers.
Some of the patches are similar as in set from Maarten Lankhorst <[email protected]>:
https://patchwork.freedesktop.org/series/126200/
Patches 3 and 9 are supposed to be sent to [email protected]. Let's first agree if this is acceptable solution from Xe point of view.
v3:
- Do not check IS_ERR(fb) as returning anyways in intel_fbdev_fb_alloc
- Add SPDX-License tag
- Remove accidentally added ifdef I915
v2: Add missing forward declarations into intel_fbdev_fb.h
Jouni Högander (9):
Revert "FIXME: drm/i915/display: Allow fbdev to allocate stolen
memory"
fixup! FIXME: drm/i915/display: Remaining changes to make xe compile drm/i915/display: split i915 specific code from intel_fbdev fixup! drm/xe/display: Implement display support
fixup! drm/xe/display: Implement display support
fixup! drm/xe/display: Implement display support
fixup! drm/xe/display: Implement display support
fixup! drm/xe/display: Implement display support 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 | 203 +----------------- drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 114 ++++++++++ drivers/gpu/drm/i915/display/intel_fbdev_fb.h | 21 ++ drivers/gpu/drm/xe/Makefile | 1 + .../compat-i915-headers/gem/i915_gem_mman.h | 17 ++ .../compat-i915-headers/gem/i915_gem_object.h | 11 + .../gem/i915_gem_object_frontbuffer.h | 4 +- .../gpu/drm/xe/compat-i915-headers/i915_drv.h | 2 + .../xe/compat-i915-headers/i915_gem_stolen.h | 4 +- .../gpu/drm/xe/compat-i915-headers/i915_vma.h | 6 + drivers/gpu/drm/xe/display/intel_fbdev_fb.c | 102 +++++++++ drivers/gpu/drm/xe/display/intel_fbdev_fb.h | 21 ++ 13 files changed, 311 insertions(+), 198 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 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_mman.h create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h create mode 100644 drivers/gpu/drm/xe/display/intel_fbdev_fb.c create mode 100644 drivers/gpu/drm/xe/display/intel_fbdev_fb.h
Signature · 1 line
2.34.1