Lines Matching refs:crtc
40 static int mgag200_g200wb_pixpllc_atomic_check(struct drm_crtc *crtc, in mgag200_g200wb_pixpllc_atomic_check() argument
47 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_g200wb_pixpllc_atomic_check()
91 void mgag200_g200wb_pixpllc_atomic_update(struct drm_crtc *crtc, in mgag200_g200wb_pixpllc_atomic_update() argument
94 struct drm_device *dev = crtc->dev; in mgag200_g200wb_pixpllc_atomic_update()
96 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200wb_pixpllc_atomic_update()
248 struct drm_crtc *crtc = &mdev->crtc; in mgag200_g200wb_pipeline_init() local
267 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in mgag200_g200wb_pipeline_init()
273 drm_crtc_helper_add(crtc, &mgag200_g200wb_crtc_helper_funcs); in mgag200_g200wb_pipeline_init()
276 drm_mode_crtc_set_gamma_size(crtc, MGAG200_LUT_SIZE); in mgag200_g200wb_pipeline_init()
277 drm_crtc_enable_color_mgmt(crtc, 0, false, MGAG200_LUT_SIZE); in mgag200_g200wb_pipeline_init()
279 encoder->possible_crtcs = drm_crtc_mask(crtc); in mgag200_g200wb_pipeline_init()