• Home
  • Raw
  • Download

Lines Matching refs:dpfc_ctl

154 	u32 dpfc_ctl;  in g4x_enable_fbc()  local
156 dpfc_ctl = DPFC_CTL_PLANE(intel_crtc->plane) | DPFC_SR_EN; in g4x_enable_fbc()
158 dpfc_ctl |= DPFC_CTL_LIMIT_2X; in g4x_enable_fbc()
160 dpfc_ctl |= DPFC_CTL_LIMIT_1X; in g4x_enable_fbc()
161 dpfc_ctl |= DPFC_CTL_FENCE_EN | obj->fence_reg; in g4x_enable_fbc()
166 I915_WRITE(DPFC_CONTROL, dpfc_ctl | DPFC_CTL_EN); in g4x_enable_fbc()
174 u32 dpfc_ctl; in g4x_disable_fbc() local
177 dpfc_ctl = I915_READ(DPFC_CONTROL); in g4x_disable_fbc()
178 if (dpfc_ctl & DPFC_CTL_EN) { in g4x_disable_fbc()
179 dpfc_ctl &= ~DPFC_CTL_EN; in g4x_disable_fbc()
180 I915_WRITE(DPFC_CONTROL, dpfc_ctl); in g4x_disable_fbc()
225 u32 dpfc_ctl; in ironlake_enable_fbc() local
227 dpfc_ctl = DPFC_CTL_PLANE(intel_crtc->plane); in ironlake_enable_fbc()
234 dpfc_ctl |= DPFC_CTL_LIMIT_4X; in ironlake_enable_fbc()
237 dpfc_ctl |= DPFC_CTL_LIMIT_2X; in ironlake_enable_fbc()
240 dpfc_ctl |= DPFC_CTL_LIMIT_1X; in ironlake_enable_fbc()
243 dpfc_ctl |= DPFC_CTL_FENCE_EN; in ironlake_enable_fbc()
245 dpfc_ctl |= obj->fence_reg; in ironlake_enable_fbc()
250 I915_WRITE(ILK_DPFC_CONTROL, dpfc_ctl | DPFC_CTL_EN); in ironlake_enable_fbc()
265 u32 dpfc_ctl; in ironlake_disable_fbc() local
268 dpfc_ctl = I915_READ(ILK_DPFC_CONTROL); in ironlake_disable_fbc()
269 if (dpfc_ctl & DPFC_CTL_EN) { in ironlake_disable_fbc()
270 dpfc_ctl &= ~DPFC_CTL_EN; in ironlake_disable_fbc()
271 I915_WRITE(ILK_DPFC_CONTROL, dpfc_ctl); in ironlake_disable_fbc()
291 u32 dpfc_ctl; in gen7_enable_fbc() local
293 dpfc_ctl = IVB_DPFC_CTL_PLANE(intel_crtc->plane); in gen7_enable_fbc()
300 dpfc_ctl |= DPFC_CTL_LIMIT_4X; in gen7_enable_fbc()
303 dpfc_ctl |= DPFC_CTL_LIMIT_2X; in gen7_enable_fbc()
306 dpfc_ctl |= DPFC_CTL_LIMIT_1X; in gen7_enable_fbc()
310 dpfc_ctl |= IVB_DPFC_CTL_FENCE_EN; in gen7_enable_fbc()
313 dpfc_ctl |= FBC_CTL_FALSE_COLOR; in gen7_enable_fbc()
315 I915_WRITE(ILK_DPFC_CONTROL, dpfc_ctl | DPFC_CTL_EN); in gen7_enable_fbc()