/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 86 static const struct drm_color_lut * 90 return blob ? (struct drm_color_lut *)blob->data : NULL; in __extract_blob_lut() 101 static bool __is_lut_linear(const struct drm_color_lut *lut, uint32_t size) in __is_lut_linear() 126 static void __drm_lut_to_dc_gamma(const struct drm_color_lut *lut, in __drm_lut_to_dc_gamma() 194 const struct drm_color_lut *lut, uint32_t lut_size, in __set_legacy_tf() 223 const struct drm_color_lut *lut, uint32_t lut_size, in __set_output_tf() 267 const struct drm_color_lut *lut, uint32_t lut_size) in __set_input_tf() 294 const struct drm_color_lut *lut = NULL; in amdgpu_dm_verify_lut_sizes() 345 const struct drm_color_lut *degamma_lut, *regamma_lut; in amdgpu_dm_update_crtc_color_mgmt() 456 const struct drm_color_lut *degamma_lut; in amdgpu_dm_update_plane_color_mgmt()
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 403 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8() 410 static void i9xx_lut_8_pack(struct drm_color_lut *entry, u32 val) in i9xx_lut_8_pack() 418 static u32 i965_lut_10p6_ldw(const struct drm_color_lut *color) in i965_lut_10p6_ldw() 426 static u32 i965_lut_10p6_udw(const struct drm_color_lut *color) in i965_lut_10p6_udw() 433 static void i965_lut_10p6_pack(struct drm_color_lut *entry, u32 ldw, u32 udw) in i965_lut_10p6_pack() 449 static u32 ilk_lut_10(const struct drm_color_lut *color) in ilk_lut_10() 456 static void ilk_lut_10_pack(struct drm_color_lut *entry, u32 val) in ilk_lut_10_pack() 463 static void icl_lut_multi_seg_pack(struct drm_color_lut *entry, u32 ldw, u32 udw) in icl_lut_multi_seg_pack() 543 const struct drm_color_lut *lut; in i9xx_load_lut_8() 572 const struct drm_color_lut *lut = blob->data; in i965_load_lut_10p6() [all …]
|
/Linux-v5.15/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 | 160 wndwc57e_ilut_load(struct drm_color_lut *in, int size, void __iomem *mem) in wndwc57e_ilut_load()
|
D | head507d.c | 314 head507d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in head507d_olut_load()
|
D | head907d.c | 286 head907d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in head907d_olut_load()
|
/Linux-v5.15/drivers/gpu/drm/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-v5.15/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 129 struct drm_color_lut *lut = (struct drm_color_lut *)lut_blob->data; in malidp_generate_gamma_table() 154 struct drm_color_lut *lut; in malidp_crtc_atomic_check_gamma() 165 if (state->gamma_lut->length % sizeof(struct drm_color_lut)) in malidp_crtc_atomic_check_gamma() 168 lut_size = state->gamma_lut->length / sizeof(struct drm_color_lut); in malidp_crtc_atomic_check_gamma() 172 lut = (struct drm_color_lut *)state->gamma_lut->data; in malidp_crtc_atomic_check_gamma()
|
/Linux-v5.15/drivers/gpu/drm/mediatek/ |
D | mtk_disp_gamma.c | 59 struct drm_color_lut *lut; in mtk_gamma_set_common() 68 lut = (struct drm_color_lut *)state->gamma_lut->data; in mtk_gamma_set_common()
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_color_mgmt.c | 280 struct drm_color_lut *blob_data; in drm_crtc_legacy_gamma_set() 302 sizeof(struct drm_color_lut) * size, in drm_crtc_legacy_gamma_set() 600 const struct drm_color_lut *entry; in drm_color_lut_check()
|
D | drm_atomic_uapi.c | 455 -1, sizeof(struct drm_color_lut), in drm_atomic_crtc_set_property() 471 -1, sizeof(struct drm_color_lut), in drm_atomic_crtc_set_property()
|
/Linux-v5.15/include/drm/ |
D | drm_color_mgmt.h | 74 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
|
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_color_mgmt.c | 95 struct drm_color_lut *lut; in drm_lut_to_coeffs()
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 588 sizeof(struct drm_color_lut); in omap_crtc_atomic_check() 625 struct drm_color_lut *lut = NULL; in omap_crtc_atomic_flush() 629 lut = (struct drm_color_lut *) in omap_crtc_atomic_flush()
|
/Linux-v5.15/include/uapi/drm/ |
D | drm_mode.h | 809 struct drm_color_lut { struct
|
/Linux-v5.15/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 419 struct drm_color_lut *lut; in atmel_hlcdc_plane_update_clut() 428 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in atmel_hlcdc_plane_update_clut()
|
/Linux-v5.15/drivers/gpu/drm/omapdrm/dss/ |
D | dss.h | 444 const struct drm_color_lut *lut,
|
/Linux-v5.15/drivers/gpu/drm/stm/ |
D | ltdc.c | 407 struct drm_color_lut *lut; in ltdc_crtc_update_clut() 414 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data; in ltdc_crtc_update_clut()
|
/Linux-v5.15/drivers/gpu/drm/tidss/ |
D | tidss_dispc.c | 2321 static const struct drm_color_lut dispc_vp_gamma_default_lut[] = { 2328 const struct drm_color_lut *lut, in dispc_vp_set_gamma() 2525 struct drm_color_lut *lut = NULL; in dispc_vp_set_color_mgmt() 2533 lut = (struct drm_color_lut *)state->gamma_lut->data; in dispc_vp_set_color_mgmt()
|
/Linux-v5.15/drivers/gpu/drm/vc4/ |
D | vc4_hvs.c | 187 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vc4_hvs_update_gamma_lut()
|