Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/drm/
Ddrm_mode.h140 __u32 gamma_size; member
171 __u32 gamma_size; member
464 __u32 gamma_size; member
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fb_helper.c213 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
214 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic()
216 for (i = 0; i < crtc->gamma_size; i++) in drm_fb_helper_save_lut_atomic()
228 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
229 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()
231 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic()
990 int gamma_size = 0; in drm_fb_helper_single_fb_probe() local
1056 if (gamma_size == 0) in drm_fb_helper_single_fb_probe()
1057 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
Ddrm_crtc.c2005 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
2397 plane_resp->gamma_size = 0; in drm_mode_getplane()
4749 int gamma_size) in drm_mode_crtc_set_gamma_size() argument
4751 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()
4753 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size()
4756 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()
4803 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl()
4808 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()
4827 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl()
4870 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl()
[all …]
/linux-4.1.27/include/drm/
Ddrm_crtc.h462 uint32_t gamma_size; member
1384 int gamma_size);