Searched refs:crtc_lut (Results 1 – 1 of 1) sorted by relevance
223 struct drm_mode_crtc_lut *crtc_lut = data; in drm_mode_gamma_set_ioctl() local233 crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); in drm_mode_gamma_set_ioctl()241 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_set_ioctl()250 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()252 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl()302 struct drm_mode_crtc_lut *crtc_lut = data; in drm_mode_gamma_get_ioctl() local311 crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); in drm_mode_gamma_get_ioctl()316 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_get_ioctl()320 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_get_ioctl()322 if (copy_to_user((void __user *)(unsigned long)crtc_lut->red, r_base, size)) { in drm_mode_gamma_get_ioctl()[all …]