drm/i915: static inline for dummy crc functions
Also use #ifdef to keep consistent with all other such cases. Cc: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -1225,7 +1225,7 @@ static void ivb_pipe_crc_update(struct drm_device *dev, enum pipe pipe)
|
||||
wake_up_interruptible(&pipe_crc->wq);
|
||||
}
|
||||
#else
|
||||
static void ivb_pipe_crc_update(struct drm_device *dev, int pipe) {}
|
||||
static inline void ivb_pipe_crc_update(struct drm_device *dev, int pipe) {}
|
||||
#endif
|
||||
|
||||
/* The RPS events need forcewake, so we add them to a work queue and mask their
|
||||
|
Reference in New Issue
Block a user