Home
last modified time | relevance | path

Searched refs:crtc_lut (Results 1 – 1 of 1) sorted by relevance

/drivers/gpu/drm/
Ddrm_color_mgmt.c362 struct drm_mode_crtc_lut *crtc_lut = data; in drm_mode_gamma_set_ioctl() local
372 crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); in drm_mode_gamma_set_ioctl()
380 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_set_ioctl()
385 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
387 if (copy_from_user(r_base, (void __user *)(unsigned long)crtc_lut->red, size)) { in drm_mode_gamma_set_ioctl()
393 if (copy_from_user(g_base, (void __user *)(unsigned long)crtc_lut->green, size)) { in drm_mode_gamma_set_ioctl()
399 if (copy_from_user(b_base, (void __user *)(unsigned long)crtc_lut->blue, size)) { in drm_mode_gamma_set_ioctl()
431 struct drm_mode_crtc_lut *crtc_lut = data; in drm_mode_gamma_get_ioctl() local
440 crtc = drm_crtc_find(dev, file_priv, crtc_lut->crtc_id); in drm_mode_gamma_get_ioctl()
445 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_get_ioctl()
[all …]