Home
last modified time | relevance | path

Searched refs:iW (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c151 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view()
188 asyh->view.oW = min(asyh->view.iW, asyh->view.oW); in nv50_head_atomic_check_view()
204 * inputAR = iW / iH; outputAR = oW / oH in nv50_head_atomic_check_view()
205 * outputAR > inputAR is equivalent to oW * iH > iW * oH in nv50_head_atomic_check_view()
207 if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) { in nv50_head_atomic_check_view()
209 u32 r = (asyh->view.iW << 19) / asyh->view.iH; in nv50_head_atomic_check_view()
213 u32 r = (asyh->view.iH << 19) / asyh->view.iW; in nv50_head_atomic_check_view()
H A Datom.h29 u16 iW; member
H A Dheadc37d.c265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headc37d_view()
H A Dhead507d.c417 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head507d_view()
H A Dhead907d.c397 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dhead.c151 asyh->view.iW = umode->hdisplay; in nv50_head_atomic_check_view()
188 asyh->view.oW = min(asyh->view.iW, asyh->view.oW); in nv50_head_atomic_check_view()
204 * inputAR = iW / iH; outputAR = oW / oH in nv50_head_atomic_check_view()
205 * outputAR > inputAR is equivalent to oW * iH > iW * oH in nv50_head_atomic_check_view()
207 if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) { in nv50_head_atomic_check_view()
209 u32 r = (asyh->view.iW << 19) / asyh->view.iH; in nv50_head_atomic_check_view()
213 u32 r = (asyh->view.iH << 19) / asyh->view.iW; in nv50_head_atomic_check_view()
H A Datom.h29 u16 iW; member
H A Dheadc37d.c265 NVVAL(NVC37D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in headc37d_view()
H A Dhead507d.c417 NVVAL(NV507D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head507d_view()
H A Dhead907d.c395 NVVAL(NV907D, HEAD_SET_VIEWPORT_SIZE_IN, WIDTH, asyh->view.iW) | in head907d_view()

Completed in 10 milliseconds