HomeSort by: relevance | last modified time | path
    Searched refs:lut (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
nouveau_dispnv50_lut.c 27 #include "lut.h"
43 nv50_lut_load(struct nv50_lut *lut, int buffer, struct drm_property_blob *blob,
47 void __iomem *mem = lut->mem[buffer].object.map.ptr;
48 const u32 addr = lut->mem[buffer].addr;
70 nv50_lut_fini(struct nv50_lut *lut)
73 for (i = 0; i < ARRAY_SIZE(lut->mem); i++)
74 nvif_mem_fini(&lut->mem[i]);
79 struct nv50_lut *lut)
83 for (i = 0; i < ARRAY_SIZE(lut->mem); i++) {
85 &lut->mem[i])
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
amdgpu_dm_color.c 41 * - Input gamma LUT (de-normalized)
43 * - Surface degamma LUT (normalized)
45 * - Surface regamma LUT (normalized)
54 * The input gamma LUT block isn't really applicable here since it operates
67 * respective property is set to NULL. A linear DGM/RGM LUT should also
90 /* Extracts the DRM lut and lut size from a blob. */
99 * Return true if the given lut is a linear mapping of values, i.e. it acts
100 * like a bypass LUT.
102 * It is considered linear if the lut represents
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_surface.c 266 struct dc_3dlut *lut = container_of(kref, struct dc_3dlut, refcount); local in function:dc_3dlut_func_free
268 kvfree(lut);
273 struct dc_3dlut *lut = kvzalloc(sizeof(*lut), GFP_KERNEL); local in function:dc_create_3dlut_func
275 if (lut == NULL)
278 kref_init(&lut->refcount);
279 lut->state.raw = 0;
281 return lut;
288 void dc_3dlut_func_release(struct dc_3dlut *lut)
290 kref_put(&lut->refcount, dc_3dlut_func_free)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_object.c 119 struct i915_lut_handle *lut, *ln; local in function:i915_gem_close_object
123 list_for_each_entry_safe(lut, ln, &obj->lut_list, obj_link) {
124 struct i915_gem_context *ctx = lut->ctx;
130 list_move(&lut->obj_link, &close);
148 list_for_each_entry_safe(lut, ln, &close, obj_link) {
149 struct i915_gem_context *ctx = lut->ctx;
158 vma = radix_tree_delete(&ctx->handles_vma, lut->handle);
168 i915_gem_context_put(lut->ctx);
169 i915_lut_handle_free(lut);
i915_gem_context.h 225 void i915_lut_handle_free(struct i915_lut_handle *lut);
i915_gem_context.c 106 void i915_lut_handle_free(struct i915_lut_handle *lut)
108 return kmem_cache_free(global.slab_luts, lut);
122 struct i915_lut_handle *lut; local in function:lut_close
129 list_for_each_entry(lut, &obj->lut_list, obj_link) {
130 if (lut->ctx != ctx)
133 if (lut->handle != iter.index)
136 list_del(&lut->obj_link);
142 if (&lut->obj_link != &obj->lut_list) {
143 i915_lut_handle_free(lut);
537 * The LUT uses the VMA as a backpointer to unref the object
    [all...]
i915_gem_execbuffer.c 759 struct i915_lut_handle *lut; local in function:eb_lookup_vmas
778 lut = i915_lut_handle_alloc();
779 if (unlikely(!lut)) {
786 i915_lut_handle_free(lut);
790 /* transfer ref to lut */
793 lut->handle = handle;
794 lut->ctx = eb->gem_context;
797 list_add(&lut->obj_link, &obj->lut_list);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_crtc.h 68 } lut; member in struct:nouveau_crtc
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_color.c 118 static bool lut_is_legacy(const struct drm_property_blob *lut)
120 return drm_color_lut_size(lut) == LEGACY_LUT_LENGTH;
216 * FIXME if there's a gamma LUT after the CSC, we should
217 * do the range compression using the gamma LUT instead.
300 * On GLK+ both pipe CSC and degamma LUT are controlled
302 * LUT is needed but CSC is not we need to load an
425 const struct drm_color_lut *lut = blob->data; local in function:i9xx_load_luts_internal
429 (drm_color_lut_extract(lut[i].red, 8) << 16) |
430 (drm_color_lut_extract(lut[i].green, 8) << 8) |
431 drm_color_lut_extract(lut[i].blue, 8)
514 const struct drm_color_lut *lut = blob->data; local in function:i965_load_lut_10p6
545 const struct drm_color_lut *lut = blob->data; local in function:ilk_load_lut_10
583 const struct drm_color_lut *lut = blob->data; local in function:ivb_load_lut_10
610 const struct drm_color_lut *lut = blob->data; local in function:bdw_load_lut_10
712 const struct drm_color_lut *lut = crtc_state->hw.degamma_lut->data; local in function:glk_load_degamma_lut
832 const struct drm_color_lut *lut = blob->data; local in function:icl_program_gamma_superfine_segment
864 const struct drm_color_lut *lut = blob->data; local in function:icl_program_gamma_multi_segment
957 const struct drm_color_lut *lut = blob->data; local in function:chv_load_cgm_degamma
984 const struct drm_color_lut *lut = blob->data; local in function:chv_load_cgm_gamma
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_color_mgmt.h 35 * drm_color_lut_extract - clamp and round LUT entries
37 * @bit_precision: number of bits the hw LUT supports
39 * Extract a degamma/gamma LUT value provided by user (in the form of
68 * drm_color_lut_size - calculate the number of entries in the LUT
69 * @blob: blob containing the LUT
72 * The number of entries in the color LUT stored in @blob.
99 * enum drm_color_lut_tests - hw-specific LUT tests to perform
102 * determine which tests to apply to a userspace-provided LUT.
108 * Checks whether the entries of a LUT all have equal values for the
110 * accepts a single value per LUT entry and assumes that value applie
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
meson8m2.dtsi 19 /delete-node/ video-lut@20;
21 canvas: video-lut@48 {
meson8.dtsi 268 canvas: video-lut@20 {
meson8b.dtsi 245 canvas: video-lut@48 {
  /src/sys/compat/linux/common/
linux_misc_notalpha.c 219 struct linux_utimbuf lut; local in function:linux_sys_utime
222 if ((error = copyin(SCARG(uap, times), &lut, sizeof lut)))
225 tv[0].tv_sec = lut.l_actime;
226 tv[1].tv_sec = lut.l_modtime;
  /src/sys/external/bsd/drm2/dist/drm/
drm_color_mgmt.c 46 * Blob property to set the degamma lookup table (LUT) mapping pixel data
49 * Hardware might choose not to use the full precision of the LUT elements
50 * nor use all the elements of the LUT (for example the hardware might
51 * choose to interpolate between LUT[0] and LUT[4]).
61 * hardware). If drivers support multiple LUT sizes then they should
67 * pixel data after the lookup through the degamma LUT and before the
68 * lookup through the gamma LUT. The data is interpreted as a struct
77 * Blob property to set the gamma lookup table (LUT) mapping pixel data
80 * Hardware might choose not to use the full precision of the LUT element
    [all...]
drm_fb_helper.c 992 struct drm_color_lut *lut; local in function:setcmap_new_gamma_lut
999 gamma_lut = drm_property_create_blob(dev, sizeof(*lut) * size, NULL);
1003 lut = gamma_lut->data;
1010 lut[i].red = r[i];
1011 lut[i].green = g[i];
1012 lut[i].blue = b[i];
1015 lut[i].red = r[i];
1016 lut[i].green = g[i];
1017 lut[i].blue = b[i];
1022 lut[cmap->start + i].red = cmap->red[i]
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
amdgpu_dcn20_dpp_cm.c 390 /*program blnd lut RAM A*/
418 /*program blnd lut RAM B*/
1001 const struct dc_rgb *lut,
1008 red = lut[i].red<<4;
1009 green = lut[i].green<<4;
1010 blue = lut[i].blue<<4;
1011 red1 = lut[i+1].red<<4;
1012 green1 = lut[i+1].green<<4;
1013 blue1 = lut[i+1].blue<<4;
1031 * load selected lut with 10 bits color channel
    [all...]
  /src/sys/compat/linux32/common/
linux32_time.c 219 struct linux32_utimbuf lut; local in function:linux32_sys_utime
223 if ((error = copyin(SCARG_P32(uap, times), &lut, sizeof lut)))
226 tv[0].tv_sec = (long)lut.l_actime;
228 tv[1].tv_sec = (long)lut.l_modtime;
  /src/sys/dev/pci/
if_iavfvar.h 226 uint8_t lut[1]; member in struct:iavf_vc_rss_lut
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_disp.c 139 nv_crtc->lut.depth = 0;
nouveau_dispnv04_crtc.c 808 * mark the lut values as dirty by setting depth==0, and it'll be
812 nv_crtc->lut.depth = 0;
855 if (nv_crtc->lut.depth != drm_fb->format->depth) {
856 nv_crtc->lut.depth = drm_fb->format->depth;
1310 nv_crtc->lut.depth = 0;
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
dc.h 858 void dc_3dlut_func_release(struct dc_3dlut *lut);
859 void dc_3dlut_func_retain(struct dc_3dlut *lut);
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_atombios.c 3582 VOLTAGE_LUT_ENTRY *lut = (VOLTAGE_LUT_ENTRY *) local in function:radeon_atom_get_max_voltage
3586 le16_to_cpu(lut->usVoltageValue);
3746 VOLTAGE_LUT_ENTRY *lut; local in function:radeon_atom_get_voltage_table
3749 lut = &formula->asVIDAdjustEntries[0];
3752 le16_to_cpu(lut->usVoltageValue);
3760 lut = (VOLTAGE_LUT_ENTRY *)
3761 ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY));
3781 VOLTAGE_LUT_ENTRY_V2 *lut; local in function:radeon_atom_get_voltage_table
3784 lut = &gpio->asVolGpioLut[0];
3787 le16_to_cpu(lut->usVoltageValue)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_atombios.c 1529 VOLTAGE_LUT_ENTRY_V2 *lut; local in function:amdgpu_atombios_get_voltage_table
1532 lut = &gpio->asVolGpioLut[0];
1535 le16_to_cpu(lut->usVoltageValue);
1537 le32_to_cpu(lut->ulVoltageId);
1538 lut = (VOLTAGE_LUT_ENTRY_V2 *)
1539 ((u8 *)lut + sizeof(VOLTAGE_LUT_ENTRY_V2));
  /src/sys/arch/sparc/dev/
cgfourteen.c 242 volatile uint32_t *lut; local in function:cgfourteenattach
329 lut = sc->sc_clut1->clut_lut;
331 sc->sc_cmap.cm_chip[i] = lut[i];
847 * intensity, fix that with the gamma LUT
864 /* in 8 or 24bit put a linear ramp in the gamma LUT */

Completed in 31 milliseconds

1 2