diff options
| author | 2015-09-23 13:27:08 +0200 | |
|---|---|---|
| committer | 2015-10-19 11:31:41 +0200 | |
| commit | 1ee493991470bcae58e716ba24d6d4eb9ad612ab (patch) | |
| tree | eeb0ab9b58171012a81eef72cea5e1adb8a24a42 /scripts/patch-kernel | |
| parent | drm/i915/skl: Making DC6 entry is the last call in suspend flow. (diff) | |
drm/i915: Make plane fb tracking work correctly, v2.
atomic->disabled_planes is a hack that had to exist because
prepare_fb was only called when a new fb was set. This messed
up fb tracking in some circumstances like aborts from
interruptible waits. As a result interruptible waiting in
prepare_plane_fb was forbidden, but other errors could still
cause frontbuffer tracking to be messed up.
Now that prepare_fb is always called, this hack is no longer
required and prepare_fb may fail without consequences.
Changes since v1:
- Clean up a few fb tracking warnings by changing plane->fb to
plane->state->fb.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
