]> git.baikalelectronics.ru Git - kernel.git/commit
drm: virtio-gpu: get the fb from the plane state for atomic updates
authorRob Herring <robh@kernel.org>
Wed, 13 Jan 2016 21:52:07 +0000 (15:52 -0600)
committerDave Airlie <airlied@redhat.com>
Wed, 10 Feb 2016 22:56:21 +0000 (08:56 +1000)
commit54a0914971aa7b76f0e2288d5ef89c5be7095b53
tree9d7894fbe310bccca55e437aaf8c3991a5da9757
parent31e60998c0c11f0133720088d615cdacf0e4f1b0
drm: virtio-gpu: get the fb from the plane state for atomic updates

When using the atomic API, plane->fb is not set when calling
virtio_gpu_plane_atomic_update. Use plane->state->fb instead.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/virtio/virtgpu_plane.c