Home
last modified time | relevance | path

Searched refs:drm_color_lut (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c86 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/
Dintel_color.c403 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/
Dlut.h5 struct drm_color_lut;
15 void (*)(struct drm_color_lut *, int size, void __iomem *));
Dlut.c33 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()
Datom.h64 void (*load)(struct drm_color_lut *, int size, void __iomem *);
204 void (*load)(struct drm_color_lut *, int size,
Ddisp.h55 void head907d_olut_load(struct drm_color_lut *, int size, void __iomem *);
Dheadc57d.c120 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()
Dwndwc57e.c160 wndwc57e_ilut_load(struct drm_color_lut *in, int size, void __iomem *mem) in wndwc57e_ilut_load()
Dhead507d.c314 head507d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) in head507d_olut_load()
Dhead907d.c286 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/
Drcar_cmm.h13 struct drm_color_lut;
24 struct drm_color_lut *table;
Drcar_cmm.c52 const struct drm_color_lut *drm_lut) in rcar_cmm_lut_write()
/Linux-v5.15/drivers/gpu/drm/arm/
Dmalidp_crtc.c129 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/
Dmtk_disp_gamma.c59 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/
Ddrm_color_mgmt.c280 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()
Ddrm_atomic_uapi.c455 -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/
Ddrm_color_mgmt.h74 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
/Linux-v5.15/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c95 struct drm_color_lut *lut; in drm_lut_to_coeffs()
/Linux-v5.15/drivers/gpu/drm/omapdrm/
Domap_crtc.c588 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/
Ddrm_mode.h809 struct drm_color_lut { struct
/Linux-v5.15/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c419 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/
Ddss.h444 const struct drm_color_lut *lut,
/Linux-v5.15/drivers/gpu/drm/stm/
Dltdc.c407 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/
Dtidss_dispc.c2321 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/
Dvc4_hvs.c187 struct drm_color_lut *lut = crtc->state->gamma_lut->data; in vc4_hvs_update_gamma_lut()

12