drm/vc4: Use drm_gem_fb_prepare_fb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Jun 2019 20:42:04 +0000 (22:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jun 2019 22:27:59 +0000 (00:27 +0200)
commit66ab700506e729e49ca13586a7b0201a1c2093af
tree02c658d72202eb3e0a612cd7624f4b1089c21b1e
parente78ad7654179f51e9ed99fe85358f4f3bbbda7bc
drm/vc4: Use drm_gem_fb_prepare_fb

vc4 has switched to using drm_fb->obj[], so we can just use the helper
unchanged.

v2: Make it compile ... oops.

Cc: Eric Anholt <eric@anholt.net>
Cc: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190625204208.5614-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/vc4/vc4_plane.c