diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-09 19:07:26 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-10 14:02:15 +0200 |
commit | 2622a08108b07fdb6ad74c46fc05e445e8be94bf (patch) | |
tree | a438acc7bbab2056a11342b5266edb4f46cc4909 /kernel/locking/rtmutex-debug.h | |
parent | caed361d83b204b7766924b80463bf7502ee7986 (diff) | |
download | kernel_replicant_linux-2622a08108b07fdb6ad74c46fc05e445e8be94bf.tar.gz kernel_replicant_linux-2622a08108b07fdb6ad74c46fc05e445e8be94bf.tar.bz2 kernel_replicant_linux-2622a08108b07fdb6ad74c46fc05e445e8be94bf.zip |
drm/i915: Wait for vblank after cxsr disable in pre_plane_update
We must wait for the hardware to exit cxsr before doing the plane
update, so add the missing vblank wait to pre_plane_update after
disabling cxsr.
We have the wait for vblank in the pre_disable_primary hook, but not in
the pre_plane_update hook. Just move the code from (and comment) from
pre_disable_primary into pre_plane_update. Well, we still have to keep
it in pre_disable_primary for these strange _noatomic codepaths, so
let's do another version of pre_disable_primary for those. Also toss
in some FIXMEs in the hope that someone will eventually clean up this
pre_disable_primary mess.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457543247-13987-5-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.h')
0 files changed, 0 insertions, 0 deletions