diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-11-20 15:03:35 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-12-16 19:09:38 +0300 |
commit | 399f7b67161eaafa3df3bea22e0663fafa3212a1 (patch) | |
tree | 7d907c7e09ce3d6b553f53a3978ccb508f9eb9a1 /tools/perf/scripts/python/sched-migration.py | |
parent | adceb416888daf0c53048d1cc5411527dcc8d24c (diff) | |
download | linux-399f7b67161eaafa3df3bea22e0663fafa3212a1.tar.xz |
drm/i915/uncore: add to_intel_uncore() and use it
Add to_intel_uncore() function to avoid the inclusion of i915_drv.h from
intel_de.h. This reveals a number of implicit dependencies on i915_drv.h
that need to be added.
For now, to_intel_uncore() can be an inline function, with all the
includes in compat intel_uncore.h, as long as i915_drv.h isn't
included. The implicit dependencies on i915_drv.h is a problem in
display code, but the same is not true for xe_device.h etc.
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/377e2b400d126776224fc49874ed9cb03ac3123c.1732104170.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions