diff options
author | Maxime Ripard <maxime@cerno.tech> | 2021-01-11 11:44:01 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-01-21 14:11:04 +0300 |
commit | b99c2c95412c0b85accdafe9e32ba1e84d240f55 (patch) | |
tree | a9609c83ed6417525188a5389cf777ab7fdb2f25 /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | d1a73c641afd2617bd80bce8b71a096fc5b74b7e (diff) | |
download | linux-b99c2c95412c0b85accdafe9e32ba1e84d240f55.tar.xz |
drm: Introduce a drm_crtc_commit_wait helper
There's currently four users of the same logic to wait for a commit to
be flipped: three for the CRTCs, connectors and planes in
drm_atomic_helper_wait_for_dependencies, and one in vc4.
Let's consolidate this a bit to avoid any code duplication.
Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111084401.117152-1-maxime@cerno.tech
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
0 files changed, 0 insertions, 0 deletions