Lines Matching refs:crtc
48 static int mgag200_g200ev_pixpllc_atomic_check(struct drm_crtc *crtc, in mgag200_g200ev_pixpllc_atomic_check() argument
55 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_g200ev_pixpllc_atomic_check()
99 static void mgag200_g200ev_pixpllc_atomic_update(struct drm_crtc *crtc, in mgag200_g200ev_pixpllc_atomic_update() argument
102 struct drm_device *dev = crtc->dev; in mgag200_g200ev_pixpllc_atomic_update()
104 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200ev_pixpllc_atomic_update()
184 static void mgag200_g200ev_crtc_helper_atomic_enable(struct drm_crtc *crtc, in mgag200_g200ev_crtc_helper_atomic_enable() argument
187 struct drm_device *dev = crtc->dev; in mgag200_g200ev_crtc_helper_atomic_enable()
190 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200ev_crtc_helper_atomic_enable()
202 funcs->pixpllc_atomic_update(crtc, old_state); in mgag200_g200ev_crtc_helper_atomic_enable()
245 struct drm_crtc *crtc = &mdev->crtc; in mgag200_g200ev_pipeline_init() local
264 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in mgag200_g200ev_pipeline_init()
270 drm_crtc_helper_add(crtc, &mgag200_g200ev_crtc_helper_funcs); in mgag200_g200ev_pipeline_init()
273 drm_mode_crtc_set_gamma_size(crtc, MGAG200_LUT_SIZE); in mgag200_g200ev_pipeline_init()
274 drm_crtc_enable_color_mgmt(crtc, 0, false, MGAG200_LUT_SIZE); in mgag200_g200ev_pipeline_init()
276 encoder->possible_crtcs = drm_crtc_mask(crtc); in mgag200_g200ev_pipeline_init()