/linux/drivers/gpu/drm/ |
A D | drm_color_mgmt.c | 203 int gamma_size) in drm_mode_crtc_set_gamma_size() argument 208 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size() 213 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size() 218 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 219 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 220 for (i = 0; i < gamma_size; i++) { in drm_mode_crtc_set_gamma_size() 243 if (!crtc->gamma_size) in drm_crtc_supports_legacy_gamma() 376 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_set_ioctl() 381 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl() 401 crtc->gamma_size, &ctx); in drm_mode_gamma_set_ioctl() [all …]
|
A D | drm_fb_helper.c | 143 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 144 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 147 crtc->gamma_size, NULL); in drm_fb_helper_restore_lut_atomic() 960 g = r + crtc->gamma_size; in setcmap_legacy() 961 b = g + crtc->gamma_size; in setcmap_legacy() 968 crtc->gamma_size, NULL); in setcmap_legacy() 984 int size = crtc->gamma_size; in setcmap_new_gamma_lut() 997 u16 *g = r + crtc->gamma_size; in setcmap_new_gamma_lut() 998 u16 *b = g + crtc->gamma_size; in setcmap_new_gamma_lut() 1083 g = r + crtc->gamma_size; in setcmap_atomic() [all …]
|
A D | drm_crtc.c | 483 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
|
A D | drm_plane.c | 718 plane_resp->gamma_size = 0; in drm_mode_getplane()
|
/linux/include/uapi/drm/ |
A D | drm_mode.h | 287 __u32 gamma_size; member 349 __u32 gamma_size; member 793 __u32 gamma_size; member
|
/linux/drivers/gpu/drm/vc4/ |
A D | vc4_hvs.c | 174 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load() 176 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load() 178 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load() 180 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load()
|
A D | vc4_crtc.c | 1121 drm_crtc_enable_color_mgmt(crtc, 0, false, crtc->gamma_size); in vc4_crtc_init() 1126 drm_crtc_enable_color_mgmt(crtc, 0, true, crtc->gamma_size); in vc4_crtc_init() 1129 for (i = 0; i < crtc->gamma_size; i++) { in vc4_crtc_init()
|
/linux/include/drm/ |
A D | drm_color_mgmt.h | 63 int gamma_size);
|
A D | drm_crtc.h | 1079 uint32_t gamma_size; member
|
/linux/drivers/gpu/drm/hisilicon/hibmc/ |
A D | hibmc_drm_de.c | 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()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_display.c | 74 g = r + crtc->gamma_size; in avivo_crtc_load_lut() 75 b = g + crtc->gamma_size; in avivo_crtc_load_lut() 111 g = r + crtc->gamma_size; in dce4_crtc_load_lut() 112 b = g + crtc->gamma_size; in dce4_crtc_load_lut() 159 g = r + crtc->gamma_size; in dce5_crtc_load_lut() 160 b = g + crtc->gamma_size; in dce5_crtc_load_lut() 211 g = r + crtc->gamma_size; in legacy_crtc_load_lut() 212 b = g + crtc->gamma_size; in legacy_crtc_load_lut()
|
/linux/drivers/gpu/drm/tidss/ |
A D | tidss_dispc.c | 100 .gamma_size = 256, 175 .gamma_size = 256, 265 .gamma_size = 1024, 2241 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_k2g_vp_write_gamma_table() 2263 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_am65x_vp_write_gamma_table() 2284 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_j721e_vp_write_gamma_table() 2332 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_vp_set_gamma() 2713 u32 gamma_size = dispc->feat->vp_feat.color.gamma_size; in dispc_init() local 2735 gamma_table = devm_kmalloc_array(dev, gamma_size, in dispc_init()
|
A D | tidss_dispc.h | 20 u32 gamma_size; member
|
A D | tidss_crtc.c | 439 if (tidss->feat->vp_feat.color.gamma_size) in tidss_crtc_create()
|
/linux/drivers/gpu/drm/gma500/ |
A D | gma_display.c | 151 g = r + crtc->gamma_size; in gma_crtc_load_lut() 152 b = g + crtc->gamma_size; in gma_crtc_load_lut()
|
/linux/drivers/gpu/drm/mgag200/ |
A D | mgag200_mode.c | 52 g_ptr = r_ptr + crtc->gamma_size; in mga_crtc_load_lut() 53 b_ptr = g_ptr + crtc->gamma_size; in mga_crtc_load_lut()
|
/linux/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_vop.c | 1210 for (i = 0; i < crtc->gamma_size; i++) { in vop_crtc_write_gamma_lut() 1448 if (len != crtc->gamma_size) { in vop_crtc_atomic_check() 1450 len, crtc->gamma_size); in vop_crtc_atomic_check()
|
/linux/drivers/gpu/drm/ast/ |
A D | ast_mode.c | 76 g = r + crtc->gamma_size; in ast_crtc_load_lut() 77 b = g + crtc->gamma_size; in ast_crtc_load_lut()
|
/linux/drivers/gpu/drm/nouveau/dispnv04/ |
A D | crtc.c | 779 g = r + crtc->gamma_size; in nv_crtc_gamma_load() 780 b = g + crtc->gamma_size; in nv_crtc_gamma_load()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | dce_v8_0.c | 2053 g = r + crtc->gamma_size; in dce_v8_0_crtc_load_lut() 2054 b = g + crtc->gamma_size; in dce_v8_0_crtc_load_lut()
|
A D | dce_v6_0.c | 2082 g = r + crtc->gamma_size; in dce_v6_0_crtc_load_lut() 2083 b = g + crtc->gamma_size; in dce_v6_0_crtc_load_lut()
|
A D | dce_v10_0.c | 2154 g = r + crtc->gamma_size; in dce_v10_0_crtc_load_lut() 2155 b = g + crtc->gamma_size; in dce_v10_0_crtc_load_lut()
|
A D | dce_v11_0.c | 2190 g = r + crtc->gamma_size; in dce_v11_0_crtc_load_lut() 2191 b = g + crtc->gamma_size; in dce_v11_0_crtc_load_lut()
|