Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH 0/4] drm/xe/display: reuse soc/ code from i915
@ 2023-07-04 15:32 Jani Nikula
  2023-07-04 15:32 ` [Intel-xe] [PATCH 1/4] drm/i915/dram: replace __raw_uncore_read32() with intel_uncore_read_fw() Jani Nikula
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Jani Nikula @ 2023-07-04 15:32 UTC (permalink / raw)
  To: intel-xe; +Cc: jani.nikula, lucas.demarchi

Remove a bunch of duplication from xe by reusing the soc code from i915.

BR,
Jani.


Jani Nikula (4):
  drm/i915/dram: replace __raw_uncore_read32() with
    intel_uncore_read_fw()
  drm/xe/mmio: add xe_mmio_read16()
  fixup! drm/xe/display: Implement display support
  fixup! drm/xe/display: Implement display support

 drivers/gpu/drm/i915/soc/intel_dram.c         |   2 +-
 drivers/gpu/drm/xe/Makefile                   |  14 +-
 .../gpu/drm/xe/compat-i915-headers/i915_drv.h |   2 +-
 .../drm/xe/compat-i915-headers/intel_uncore.h |   8 +
 .../xe/compat-i915-headers/soc/intel_dram.h   |   1 +
 .../xe/compat-i915-headers/soc/intel_pch.h    |   1 +
 drivers/gpu/drm/xe/display/ext/intel_dram.c   | 496 ------------------
 drivers/gpu/drm/xe/display/ext/intel_dram.h   |  14 -
 drivers/gpu/drm/xe/display/ext/intel_pch.c    | 157 ------
 drivers/gpu/drm/xe/display/ext/intel_pch.h    |  91 ----
 drivers/gpu/drm/xe/xe_device_types.h          |   9 +-
 drivers/gpu/drm/xe/xe_display.c               |   2 +-
 drivers/gpu/drm/xe/xe_mmio.h                  |  10 +
 13 files changed, 42 insertions(+), 765 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_dram.h
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_pch.h
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_dram.c
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_dram.h
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_pch.c
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_pch.h

-- 
2.39.2


^ permalink raw reply	[flat|nested] 16+ messages in thread
* [Intel-xe] [PATCH 0/4] Stop tracking Tile4 support
@ 2023-08-17 23:04 Matt Roper
  2023-08-17 23:04 ` [Intel-xe] [PATCH 3/4] fixup! drm/xe/display: Implement display support Matt Roper
  0 siblings, 1 reply; 16+ messages in thread
From: Matt Roper @ 2023-08-17 23:04 UTC (permalink / raw)
  To: intel-xe; +Cc: matthew.d.roper

Now that i915 has moved the Tile4 feature flag into the display-specific
code, it's no longer necessary to track this feature at the Xe driver
level.  Cherry-pick a couple i915 patches that made the handling
self-contained within display, and then remove Xe's own tracking.

Matt Roper (4):
  drm/i915/selftest: Simplify Y-major tiling in blit selftest
  drm/i915: Eliminate has_4tile feature flag
  fixup! drm/xe/display: Implement display support
  drm/xe: Stop tracking 4-tile support

 .../drm/i915/display/intel_display_device.h   |  1 +
 .../i915/gem/selftests/i915_gem_client_blt.c  | 39 +++++++------------
 drivers/gpu/drm/i915/i915_drv.h               |  1 -
 drivers/gpu/drm/i915/i915_pci.c               |  1 -
 drivers/gpu/drm/i915/intel_device_info.h      |  1 -
 .../gpu/drm/xe/compat-i915-headers/i915_drv.h |  1 -
 drivers/gpu/drm/xe/xe_device_types.h          |  2 -
 drivers/gpu/drm/xe/xe_pci.c                   | 10 +----
 8 files changed, 17 insertions(+), 39 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-08-18 21:57 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04 15:32 [Intel-xe] [PATCH 0/4] drm/xe/display: reuse soc/ code from i915 Jani Nikula
2023-07-04 15:32 ` [Intel-xe] [PATCH 1/4] drm/i915/dram: replace __raw_uncore_read32() with intel_uncore_read_fw() Jani Nikula
2023-07-04 15:32 ` [Intel-xe] [PATCH 2/4] drm/xe/mmio: add xe_mmio_read16() Jani Nikula
2023-07-04 18:34   ` Lucas De Marchi
2023-07-04 15:32 ` [Intel-xe] [PATCH 3/4] fixup! drm/xe/display: Implement display support Jani Nikula
2023-07-04 15:32 ` [Intel-xe] [PATCH 4/4] " Jani Nikula
2023-07-04 17:28 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe/display: reuse soc/ code from i915 Patchwork
2023-07-04 17:28 ` [Intel-xe] ✗ CI.checkpatch: warning " Patchwork
2023-07-04 17:29 ` [Intel-xe] ✓ CI.KUnit: success " Patchwork
2023-07-04 17:33 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-07-04 17:33 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-07-04 17:35 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-07-04 17:54 ` [Intel-xe] [PATCH 0/4] " Lucas De Marchi
2023-07-04 18:20 ` [Intel-xe] ○ CI.BAT: info for " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-08-17 23:04 [Intel-xe] [PATCH 0/4] Stop tracking Tile4 support Matt Roper
2023-08-17 23:04 ` [Intel-xe] [PATCH 3/4] fixup! drm/xe/display: Implement display support Matt Roper
2023-08-18 21:56   ` Lucas De Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox