Searched refs:gamma_size (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/include/uapi/drm/ |
D | drm_mode.h | 151 __u32 gamma_size; member 186 __u32 gamma_size; member 482 __u32 gamma_size; member
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_fb_helper.c | 237 g_base = r_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 238 b_base = g_base + crtc->gamma_size; in drm_fb_helper_save_lut_atomic() 240 for (i = 0; i < crtc->gamma_size; i++) in drm_fb_helper_save_lut_atomic() 252 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 253 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 255 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_fb_helper_restore_lut_atomic() 1345 int gamma_size = 0; in drm_fb_helper_single_fb_probe() local 1411 if (gamma_size == 0) in drm_fb_helper_single_fb_probe() 1412 gamma_size = fb_helper->crtc_info[i].mode_set.crtc->gamma_size; in drm_fb_helper_single_fb_probe()
|
D | drm_crtc.c | 1884 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc() 2276 plane_resp->gamma_size = 0; in drm_mode_getplane() 5059 int gamma_size) in drm_mode_crtc_set_gamma_size() argument 5061 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size() 5063 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size() 5066 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size() 5113 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_set_ioctl() 5118 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl() 5137 crtc->funcs->gamma_set(crtc, r_base, g_base, b_base, 0, crtc->gamma_size); in drm_mode_gamma_set_ioctl() 5180 if (crtc_lut->gamma_size != crtc->gamma_size) { in drm_mode_gamma_get_ioctl() [all …]
|
/linux-4.4.14/include/drm/ |
D | drm_crtc.h | 462 uint32_t gamma_size; member 1394 int gamma_size);
|