diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2026-08-14 19:17:27 +0200 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-08-14 14:55:35 -0400 |
| commit | 4fb32222c0a5ef8d148454c3ee77cab64e65e3ab (patch) | |
| tree | c9013524231d9474bf68e3c35f6b088381e8e971 /scripts/Makefile.thinlto | |
| parent | 9736ca77f060472d196c118c5f14943b4606f6d3 (diff) | |
| download | linux-next-4fb32222c0a5ef8d148454c3ee77cab64e65e3ab.tar.gz linux-next-4fb32222c0a5ef8d148454c3ee77cab64e65e3ab.zip | |
drm/xe: Introduce xe_any helpers
In upcoming patches we want to define macros that will work with
either xe_device or xe_tile or xe_gt pointers. To make them work
and to allow compiler optimizations, introduce set of helpers
that will return either expected pointer type or NULL or make
necessary conversions to/from the struct xe/device/pci_dev.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Link: https://patch.msgid.link/20260814171801.13347-2-michal.wajdeczko@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
