From: Daniel Vetter Date: Wed, 29 Mar 2023 13:45:37 +0000 (+0200) Subject: Merge tag 'dma-fence-deadline' of https://gitlab.freedesktop.org/drm/msm into drm... X-Git-Tag: v6.6.17~4917^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=929ae7c2e3adbbb2c2bddcd16854a6b11b56e95a;p=platform%2Fkernel%2Flinux-rpi.git Merge tag 'dma-fence-deadline' of https://gitlab.freedesktop.org/drm/msm into drm-next This series adds a deadline hint to fences, so realtime deadlines such as vblank can be communicated to the fence signaller for power/ frequency management decisions. This is partially inspired by a trick i915 does, but implemented via dma-fence for a couple of reasons: 1) To continue to be able to use the atomic helpers 2) To support cases where display and gpu are different drivers See https://patchwork.freedesktop.org/series/93035/ This does not yet add any UAPI, although this will be needed in a number of cases: 1) Workloads "ping-ponging" between CPU and GPU, where we don't want the GPU freq governor to interpret time stalled waiting for GPU as "idle" time 2) Cases where the compositor is waiting for fences to be signaled before issuing the atomic ioctl, for example to maintain 60fps cursor updates even when the GPU is not able to maintain that framerate. Signed-off-by: Daniel Vetter From: Rob Clark Link: https://patchwork.freedesktop.org/patch/msgid/CAF6AEGt5nDQpa6J86V1oFKPA30YcJzPhAVpmF7N1K1g2N3c=Zg@mail.gmail.com --- 929ae7c2e3adbbb2c2bddcd16854a6b11b56e95a