Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/xe/rps: build RPS as part of xe

Reduce the conditional compilation in i915 by building
intel_display_rps.c as part of the xe module. This doesn't actually
enable RPS on xe, because there's no parent interface implementation on
xe side, but it's a step in the right direction.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/93df0bb727fce14aa9a542dbd2c0826a0fa0a16f.1763370931.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>

+1 -21
-21
drivers/gpu/drm/i915/display/intel_display_rps.h
··· 13 13 struct intel_atomic_state; 14 14 struct intel_display; 15 15 16 - #ifdef I915 17 16 void intel_display_rps_boost_after_vblank(struct drm_crtc *crtc, 18 17 struct dma_fence *fence); 19 18 void intel_display_rps_mark_interactive(struct intel_display *display, ··· 21 22 void ilk_display_rps_enable(struct intel_display *display); 22 23 void ilk_display_rps_disable(struct intel_display *display); 23 24 void ilk_display_rps_irq_handler(struct intel_display *display); 24 - #else 25 - static inline void intel_display_rps_boost_after_vblank(struct drm_crtc *crtc, 26 - struct dma_fence *fence) 27 - { 28 - } 29 - static inline void intel_display_rps_mark_interactive(struct intel_display *display, 30 - struct intel_atomic_state *state, 31 - bool interactive) 32 - { 33 - } 34 - static inline void ilk_display_rps_enable(struct intel_display *display) 35 - { 36 - } 37 - static inline void ilk_display_rps_disable(struct intel_display *display) 38 - { 39 - } 40 - static inline void ilk_display_rps_irq_handler(struct intel_display *display) 41 - { 42 - } 43 - #endif 44 25 45 26 #endif /* __INTEL_DISPLAY_RPS_H__ */
+1
drivers/gpu/drm/xe/Makefile
··· 255 255 i915-display/intel_display_power_map.o \ 256 256 i915-display/intel_display_power_well.o \ 257 257 i915-display/intel_display_rpm.o \ 258 + i915-display/intel_display_rps.o \ 258 259 i915-display/intel_display_trace.o \ 259 260 i915-display/intel_display_utils.o \ 260 261 i915-display/intel_display_wa.o \