Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c274 u32 fbc_ctl; in i8xx_fbc_ctl() local
284 fbc_ctl = FBC_CTL_PERIODIC | in i8xx_fbc_ctl()
289 fbc_ctl |= FBC_CTL_C3_IDLE; /* 945 needs special SR handling */ in i8xx_fbc_ctl()
292 fbc_ctl |= FBC_CTL_FENCENO(fbc_state->fence_id); in i8xx_fbc_ctl()
294 return fbc_ctl; in i8xx_fbc_ctl()
314 u32 fbc_ctl; in i8xx_fbc_deactivate() local
317 fbc_ctl = intel_de_read(display, FBC_CONTROL); in i8xx_fbc_deactivate()
318 if ((fbc_ctl & FBC_CTL_EN) == 0) in i8xx_fbc_deactivate()
321 fbc_ctl &= ~FBC_CTL_EN; in i8xx_fbc_deactivate()
322 intel_de_write(display, FBC_CONTROL, fbc_ctl); in i8xx_fbc_deactivate()
H A Dintel_cursor.c666 u32 cntl = 0, base = 0, pos = 0, fbc_ctl = 0; in i9xx_cursor_update_arm() local
676 fbc_ctl = CUR_FBC_EN | CUR_FBC_HEIGHT(height - 1); in i9xx_cursor_update_arm()
711 plane->cursor.size != fbc_ctl || in i9xx_cursor_update_arm()
714 intel_de_write_dsb(display, dsb, CUR_FBC_CTL(display, pipe), fbc_ctl); in i9xx_cursor_update_arm()
720 plane->cursor.size = fbc_ctl; in i9xx_cursor_update_arm()