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)
commit11c94ace5e25a1b6d12184b1a6f54ef4dc75aa62
tree9d7894fbe310bccca55e437aaf8c3991a5da9757
parent8b9f089f5378c1573582153e23a485edb0cc3d17
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