drm/i915: abstraction for iosf to compile on all archs
The asm/iosf_mbi.h header is x86-only. Let's make IOSF_MBI kconfig selection conditional to x86 and provide a header with stubs for other architectures. This helps getting i915 available for other architectures in future. Signed-off-by:Mullati, Siva <siva.mullati@intel.com> Reviewed-by:
Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by:
Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211022192756.1228354-1-siva.mullati@intel.com
Showing
- drivers/gpu/drm/i915/Kconfig 1 addition, 1 deletiondrivers/gpu/drm/i915/Kconfig
- drivers/gpu/drm/i915/i915_iosf_mbi.h 42 additions, 0 deletionsdrivers/gpu/drm/i915/i915_iosf_mbi.h
- drivers/gpu/drm/i915/intel_uncore.c 1 addition, 1 deletiondrivers/gpu/drm/i915/intel_uncore.c
- drivers/gpu/drm/i915/vlv_sideband.c 1 addition, 2 deletionsdrivers/gpu/drm/i915/vlv_sideband.c
drivers/gpu/drm/i915/i915_iosf_mbi.h
0 → 100644
Please register or sign in to comment