Searched refs:gamma_size (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/include/drm/ |
D | drm_mode.h | 118 __u32 gamma_size; member 306 __u32 gamma_size; member
|
D | drm_crtc.h | 369 uint32_t gamma_size; member 733 int gamma_size);
|
/linux-2.6.39/drivers/gpu/drm/ |
D | drm_fb_helper.c | 251 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 252 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 254 for (i = 0; i < crtc->gamma_size; i++) in drm_fb_helper_save_lut_atomic() 263 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 264 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 266 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic() 888 int gamma_size = 0; in drm_fb_helper_single_fb_probe() local 938 if (gamma_size == 0) in drm_fb_helper_single_fb_probe() 939 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
|
D | drm_crtc.c | 1265 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc() 2533 int gamma_size) in drm_mode_crtc_set_gamma_size() argument 2535 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size() 2537 crtc->gamma_store = kzalloc(gamma_size * sizeof(uint16_t) * 3, GFP_KERNEL); in drm_mode_crtc_set_gamma_size() 2539 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size() 2569 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl() 2574 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl() 2593 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 2623 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl() 2628 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_get_ioctl()
|