diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-09-14 15:19:55 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-23 14:39:16 +0200 |
commit | e8cb8d69d125f56fa3ba5239b215a56718e2ca44 (patch) | |
tree | 60579ce02786d22aa345e73267e59c473917566d /tools/perf/scripts/python/event_analyzing_sample.py | |
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ä <ville.syrjala@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions