mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/i915: Switch to per-crtc vblank vfuncs
Switch from the driver-wide vblank vfuncs to the per-crtc ones so that we don't have so many platform specific vfuncs in the driver struct. We still need to do something about the rest fo the irq vfuncs... v2: s/INTEL_GEN>=3/IS_GEN3/ Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190619170842.20579-3-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -114,4 +114,18 @@ void gen11_reset_guc_interrupts(struct drm_i915_private *i915);
|
||||
void gen11_enable_guc_interrupts(struct drm_i915_private *i915);
|
||||
void gen11_disable_guc_interrupts(struct drm_i915_private *i915);
|
||||
|
||||
u32 i915_get_vblank_counter(struct drm_crtc *crtc);
|
||||
u32 g4x_get_vblank_counter(struct drm_crtc *crtc);
|
||||
|
||||
int i8xx_enable_vblank(struct drm_crtc *crtc);
|
||||
int i945gm_enable_vblank(struct drm_crtc *crtc);
|
||||
int i965_enable_vblank(struct drm_crtc *crtc);
|
||||
int ilk_enable_vblank(struct drm_crtc *crtc);
|
||||
int bdw_enable_vblank(struct drm_crtc *crtc);
|
||||
void i8xx_disable_vblank(struct drm_crtc *crtc);
|
||||
void i945gm_disable_vblank(struct drm_crtc *crtc);
|
||||
void i965_disable_vblank(struct drm_crtc *crtc);
|
||||
void ilk_disable_vblank(struct drm_crtc *crtc);
|
||||
void bdw_disable_vblank(struct drm_crtc *crtc);
|
||||
|
||||
#endif /* __I915_IRQ_H__ */
|
||||
|
||||
Reference in New Issue
Block a user