Lines Matching refs:crtc
64 static int mgag200_g200_pixpllc_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *new_st… in mgag200_g200_pixpllc_atomic_check() argument
72 struct drm_device *dev = crtc->dev; in mgag200_g200_pixpllc_atomic_check()
74 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_g200_pixpllc_atomic_check()
139 static void mgag200_g200_pixpllc_atomic_update(struct drm_crtc *crtc, in mgag200_g200_pixpllc_atomic_update() argument
142 struct drm_device *dev = crtc->dev; in mgag200_g200_pixpllc_atomic_update()
144 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_g200_pixpllc_atomic_update()
202 struct drm_crtc *crtc = &mdev->crtc; in mgag200_g200_pipeline_init() local
221 ret = drm_crtc_init_with_planes(dev, crtc, primary_plane, NULL, in mgag200_g200_pipeline_init()
227 drm_crtc_helper_add(crtc, &mgag200_g200_crtc_helper_funcs); in mgag200_g200_pipeline_init()
230 drm_mode_crtc_set_gamma_size(crtc, MGAG200_LUT_SIZE); in mgag200_g200_pipeline_init()
231 drm_crtc_enable_color_mgmt(crtc, 0, false, MGAG200_LUT_SIZE); in mgag200_g200_pipeline_init()
233 encoder->possible_crtcs = drm_crtc_mask(crtc); in mgag200_g200_pipeline_init()