/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 95 static const struct drm_color_lut * 99 return blob ? (struct drm_color_lut *)blob->data : NULL; in __extract_blob_lut() 115 static bool __is_lut_linear(const struct drm_color_lut *lut, uint32_t size) in __is_lut_linear() 144 static void __drm_lut_to_dc_gamma(const struct drm_color_lut *lut, in __drm_lut_to_dc_gamma() 226 const struct drm_color_lut *lut, uint32_t lut_size, in __set_legacy_tf() 264 const struct drm_color_lut *lut, uint32_t lut_size, in __set_output_tf() 317 const struct drm_color_lut *lut, uint32_t lut_size) in __set_input_tf() 349 const struct drm_color_lut *lut = NULL; in amdgpu_dm_verify_lut_sizes() 401 const struct drm_color_lut *degamma_lut, *regamma_lut; in amdgpu_dm_update_crtc_color_mgmt() 513 const struct drm_color_lut *degamma_lut; in amdgpu_dm_update_plane_color_mgmt()
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 793 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8() 800 static void i9xx_lut_8_pack(struct drm_color_lut *entry, u32 val) in i9xx_lut_8_pack() 813 static u32 i9xx_lut_10_ldw(const struct drm_color_lut *color) in i9xx_lut_10_ldw() 841 static u32 i9xx_lut_10_udw(const struct drm_color_lut *color) in i9xx_lut_10_udw() 848 static void i9xx_lut_10_pack(struct drm_color_lut *color, in i9xx_lut_10_pack() 863 static void i9xx_lut_10_pack_slope(struct drm_color_lut *color, in i9xx_lut_10_pack_slope() 881 static u32 i965_lut_10p6_ldw(const struct drm_color_lut *color) in i965_lut_10p6_ldw() 889 static u32 i965_lut_10p6_udw(const struct drm_color_lut *color) in i965_lut_10p6_udw() 896 static void i965_lut_10p6_pack(struct drm_color_lut *entry, u32 ldw, u32 udw) in i965_lut_10p6_pack() 912 static u32 ilk_lut_10(const struct drm_color_lut *color) in ilk_lut_10() [all …]
|
/Linux-v6.6/drivers/gpu/drm/nouveau/dispnv50/ |
D | lut.h | 5 struct drm_color_lut; 15 void (*)(struct drm_color_lut *, int size, void __iomem *));
|
D | lut.c | 33 void (*load)(struct drm_color_lut *, int, void __iomem *)) in nv50_lut_load() argument 35 struct drm_color_lut *in = blob ? blob->data : NULL; in nv50_lut_load()
|
D | atom.h | 64 void (*load)(struct drm_color_lut *, int size, void __iomem *); 204 void (*load)(struct drm_color_lut *, int size,
|
D | disp.h | 55 void head907d_olut_load(struct drm_color_lut *, int size, void __iomem *);
|
D | headc57d.c | 120 headc57d_olut_load_8(struct drm_color_lut *in, int size, void __iomem *mem) in headc57d_olut_load_8() 153 headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in headc57d_olut_load()
|
D | wndwc57e.c | 158 wndwc57e_ilut_load(struct drm_color_lut *in, int size, void __iomem *mem) in wndwc57e_ilut_load()
|
/Linux-v6.6/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_cmm.h | 13 struct drm_color_lut; 24 struct drm_color_lut *table;
|
D | rcar_cmm.c | 52 const struct drm_color_lut *drm_lut) in rcar_cmm_lut_write()
|
/Linux-v6.6/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 130 struct drm_color_lut *lut = (struct drm_color_lut *)lut_blob->data; in malidp_generate_gamma_table() 155 struct drm_color_lut *lut; in malidp_crtc_atomic_check_gamma() 166 if (state->gamma_lut->length % sizeof(struct drm_color_lut)) in malidp_crtc_atomic_check_gamma() 169 lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); in malidp_crtc_atomic_check_gamma() 173 lut = (struct drm_color_lut *)state->gamma_lut->data; in malidp_crtc_atomic_check_gamma()
|
/Linux-v6.6/drivers/gpu/drm/mediatek/ |
D | mtk_disp_gamma.c | 60 struct drm_color_lut *lut; in mtk_gamma_set_common() 70 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set_common()
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 284 struct drm_color_lut *blob_data; in drm_crtc_legacy_gamma_set() 306 sizeof(struct drm_color_lut) * size, in drm_crtc_legacy_gamma_set() 604 const struct drm_color_lut *entry; in drm_color_lut_check()
|
/Linux-v6.6/drivers/gpu/drm/vkms/ |
D | vkms_composer.c | 131 static_assert(sizeof(struct drm_color_lut) == sizeof(__u16) * 4); in apply_lut_to_channel_value() 322 crtc_state->gamma_lut.base = (struct drm_color_lut *)crtc->state->gamma_lut->data; in vkms_composer_worker() 324 crtc->state->gamma_lut->length / sizeof(struct drm_color_lut); in vkms_composer_worker()
|
D | vkms_drv.h | 70 struct drm_color_lut *base;
|
D | vkms_drv.c | 133 if (new_crtc_state->gamma_lut->length / sizeof(struct drm_color_lut *) in vkms_atomic_check()
|
/Linux-v6.6/include/drm/ |
D | drm_color_mgmt.h | 74 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
|
/Linux-v6.6/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_color_mgmt.c | 95 struct drm_color_lut *lut; in drm_lut_to_coeffs()
|
/Linux-v6.6/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 587 sizeof(struct drm_color_lut); in omap_crtc_atomic_check() 624 struct drm_color_lut *lut = NULL; in omap_crtc_atomic_flush() 628 lut = (struct drm_color_lut *) in omap_crtc_atomic_flush()
|
/Linux-v6.6/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 70 struct drm_color_lut *lut) in mgag200_crtc_set_gamma() 600 if (new_gamma_lut->length != MGAG200_LUT_SIZE * sizeof(struct drm_color_lut)) { in mgag200_crtc_helper_atomic_check()
|
/Linux-v6.6/include/uapi/drm/ |
D | drm_mode.h | 849 struct drm_color_lut { struct
|
/Linux-v6.6/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 420 struct drm_color_lut *lut; in atmel_hlcdc_plane_update_clut() 429 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
|
/Linux-v6.6/drivers/gpu/drm/omapdrm/dss/ |
D | dss.h | 449 const struct drm_color_lut *lut,
|
/Linux-v6.6/drivers/gpu/drm/tiny/ |
D | ofdrm.c | 689 struct drm_color_lut *lut) in ofdrm_device_set_gamma() 887 static const size_t gamma_lut_length = OFDRM_GAMMA_LUT_SIZE * sizeof(struct drm_color_lut); in ofdrm_crtc_helper_atomic_check()
|
/Linux-v6.6/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 2372 static const struct drm_color_lut dispc_vp_gamma_default_lut[] = { 2379 const struct drm_color_lut *lut, in dispc_vp_set_gamma() 2576 struct drm_color_lut *lut = NULL; in dispc_vp_set_color_mgmt() 2584 lut = (struct drm_color_lut *)state->gamma_lut->data; in dispc_vp_set_color_mgmt()
|