diff options
author | Paulo Zanoni <[email protected]> | 2015-09-14 15:19:55 -0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-09-23 14:39:16 +0200 |
commit | e8cb8d69d125f56fa3ba5239b215a56718e2ca44 (patch) | |
tree | 60579ce02786d22aa345e73267e59c473917566d /lib/netdev-notifier-error-inject.c | |
parent | 7aefe2b50a0be5c85e7702bff110e5e187fbe4b5 (diff) |
drm/i915: fix the FBC work allocation failure path
Always update the currrent crtc, fb and vertical offset after calling
enable_fbc. We were forgetting to do so along the failure paths when
enabling fbc synchronously. Fix this with a new helper to enable_fbc()
and update the state simultaneously.
v2: Improve commit message (Chris).
v3: Constify struct drm_framebuffer (Ville).
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions