Searched refs:gamma_size (Results 1 – 11 of 11) sorted by relevance
209 int gamma_size) in drm_mode_crtc_set_gamma_size() argument214 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size()216 crtc->gamma_store = kcalloc(gamma_size, sizeof(uint16_t) * 3, in drm_mode_crtc_set_gamma_size()219 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size()224 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size()225 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size()226 for (i = 0; i < gamma_size; i++) { in drm_mode_crtc_set_gamma_size()249 if (!crtc->gamma_size) in drm_crtc_supports_legacy_gamma()382 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_set_ioctl()387 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl()[all …]
126 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()127 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic()130 crtc->gamma_size, NULL); in drm_fb_helper_restore_lut_atomic()805 if (!crtc->funcs->gamma_set || !crtc->gamma_size) { in setcmap_legacy()810 if (cmap->start + cmap->len > crtc->gamma_size) { in setcmap_legacy()816 g = r + crtc->gamma_size; in setcmap_legacy()817 b = g + crtc->gamma_size; in setcmap_legacy()824 crtc->gamma_size, NULL); in setcmap_legacy()840 int size = crtc->gamma_size; in setcmap_new_gamma_lut()853 u16 *g = r + crtc->gamma_size; in setcmap_new_gamma_lut()[all …]
887 plane_resp->gamma_size = 0; in drm_mode_getplane()
287 __u32 gamma_size; member349 __u32 gamma_size; member829 __u32 gamma_size; member
77 int gamma_size);
454 g = r + crtc->gamma_size; in hibmc_crtc_load_lut()455 b = g + crtc->gamma_size; in hibmc_crtc_load_lut()457 for (i = 0; i < crtc->gamma_size; i++) { in hibmc_crtc_load_lut()
159 g = r + crtc->gamma_size; in gma_crtc_load_lut()160 b = g + crtc->gamma_size; in gma_crtc_load_lut()
1460 for (i = 0; i < crtc->gamma_size; i++) { in vop2_crtc_write_gamma_lut()1814 if (len != crtc->gamma_size) { in vop2_crtc_atomic_check_gamma()1816 len, crtc->gamma_size); in vop2_crtc_atomic_check_gamma()
2063 g = r + crtc->gamma_size; in dce_v8_0_crtc_load_lut()2064 b = g + crtc->gamma_size; in dce_v8_0_crtc_load_lut()
2146 g = r + crtc->gamma_size; in dce_v10_0_crtc_load_lut()2147 b = g + crtc->gamma_size; in dce_v10_0_crtc_load_lut()
2152 g = r + crtc->gamma_size; in dce_v6_0_crtc_load_lut()2153 b = g + crtc->gamma_size; in dce_v6_0_crtc_load_lut()