Home
last modified time | relevance | path

Searched refs:dither (Results 1 - 25 of 92) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c72 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set()
98 if (asyc->dither.mode) { in nv50_head_atomic_check_dither()
99 if (asyc->dither.mode == DITHERING_MODE_AUTO) { in nv50_head_atomic_check_dither()
103 mode = asyc->dither.mode; in nv50_head_atomic_check_dither()
106 if (asyc->dither.depth == DITHERING_DEPTH_AUTO) { in nv50_head_atomic_check_dither()
110 mode |= asyc->dither.depth; in nv50_head_atomic_check_dither()
114 asyh->dither.enable = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, ENABLE); in nv50_head_atomic_check_dither()
115 asyh->dither.bits = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, BITS); in nv50_head_atomic_check_dither()
116 asyh->dither in nv50_head_atomic_check_dither()
[all...]
H A Dhead917d.c41 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head917d_dither()
42 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head917d_dither()
43 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head917d_dither()
134 .dither = head917d_dither,
H A Dheadc37d.c96 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in headc37d_dither()
97 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in headc37d_dither()
99 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in headc37d_dither()
295 .dither = headc37d_dither,
H A Datom.h108 } dither; member
142 bool dither:1; member
H A Dhead507d.c59 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head507d_dither()
60 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head507d_dither()
61 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head507d_dither()
447 .dither = head507d_dither,
H A Dhead907d.c88 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head907d_dither()
89 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head907d_dither()
90 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head907d_dither()
431 .dither = head907d_dither,
H A Dhead.h47 int (*dither)(struct nv50_head *, struct nv50_head_atom *); member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c72 if (asyh->set.dither ) head->func->dither (head, asyh); in nv50_head_flush_set()
98 if (asyc->dither.mode) { in nv50_head_atomic_check_dither()
99 if (asyc->dither.mode == DITHERING_MODE_AUTO) { in nv50_head_atomic_check_dither()
103 mode = asyc->dither.mode; in nv50_head_atomic_check_dither()
106 if (asyc->dither.depth == DITHERING_DEPTH_AUTO) { in nv50_head_atomic_check_dither()
110 mode |= asyc->dither.depth; in nv50_head_atomic_check_dither()
114 asyh->dither.enable = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, ENABLE); in nv50_head_atomic_check_dither()
115 asyh->dither.bits = NVVAL_GET(mode, NV507D, HEAD_SET_DITHER_CONTROL, BITS); in nv50_head_atomic_check_dither()
116 asyh->dither in nv50_head_atomic_check_dither()
[all...]
H A Dhead917d.c41 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head917d_dither()
42 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head917d_dither()
43 NVVAL(NV917D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head917d_dither()
135 .dither = head917d_dither,
H A Dheadc37d.c96 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in headc37d_dither()
97 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in headc37d_dither()
99 NVVAL(NVC37D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in headc37d_dither()
296 .dither = headc37d_dither,
H A Datom.h108 } dither; member
142 bool dither:1; member
H A Dhead507d.c59 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head507d_dither()
60 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head507d_dither()
61 NVVAL(NV507D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head507d_dither()
447 .dither = head507d_dither,
H A Dhead907d.c88 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, ENABLE, asyh->dither.enable) | in head907d_dither()
89 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, BITS, asyh->dither.bits) | in head907d_dither()
90 NVVAL(NV907D, HEAD_SET_DITHER_CONTROL, MODE, asyh->dither.mode) | in head907d_dither()
430 .dither = head907d_dither,
H A Dhead.h48 int (*dither)(struct nv50_head *, struct nv50_head_atom *); member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c115 *val = asyc->dither.mode; in nouveau_conn_atomic_get_property()
117 *val = asyc->dither.depth; in nouveau_conn_atomic_get_property()
192 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
193 asyc->dither.mode = val; in nouveau_conn_atomic_set_property()
194 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
198 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
199 asyc->dither.depth = val; in nouveau_conn_atomic_set_property()
200 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
238 asyc->dither = armc->dither; in nouveau_conn_atomic_duplicate_state()
[all...]
H A Dnouveau_connector.h82 } dither; member
105 bool dither:1; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.c114 *val = asyc->dither.mode; in nouveau_conn_atomic_get_property()
116 *val = asyc->dither.depth; in nouveau_conn_atomic_get_property()
192 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
193 asyc->dither.mode = val; in nouveau_conn_atomic_set_property()
194 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
198 if (asyc->dither.mode != val) { in nouveau_conn_atomic_set_property()
199 asyc->dither.depth = val; in nouveau_conn_atomic_set_property()
200 asyc->set.dither = true; in nouveau_conn_atomic_set_property()
238 asyc->dither = armc->dither; in nouveau_conn_atomic_duplicate_state()
[all...]
H A Dnouveau_connector.h89 } dither; member
112 bool dither:1; member
/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
H A Dzx_vou.c126 void __iomem *dither; member
237 void __iomem *dither = zcrtc->dither; in vou_inf_enable() local
250 zx_writel_mask(dither + OSD_DITHER_CTRL0, DITHER_BYSPASS, in vou_inf_enable()
254 zx_writel_mask(dither + OSD_DITHER_CTRL0, DITHER_BYSPASS, 0); in vou_inf_enable()
560 zcrtc->dither = vou->osd + MAIN_DITHER_OFFSET; in zx_crtc_init()
571 zcrtc->dither = vou->osd + AUX_DITHER_OFFSET; in zx_crtc_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c93 #define NS2501_F9_DITHER_MASK (0x7f<<1) /* controls the dither depth */
94 #define NS2501_F9_DITHER_SHIFT 1 /* shifts the dither mask */
179 * bits control the depth of the dither. The higher the value,
185 #define NS2501_F9_DITHER_MASK (0x7f<<1) /* dither masking */
186 #define NS2501_F9_DITHER_SHIFT 1 /* upshift of the dither mask */
209 u8 dither; /* configuration of the dithering */ member
236 .dither = 0x0f,
256 .dither = 0x0f,
275 .dither = 0x0f,
639 ns2501_writeb(dvo, NS2501_REGF9, conf->dither); in ns2501_mode_set()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c93 #define NS2501_F9_DITHER_MASK (0x7f<<1) /* controls the dither depth */
94 #define NS2501_F9_DITHER_SHIFT 1 /* shifts the dither mask */
179 * bits control the depth of the dither. The higher the value,
185 #define NS2501_F9_DITHER_MASK (0x7f<<1) /* dither masking */
186 #define NS2501_F9_DITHER_SHIFT 1 /* upshift of the dither mask */
209 u8 dither; /* configuration of the dithering */ member
236 .dither = 0x0f,
256 .dither = 0x0f,
275 .dither = 0x0f,
639 ns2501_writeb(dvo, NS2501_REGF9, conf->dither); in ns2501_mode_set()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c422 regp->dither = savep->dither | 0x00010000; in nv04_dfp_mode_set()
425 regp->dither = savep->dither | 0x00000001; in nv04_dfp_mode_set()
440 regp->dither = savep->dither; in nv04_dfp_mode_set()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c422 regp->dither = savep->dither | 0x00010000; in nv04_dfp_mode_set()
425 regp->dither = savep->dither | 0x00000001; in nv04_dfp_mode_set()
440 regp->dither = savep->dither; in nv04_dfp_mode_set()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.c441 .dither = {.name = "dither", .id = DPU_PINGPONG_DITHER, .base = 0x30e0,
446 .dither = {.name = "dither", .id = DPU_PINGPONG_DITHER, .base = 0x30e0,
451 .dither = {.name = "dither", .id = DPU_PINGPONG_DITHER, .base = 0xe0,
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Drs600.c166 enum radeon_connector_dither dither = RADEON_FMT_DITHER_DISABLE; in avivo_program_fmt() local
171 dither = radeon_connector->dither; in avivo_program_fmt()
183 if (dither == RADEON_FMT_DITHER_ENABLE) in avivo_program_fmt()
184 /* XXX sort out optimal dither settings */ in avivo_program_fmt()
190 if (dither == RADEON_FMT_DITHER_ENABLE) in avivo_program_fmt()
191 /* XXX sort out optimal dither settings */ in avivo_program_fmt()

Completed in 17 milliseconds

1234