intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] drm/xe & drm/i915: drvdata usage changes
@ 2024-07-29 14:30 Jani Nikula
  2024-07-29 14:30 ` [PATCH 01/10] drm/xe: use pdev_to_xe_device() instead of pci_get_drvdata() directly Jani Nikula
                   ` (17 more replies)
  0 siblings, 18 replies; 39+ messages in thread
From: Jani Nikula @ 2024-07-29 14:30 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

Fix and cleanup drvdata usage, and switch to storing struct drm_device
instead of driver specific pointers in drvdata for the benefit of
display code.

BR,
Jani.

Jani Nikula (10):
  drm/xe: use pdev_to_xe_device() instead of pci_get_drvdata() directly
  drm/xe: add kdev_to_xe_device() helper and use it
  drm/xe/tests: fix drvdata usage
  drm/i915: use pdev_to_i915() instead of pci_get_drvdata() directly
  drm/i915 & drm/xe: save struct drm_device to drvdata
  drm/i915: support struct device and pci_dev in to_intel_display()
  drm/i915/audio: migrate away from kdev_to_i915()
  drm/i915/hdcp: migrate away from kdev_to_i915() in bind/unbind
  drm/i915/hdcp: migrate away from kdev_to_i915() in GSC messaging
  drm/xe/display: remove unused compat kdev_to_i915() and pdev_to_i915()

 drivers/gpu/drm/i915/display/intel_audio.c    | 34 ++++++----
 .../drm/i915/display/intel_display_types.h    |  6 ++
 drivers/gpu/drm/i915/display/intel_hdcp.c     | 10 +--
 .../drm/i915/display/intel_hdcp_gsc_message.c | 67 +++++++++++++------
 drivers/gpu/drm/i915/i915_driver.c            |  2 +-
 drivers/gpu/drm/i915/i915_drv.h               |  8 ++-
 drivers/gpu/drm/i915/i915_pci.c               |  4 +-
 .../gpu/drm/i915/selftests/mock_gem_device.c  |  2 +-
 .../gpu/drm/xe/compat-i915-headers/i915_drv.h |  6 --
 drivers/gpu/drm/xe/tests/xe_pci.c             |  6 +-
 drivers/gpu/drm/xe/xe_device.h                | 11 ++-
 drivers/gpu/drm/xe/xe_gsc_proxy.c             |  9 +--
 drivers/gpu/drm/xe/xe_pci.c                   |  4 +-
 13 files changed, 105 insertions(+), 64 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-08-07 19:03 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 14:30 [PATCH 00/10] drm/xe & drm/i915: drvdata usage changes Jani Nikula
2024-07-29 14:30 ` [PATCH 01/10] drm/xe: use pdev_to_xe_device() instead of pci_get_drvdata() directly Jani Nikula
2024-08-01 16:31   ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 02/10] drm/xe: add kdev_to_xe_device() helper and use it Jani Nikula
2024-08-01 16:41   ` Gustavo Sousa
2024-08-06 12:10     ` Jani Nikula
2024-07-29 14:30 ` [PATCH 03/10] drm/xe/tests: fix drvdata usage Jani Nikula
2024-08-01 16:57   ` Gustavo Sousa
2024-08-06 12:13     ` Jani Nikula
2024-08-06 12:14       ` Jani Nikula
2024-08-07 16:52         ` Lucas De Marchi
2024-07-29 14:30 ` [PATCH 04/10] drm/i915: use pdev_to_i915() instead of pci_get_drvdata() directly Jani Nikula
2024-08-01 17:03   ` Gustavo Sousa
2024-08-01 17:27     ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 05/10] drm/i915 & drm/xe: save struct drm_device to drvdata Jani Nikula
2024-08-01 17:38   ` Gustavo Sousa
2024-08-02  8:18     ` Jani Nikula
2024-08-02 12:08       ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 06/10] drm/i915: support struct device and pci_dev in to_intel_display() Jani Nikula
2024-08-01 17:46   ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 07/10] drm/i915/audio: migrate away from kdev_to_i915() Jani Nikula
2024-08-01 18:03   ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 08/10] drm/i915/hdcp: migrate away from kdev_to_i915() in bind/unbind Jani Nikula
2024-08-01 18:03   ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 09/10] drm/i915/hdcp: migrate away from kdev_to_i915() in GSC messaging Jani Nikula
2024-08-01 18:09   ` Gustavo Sousa
2024-08-06 14:03     ` Jani Nikula
2024-08-06 14:14       ` Jani Nikula
2024-08-07 19:03         ` Gustavo Sousa
2024-07-29 14:30 ` [PATCH 10/10] drm/xe/display: remove unused compat kdev_to_i915() and pdev_to_i915() Jani Nikula
2024-08-01 18:11   ` Gustavo Sousa
2024-07-29 14:43 ` ✓ CI.Patch_applied: success for drm/xe & drm/i915: drvdata usage changes Patchwork
2024-07-29 14:44 ` ✓ CI.checkpatch: " Patchwork
2024-07-29 14:45 ` ✓ CI.KUnit: " Patchwork
2024-07-29 14:57 ` ✓ CI.Build: " Patchwork
2024-07-29 14:59 ` ✓ CI.Hooks: " Patchwork
2024-07-29 15:00 ` ✗ CI.checksparse: warning " Patchwork
2024-07-29 15:20 ` ✓ CI.BAT: success " Patchwork
2024-07-29 19:51 ` ✗ CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).