/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_color_mgmt.c | 207 int gamma_size) in drm_mode_crtc_set_gamma_size() argument 212 crtc->gamma_size = gamma_size; in drm_mode_crtc_set_gamma_size() 217 crtc->gamma_size = 0; in drm_mode_crtc_set_gamma_size() 222 g_base = r_base + gamma_size; in drm_mode_crtc_set_gamma_size() 223 b_base = g_base + gamma_size; in drm_mode_crtc_set_gamma_size() 224 for (i = 0; i < gamma_size; i++) { in drm_mode_crtc_set_gamma_size() 247 if (!crtc->gamma_size) in drm_crtc_supports_legacy_gamma() 380 if (crtc_lut->gamma_size != crtc->gamma_size) in drm_mode_gamma_set_ioctl() 385 size = crtc_lut->gamma_size * (sizeof(uint16_t)); in drm_mode_gamma_set_ioctl() 405 crtc->gamma_size, &ctx); in drm_mode_gamma_set_ioctl() [all …]
|
H A D | drm_fb_helper.c | 142 g_base = r_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 143 b_base = g_base + crtc->gamma_size; in drm_fb_helper_restore_lut_atomic() 146 crtc->gamma_size, NULL); in drm_fb_helper_restore_lut_atomic() 869 g = r + crtc->gamma_size; in setcmap_legacy() 870 b = g + crtc->gamma_size; in setcmap_legacy() 877 crtc->gamma_size, NULL); in setcmap_legacy() 893 int size = crtc->gamma_size; in setcmap_new_gamma_lut() 906 u16 *g = r + crtc->gamma_size; in setcmap_new_gamma_lut() 907 u16 *b = g + crtc->gamma_size; in setcmap_new_gamma_lut() 992 g = r + crtc->gamma_size; in setcmap_atomic() [all …]
|
H A D | drm_crtc.c | 555 crtc_resp->gamma_size = crtc->gamma_size; in drm_mode_getcrtc()
|
H A D | drm_plane.c | 740 plane_resp->gamma_size = 0; in drm_mode_getplane()
|
/openbmc/linux/include/drm/ |
H A D | drm_color_mgmt.h | 64 int gamma_size);
|
H A D | drm_crtc.h | 1068 uint32_t gamma_size; member
|
/openbmc/linux/include/uapi/drm/ |
H A D | drm_mode.h | 287 __u32 gamma_size; member 349 __u32 gamma_size; member 828 __u32 gamma_size; member
|
/openbmc/linux/drivers/gpu/drm/hisilicon/hibmc/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/tidss/ |
H A D | tidss_dispc.h | 20 u32 gamma_size; member
|
H A D | tidss_dispc.c | 101 .gamma_size = 256, 176 .gamma_size = 256, 266 .gamma_size = 1024, 313 .gamma_size = 256, 2291 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_k2g_vp_write_gamma_table() 2313 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_am65x_vp_write_gamma_table() 2334 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_j721e_vp_write_gamma_table() 2383 u32 hwlen = dispc->feat->vp_feat.color.gamma_size; in dispc_vp_set_gamma() 2832 u32 gamma_size = dispc->feat->vp_feat.color.gamma_size; in dispc_init() local 2854 gamma_table = devm_kmalloc_array(dev, gamma_size, in dispc_init()
|
H A D | tidss_crtc.c | 446 if (tidss->feat->vp_feat.color.gamma_size) in tidss_crtc_create()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hvs.c | 231 (vc4_state->assigned_channel * 3 * crtc->gamma_size)); in vc4_hvs_lut_load() 233 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load() 235 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load() 237 for (i = 0; i < crtc->gamma_size; i++) in vc4_hvs_lut_load()
|
H A D | vc4_crtc.c | 1344 drm_crtc_enable_color_mgmt(crtc, 0, false, crtc->gamma_size); in __vc4_crtc_init() 1349 drm_crtc_enable_color_mgmt(crtc, 0, true, crtc->gamma_size); in __vc4_crtc_init() 1352 for (i = 0; i < crtc->gamma_size; i++) { in __vc4_crtc_init()
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | gma_display.c | 159 g = r + crtc->gamma_size; in gma_crtc_load_lut() 160 b = g + crtc->gamma_size; in gma_crtc_load_lut()
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 1250 for (i = 0; i < crtc->gamma_size; i++) { in vop_crtc_write_gamma_lut() 1516 if (len != crtc->gamma_size) { in vop_crtc_atomic_check() 1518 len, crtc->gamma_size); in vop_crtc_atomic_check()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | crtc.c | 780 g = r + crtc->gamma_size; in nv_crtc_gamma_load() 781 b = g + crtc->gamma_size; in nv_crtc_gamma_load()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v8_0.c | 2051 g = r + crtc->gamma_size; in dce_v8_0_crtc_load_lut() 2052 b = g + crtc->gamma_size; in dce_v8_0_crtc_load_lut()
|
H A D | dce_v6_0.c | 2084 g = r + crtc->gamma_size; in dce_v6_0_crtc_load_lut() 2085 b = g + crtc->gamma_size; in dce_v6_0_crtc_load_lut()
|
H A D | dce_v10_0.c | 2148 g = r + crtc->gamma_size; in dce_v10_0_crtc_load_lut() 2149 b = g + crtc->gamma_size; in dce_v10_0_crtc_load_lut()
|
H A D | dce_v11_0.c | 2192 g = r + crtc->gamma_size; in dce_v11_0_crtc_load_lut() 2193 b = g + crtc->gamma_size; in dce_v11_0_crtc_load_lut()
|