/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/ |
D | head.c | 47 if (clr.olut) head->func->olut_clr(head); in nv50_head_flush_clr() 56 if (asyh->set.olut ) { in nv50_head_flush_set_wndw() 57 asyh->olut.offset = nv50_lut_load(&head->olut, in nv50_head_flush_set_wndw() 58 asyh->olut.buffer, in nv50_head_flush_set_wndw() 60 asyh->olut.load); in nv50_head_flush_set_wndw() 233 struct drm_property_blob *olut = asyh->state.gamma_lut, in nv50_head_atomic_check_lut() local 248 if (olut) { in nv50_head_atomic_check_lut() 252 if (asyh->wndw.olut) { in nv50_head_atomic_check_lut() 256 if (asyh->wndw.olut != asyh->wndw.mask) in nv50_head_atomic_check_lut() 258 olut = NULL; in nv50_head_atomic_check_lut() [all …]
|
D | headc57d.c | 108 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, INTERPOLATE, asyh->olut.output_mode) | in headc57d_olut_set() 110 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, MODE, asyh->olut.mode) | in headc57d_olut_set() 111 NVVAL(NVC57D, HEAD_SET_OLUT_CONTROL, SIZE, asyh->olut.size), in headc57d_olut_set() 114 HEAD_SET_CONTEXT_DMA_OLUT(i), asyh->olut.handle, in headc57d_olut_set() 115 HEAD_SET_OFFSET_OLUT(i), asyh->olut.offset >> 8); in headc57d_olut_set() 178 asyh->olut.mode = NVC57D_HEAD_SET_OLUT_CONTROL_MODE_DIRECT10; in headc57d_olut() 179 asyh->olut.size = 4 /* VSS header. */ + 1024 + 1 /* Entries. */; in headc57d_olut() 180 asyh->olut.output_mode = NVC57D_HEAD_SET_OLUT_CONTROL_INTERPOLATE_ENABLE; in headc57d_olut() 182 asyh->olut.load = headc57d_olut_load_8; in headc57d_olut() 184 asyh->olut.load = headc57d_olut_load; in headc57d_olut() [all …]
|
D | headc37d.c | 186 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, SIZE, asyh->olut.size) | in headc37d_olut_set() 187 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, RANGE, asyh->olut.range) | in headc37d_olut_set() 188 NVVAL(NVC37D, HEAD_SET_CONTROL_OUTPUT_LUT, OUTPUT_MODE, asyh->olut.output_mode), in headc37d_olut_set() 190 HEAD_SET_OFFSET_OUTPUT_LUT(i), asyh->olut.offset >> 8, in headc37d_olut_set() 191 HEAD_SET_CONTEXT_DMA_OUTPUT_LUT(i), asyh->olut.handle); in headc37d_olut_set() 201 asyh->olut.size = size == 1024 ? NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_SIZE_SIZE_1025 : in headc37d_olut() 203 asyh->olut.range = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_RANGE_UNITY; in headc37d_olut() 204 asyh->olut.output_mode = NVC37D_HEAD_SET_CONTROL_OUTPUT_LUT_OUTPUT_MODE_INTERPOLATE; in headc37d_olut() 205 asyh->olut.load = head907d_olut_load; in headc37d_olut() 287 .olut = headc37d_olut,
|
D | head827d.c | 139 NVVAL(NV827D, HEAD_SET_BASE_LUT_LO, MODE, asyh->olut.mode) | in head827d_olut_set() 143 NVVAL(NV827D, HEAD_SET_BASE_LUT_HI, ORIGIN, asyh->olut.offset >> 8)); in head827d_olut_set() 145 PUSH_MTHD(push, NV827D, HEAD_SET_CONTEXT_DMA_LUT(i), asyh->olut.handle); in head827d_olut_set() 153 .olut = head507d_olut,
|
D | head507d.c | 242 asyh->set.olut = asyh->olut.handle != 0; in head507d_core_set() 305 NVVAL(NV507D, HEAD_SET_BASE_LUT_LO, MODE, asyh->olut.mode) | in head507d_olut_set() 309 NVVAL(NV507D, HEAD_SET_BASE_LUT_HI, ORIGIN, asyh->olut.offset >> 8)); in head507d_olut_set() 337 asyh->olut.mode = NV507D_HEAD_SET_BASE_LUT_LO_MODE_LORES; in head507d_olut() 339 asyh->olut.mode = NV507D_HEAD_SET_BASE_LUT_LO_MODE_HIRES; in head507d_olut() 341 asyh->olut.load = head507d_olut_load; in head507d_olut() 434 .olut = head507d_olut,
|
D | atom.h | 25 u32 olut; member 65 } olut; member 135 bool olut:1; member
|
D | head907d.c | 275 NVVAL(NV907D, HEAD_SET_OUTPUT_LUT_LO, MODE, asyh->olut.mode) | in head907d_olut_set() 279 NVVAL(NV907D, HEAD_SET_OUTPUT_LUT_HI, ORIGIN, asyh->olut.offset >> 8)); in head907d_olut_set() 281 PUSH_MTHD(push, NV907D, HEAD_SET_CONTEXT_DMA_LUT(i), asyh->olut.handle); in head907d_olut_set() 309 asyh->olut.mode = NV907D_HEAD_SET_OUTPUT_LUT_LO_MODE_INTERPOLATE_1025_UNITY_RANGE; in head907d_olut() 311 asyh->olut.mode = NV907D_HEAD_SET_OUTPUT_LUT_LO_MODE_INTERPOLATE_257_UNITY_RANGE; in head907d_olut() 313 asyh->olut.load = head907d_olut_load; in head907d_olut() 416 .olut = head907d_olut,
|
D | head.h | 18 struct nv50_lut olut; member 31 bool (*olut)(struct nv50_head *, struct nv50_head_atom *, int); member
|
D | head917d.c | 121 .olut = head907d_olut,
|
D | wndw.c | 393 asyh->wndw.olut |= BIT(wndw->id); in nv50_wndw_atomic_check_lut() 395 asyh->wndw.olut &= ~BIT(wndw->id); in nv50_wndw_atomic_check_lut()
|