Searched refs:fbc_ctl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_fbc.c47 u32 fbc_ctl; i8xx_fbc_disable() local
52 fbc_ctl = I915_READ(FBC_CONTROL); i8xx_fbc_disable()
53 if ((fbc_ctl & FBC_CTL_EN) == 0) i8xx_fbc_disable()
56 fbc_ctl &= ~FBC_CTL_EN; i8xx_fbc_disable()
57 I915_WRITE(FBC_CONTROL, fbc_ctl); i8xx_fbc_disable()
77 u32 fbc_ctl; i8xx_fbc_enable() local
107 fbc_ctl = I915_READ(FBC_CONTROL); i8xx_fbc_enable()
108 fbc_ctl &= 0x3fff << FBC_CTL_INTERVAL_SHIFT; i8xx_fbc_enable()
109 fbc_ctl |= FBC_CTL_EN | FBC_CTL_PERIODIC; i8xx_fbc_enable()
111 fbc_ctl |= FBC_CTL_C3_IDLE; /* 945 needs special SR handling */ i8xx_fbc_enable()
112 fbc_ctl |= (cfb_pitch & 0xff) << FBC_CTL_STRIDE_SHIFT; i8xx_fbc_enable()
113 fbc_ctl |= obj->fence_reg; i8xx_fbc_enable()
114 I915_WRITE(FBC_CONTROL, fbc_ctl); i8xx_fbc_enable()

Completed in 46 milliseconds