Lines Matching refs:crtc
59 struct drm_crtc *crtc; member
72 struct drm_crtc *crtc = sr_data->crtc; in drm_self_refresh_helper_entry_work() local
73 struct drm_device *dev = crtc->dev; in drm_self_refresh_helper_entry_work()
92 crtc_state = drm_atomic_get_crtc_state(state, crtc); in drm_self_refresh_helper_entry_work()
101 ret = drm_atomic_add_affected_connectors(state, crtc); in drm_self_refresh_helper_entry_work()
149 struct drm_crtc *crtc; in drm_self_refresh_helper_update_avg_times() local
153 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in drm_self_refresh_helper_update_avg_times()
155 struct drm_self_refresh_data *sr_data = crtc->self_refresh_data; in drm_self_refresh_helper_update_avg_times()
189 struct drm_crtc *crtc; in drm_self_refresh_helper_alter_state() local
194 for_each_old_crtc_in_state(state, crtc, crtc_state, i) { in drm_self_refresh_helper_alter_state()
203 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in drm_self_refresh_helper_alter_state()
211 sr_data = crtc->self_refresh_data; in drm_self_refresh_helper_alter_state()
232 int drm_self_refresh_helper_init(struct drm_crtc *crtc) in drm_self_refresh_helper_init() argument
234 struct drm_self_refresh_data *sr_data = crtc->self_refresh_data; in drm_self_refresh_helper_init()
246 sr_data->crtc = crtc; in drm_self_refresh_helper_init()
259 crtc->self_refresh_data = sr_data; in drm_self_refresh_helper_init()
268 void drm_self_refresh_helper_cleanup(struct drm_crtc *crtc) in drm_self_refresh_helper_cleanup() argument
270 struct drm_self_refresh_data *sr_data = crtc->self_refresh_data; in drm_self_refresh_helper_cleanup()
276 crtc->self_refresh_data = NULL; in drm_self_refresh_helper_cleanup()