Home
last modified time | relevance | path

Searched refs:writeback_job (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_writeback.c298 if (!conn_state->writeback_job) { in drm_writeback_set_fb()
299 conn_state->writeback_job = in drm_writeback_set_fb()
300 kzalloc(sizeof(*conn_state->writeback_job), GFP_KERNEL); in drm_writeback_set_fb()
301 if (!conn_state->writeback_job) in drm_writeback_set_fb()
304 conn_state->writeback_job->connector = in drm_writeback_set_fb()
308 drm_framebuffer_assign(&conn_state->writeback_job->fb, fb); in drm_writeback_set_fb()
355 job = conn_state->writeback_job; in drm_writeback_queue_job()
356 conn_state->writeback_job = NULL; in drm_writeback_queue_job()
H A Ddrm_atomic.c467 struct drm_writeback_job *writeback_job = state->writeback_job; in drm_atomic_connector_check() local
474 if ((connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK) || !writeback_job) in drm_atomic_connector_check()
477 if (writeback_job->fb && !state->crtc) { in drm_atomic_connector_check()
488 if (writeback_job->fb && !crtc_state->active) { in drm_atomic_connector_check()
496 if (!writeback_job->fb) { in drm_atomic_connector_check()
497 if (writeback_job->out_fence) { in drm_atomic_connector_check()
504 drm_writeback_cleanup_job(writeback_job); in drm_atomic_connector_check()
505 state->writeback_job = NULL; in drm_atomic_connector_check()
1146 if (state->writeback_job && state->writeback_job->fb) in drm_atomic_connector_print_state()
1147 drm_printf(p, "\tfb=%d\n", state->writeback_job->fb->base.id); in drm_atomic_connector_print_state()
H A Ddrm_atomic_state_helper.c629 state->writeback_job = NULL; in __drm_atomic_helper_connector_duplicate_state()
673 if (state->writeback_job) in __drm_atomic_helper_connector_destroy_state()
674 drm_writeback_cleanup_job(state->writeback_job); in __drm_atomic_helper_connector_destroy_state()
H A Ddrm_atomic_helper.c812 struct drm_writeback_job *wb_job = conn_state->writeback_job; in drm_atomic_helper_check_wb_encoder_state()
1438 if (new_conn_state->writeback_job && new_conn_state->writeback_job->fb) { in drm_atomic_helper_commit_writebacks()
2584 if (!new_conn_state->writeback_job) in drm_atomic_helper_prepare_planes()
2587 ret = drm_writeback_prepare_job(new_conn_state->writeback_job); in drm_atomic_helper_prepare_planes()
H A Ddrm_atomic_uapi.c1233 if (!conn_state->writeback_job) in prepare_signaling()
1261 conn_state->writeback_job->out_fence = fence; in prepare_signaling()
/openbmc/linux/drivers/gpu/drm/vkms/
H A Dvkms_writeback.c41 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in vkms_wb_encoder_atomic_check()
44 fb = conn_state->writeback_job->fb; in vkms_wb_encoder_atomic_check()
129 struct drm_framebuffer *fb = connector_state->writeback_job->fb; in vkms_wb_atomic_commit()
141 active_wb = conn_state->writeback_job->priv; in vkms_wb_atomic_commit()
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_writeback.c152 if (!conn_state->writeback_job) in rcar_du_wb_enc_atomic_check()
155 fb = conn_state->writeback_job->fb; in rcar_du_wb_enc_atomic_check()
226 if (!state || !state->writeback_job) in rcar_du_writeback_setup()
229 fb = state->writeback_job->fb; in rcar_du_writeback_setup()
230 rjob = state->writeback_job->priv; in rcar_du_writeback_setup()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_wb_connector.c17 struct drm_framebuffer *fb = conn_st->writeback_job->fb; in komeda_wb_init_data_flow()
42 struct drm_writeback_job *writeback_job = conn_st->writeback_job; in komeda_wb_encoder_atomic_check() local
47 if (!writeback_job) in komeda_wb_encoder_atomic_check()
H A Dkomeda_crtc.c270 if (conn_st && conn_st->writeback_job) in komeda_crtc_do_flush()
H A Dkomeda_pipeline_state.c403 struct komeda_fb *kfb = to_kfb(conn_st->writeback_job->fb); in komeda_wb_layer_validate()
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_mw.c139 if (!conn_state->writeback_job) in malidp_mw_encoder_atomic_check()
142 fb = conn_state->writeback_job->fb; in malidp_mw_encoder_atomic_check()
253 if (conn_state->writeback_job) { in malidp_mw_atomic_commit()
254 struct drm_framebuffer *fb = conn_state->writeback_job->fb; in malidp_mw_atomic_commit()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_txp.c252 if (!conn_state->writeback_job) in vc4_txp_connector_atomic_check()
257 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_check()
296 if (WARN_ON(!conn_state->writeback_job)) in vc4_txp_connector_atomic_commit()
300 fb = conn_state->writeback_job->fb; in vc4_txp_connector_atomic_commit()
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder_phys_wb.c256 if (!conn_state->writeback_job || !conn_state->writeback_job->fb) in dpu_encoder_phys_wb_atomic_check()
259 fb = conn_state->writeback_job->fb; in dpu_encoder_phys_wb_atomic_check()
/openbmc/linux/include/drm/
H A Ddrm_connector.h1000 struct drm_writeback_job *writeback_job; member
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c470 struct komeda_fb *kfb = to_kfb(conn_st->writeback_job->fb); in d71_wb_layer_update()