drm/msm: Use drm_gem_fb_prepare_fb
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Jun 2019 20:42:03 +0000 (22:42 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jun 2019 22:27:59 +0000 (00:27 +0200)
commite78ad7654179f51e9ed99fe85358f4f3bbbda7bc
tree9759b935168c032ea16b746298e8571864ca9fdb
parentbd630a86be381992fac99f9ab82c5c5b43a5ee3b
drm/msm: Use drm_gem_fb_prepare_fb

msm has switched over to drm_fb->obj[] a while ago already, so we can
just use the helper.

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>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: Jeykumar Sankaran <jsanka@codeaurora.org>
Cc: Jordan Crouse <jcrouse@codeaurora.org>
Cc: Bruce Wang <bzwang@chromium.org>
Cc: Fritz Koenig <frkoenig@google.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20190625204208.5614-3-daniel.vetter@ffwll.ch
drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c
drivers/gpu/drm/msm/msm_atomic.c