Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c231 u32 fbc_ctl; in i8xx_fbc_ctl() local
241 fbc_ctl = FBC_CTL_PERIODIC | in i8xx_fbc_ctl()
246 fbc_ctl |= FBC_CTL_C3_IDLE; /* 945 needs special SR handling */ in i8xx_fbc_ctl()
249 fbc_ctl |= FBC_CTL_FENCENO(fbc_state->fence_id); in i8xx_fbc_ctl()
251 return fbc_ctl; in i8xx_fbc_ctl()
271 u32 fbc_ctl; in i8xx_fbc_deactivate() local
274 fbc_ctl = intel_de_read(i915, FBC_CONTROL); in i8xx_fbc_deactivate()
275 if ((fbc_ctl & FBC_CTL_EN) == 0) in i8xx_fbc_deactivate()
278 fbc_ctl &= ~FBC_CTL_EN; in i8xx_fbc_deactivate()
279 intel_de_write(i915, FBC_CONTROL, fbc_ctl); in i8xx_fbc_deactivate()
H A Dintel_cursor.c494 u32 cntl = 0, base = 0, pos = 0, fbc_ctl = 0; in i9xx_cursor_update_arm() local
504 fbc_ctl = CUR_FBC_EN | CUR_FBC_HEIGHT(height - 1); in i9xx_cursor_update_arm()
540 plane->cursor.size != fbc_ctl || in i9xx_cursor_update_arm()
544 fbc_ctl); in i9xx_cursor_update_arm()
550 plane->cursor.size = fbc_ctl; in i9xx_cursor_update_arm()