Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c95 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-6.1.9/drivers/gpu/drm/i915/display/
Dintel_color.c427 static u32 i9xx_lut_8(const struct drm_color_lut *color) in i9xx_lut_8()
434 static void i9xx_lut_8_pack(struct drm_color_lut *entry, u32 val) in i9xx_lut_8_pack()
442 static u32 i965_lut_10p6_ldw(const struct drm_color_lut *color) in i965_lut_10p6_ldw()
450 static u32 i965_lut_10p6_udw(const struct drm_color_lut *color) in i965_lut_10p6_udw()
457 static void i965_lut_10p6_pack(struct drm_color_lut *entry, u32 ldw, u32 udw) in i965_lut_10p6_pack()
473 static u32 ilk_lut_10(const struct drm_color_lut *color) in ilk_lut_10()
480 static void ilk_lut_10_pack(struct drm_color_lut *entry, u32 val) in ilk_lut_10_pack()
487 static void icl_lut_multi_seg_pack(struct drm_color_lut *entry, u32 ldw, u32 udw) in icl_lut_multi_seg_pack()
566 const struct drm_color_lut *lut; in i9xx_load_lut_8()
595 const struct drm_color_lut *lut = blob->data; in i965_load_lut_10p6()
[all …]
/linux-6.1.9/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.c158 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-6.1.9/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-6.1.9/drivers/gpu/drm/arm/
Dmalidp_crtc.c130 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-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_disp_gamma.c60 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-6.1.9/drivers/gpu/drm/
Ddrm_color_mgmt.c284 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()
Ddrm_atomic_uapi.c421 -1, sizeof(struct drm_color_lut), in drm_atomic_crtc_set_property()
437 -1, sizeof(struct drm_color_lut), in drm_atomic_crtc_set_property()
/linux-6.1.9/include/drm/
Ddrm_color_mgmt.h74 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c95 struct drm_color_lut *lut; in drm_lut_to_coeffs()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_crtc.c587 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-6.1.9/drivers/gpu/drm/mgag200/
Dmgag200_mode.c70 struct drm_color_lut *lut) in mgag200_crtc_set_gamma()
598 if (new_gamma_lut->length != MGAG200_LUT_SIZE * sizeof(struct drm_color_lut)) { in mgag200_crtc_helper_atomic_check()
/linux-6.1.9/include/uapi/drm/
Ddrm_mode.h841 struct drm_color_lut { struct
/linux-6.1.9/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c420 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-6.1.9/drivers/gpu/drm/omapdrm/dss/
Ddss.h449 const struct drm_color_lut *lut,
/linux-6.1.9/drivers/gpu/drm/tidss/
Dtidss_dispc.c2324 static const struct drm_color_lut dispc_vp_gamma_default_lut[] = {
2331 const struct drm_color_lut *lut, in dispc_vp_set_gamma()
2528 struct drm_color_lut *lut = NULL; in dispc_vp_set_color_mgmt()
2536 lut = (struct drm_color_lut *)state->gamma_lut->data; in dispc_vp_set_color_mgmt()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hvs.c245 struct drm_color_lut *lut = crtc_state->gamma_lut->data; in vc4_hvs_update_gamma_lut()

12