Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/drivers/gpu/drm/i915/display/
Dintel_color.c793 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/
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()
/Linux-v6.6/drivers/gpu/drm/renesas/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-v6.6/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-v6.6/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-v6.6/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()
/Linux-v6.6/drivers/gpu/drm/vkms/
Dvkms_composer.c131 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()
Dvkms_drv.h70 struct drm_color_lut *base;
Dvkms_drv.c133 if (new_crtc_state->gamma_lut->length / sizeof(struct drm_color_lut *) in vkms_atomic_check()
/Linux-v6.6/include/drm/
Ddrm_color_mgmt.h74 return blob->length / sizeof(struct drm_color_lut); in drm_color_lut_size()
/Linux-v6.6/drivers/gpu/drm/arm/display/komeda/
Dkomeda_color_mgmt.c95 struct drm_color_lut *lut; in drm_lut_to_coeffs()
/Linux-v6.6/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-v6.6/drivers/gpu/drm/mgag200/
Dmgag200_mode.c70 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/
Ddrm_mode.h849 struct drm_color_lut { struct
/Linux-v6.6/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-v6.6/drivers/gpu/drm/omapdrm/dss/
Ddss.h449 const struct drm_color_lut *lut,
/Linux-v6.6/drivers/gpu/drm/tiny/
Dofdrm.c689 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/
Dtidss_dispc.c2372 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()

12