drm/atomic-helper: WARN if fake_commit->hw_done is not completed as expected
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 Nov 2018 14:34:12 +0000 (16:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 23 Nov 2018 12:46:58 +0000 (14:46 +0200)
commit10a599fabbe54a0159b5b706aaad608400acd599
treea81575aa07050b0c8f09a343b8d9fab53733382b
parent2de42f79bb21a412f40ade8831eb6fc445cb78a4
drm/atomic-helper: WARN if fake_commit->hw_done is not completed as expected

For real commits we WARN if ->hw_done hasn't been completed by the time
drm_atomic_helper_commit_cleanup_done() is called. Let's do the same for
the fake commit.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181122143412.11655-2-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/drm_atomic_helper.c