Lines Matching refs:src_w
97 uint32_t src_w, uint32_t src_h) in nv10_update_plane() argument
114 src_w >>= 16; in nv10_update_plane()
117 format = ALIGN(src_w * 4, 0x100); in nv10_update_plane()
123 if (crtc_w < (src_w >> 1) || crtc_h < (src_h >> 1)) in nv10_update_plane()
126 if (crtc_w < (src_w >> 3) || crtc_h < (src_h >> 3)) in nv10_update_plane()
141 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane()
143 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane()
348 uint32_t src_w, uint32_t src_h) in nv04_update_plane() argument
362 src_w >>= 16; in nv04_update_plane()
365 pitch = ALIGN(src_w * 4, 0x100); in nv04_update_plane()
374 if (crtc_w < src_w || crtc_h < src_h) in nv04_update_plane()
396 …(uint32_t)(((src_h - 1) << 11) / (crtc_h - 1)) << 16 | (uint32_t)(((src_w - 1) << 11) / (crtc_w - … in nv04_update_plane()