Lines Matching refs:conn_state
243 int drm_writeback_set_fb(struct drm_connector_state *conn_state, in drm_writeback_set_fb() argument
246 WARN_ON(conn_state->connector->connector_type != DRM_MODE_CONNECTOR_WRITEBACK); in drm_writeback_set_fb()
248 if (!conn_state->writeback_job) { in drm_writeback_set_fb()
249 conn_state->writeback_job = in drm_writeback_set_fb()
250 kzalloc(sizeof(*conn_state->writeback_job), GFP_KERNEL); in drm_writeback_set_fb()
251 if (!conn_state->writeback_job) in drm_writeback_set_fb()
254 conn_state->writeback_job->connector = in drm_writeback_set_fb()
255 drm_connector_to_writeback(conn_state->connector); in drm_writeback_set_fb()
258 drm_framebuffer_assign(&conn_state->writeback_job->fb, fb); in drm_writeback_set_fb()
300 struct drm_connector_state *conn_state) in drm_writeback_queue_job() argument
305 job = conn_state->writeback_job; in drm_writeback_queue_job()
306 conn_state->writeback_job = NULL; in drm_writeback_queue_job()