Lines Matching refs:crtc
114 static int mgag200_g200se_00_pixpllc_atomic_check(struct drm_crtc *crtc, in mgag200_g200se_00_pixpllc_atomic_check() argument
121 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_g200se_00_pixpllc_atomic_check()
170 static void mgag200_g200se_00_pixpllc_atomic_update(struct drm_crtc *crtc, in mgag200_g200se_00_pixpllc_atomic_update() argument
173 struct drm_device *dev = crtc->dev; in mgag200_g200se_00_pixpllc_atomic_update()
175 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200se_00_pixpllc_atomic_update()
197 static int mgag200_g200se_04_pixpllc_atomic_check(struct drm_crtc *crtc, in mgag200_g200se_04_pixpllc_atomic_check() argument
205 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_g200se_04_pixpllc_atomic_check()
271 static void mgag200_g200se_04_pixpllc_atomic_update(struct drm_crtc *crtc, in mgag200_g200se_04_pixpllc_atomic_update() argument
274 struct drm_device *dev = crtc->dev; in mgag200_g200se_04_pixpllc_atomic_update()
276 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200se_04_pixpllc_atomic_update()
315 static void mgag200_g200se_crtc_helper_atomic_enable(struct drm_crtc *crtc, in mgag200_g200se_crtc_helper_atomic_enable() argument
318 struct drm_device *dev = crtc->dev; in mgag200_g200se_crtc_helper_atomic_enable()
321 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200se_crtc_helper_atomic_enable()
333 funcs->pixpllc_atomic_update(crtc, old_state); in mgag200_g200se_crtc_helper_atomic_enable()
376 struct drm_crtc *crtc = &mdev->crtc; in mgag200_g200se_pipeline_init() local
395 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in mgag200_g200se_pipeline_init()
401 drm_crtc_helper_add(crtc, &mgag200_g200se_crtc_helper_funcs); in mgag200_g200se_pipeline_init()
404 drm_mode_crtc_set_gamma_size(crtc, MGAG200_LUT_SIZE); in mgag200_g200se_pipeline_init()
405 drm_crtc_enable_color_mgmt(crtc, 0, false, MGAG200_LUT_SIZE); in mgag200_g200se_pipeline_init()
407 encoder->possible_crtcs = drm_crtc_mask(crtc); in mgag200_g200se_pipeline_init()