drm: mxsfb: Replace mxsfb_get_fb_paddr() with drm_fb_cma_get_gem_addr()
authorMarek Vasut <marex@denx.de>
Sun, 17 Apr 2022 02:07:58 +0000 (04:07 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 25 Apr 2022 22:01:55 +0000 (00:01 +0200)
commitcb285a5348e768dbc8edfe28cc2be5ec0c7e1a33
tree116b349d8ce21ecb03a459a5f69ddc5223842ec1
parente518a9dc81d3de494640ba0ae2677d3d43a3709b
drm: mxsfb: Replace mxsfb_get_fb_paddr() with drm_fb_cma_get_gem_addr()

Replace mxsfb_get_fb_paddr() with drm_fb_cma_get_gem_addr() to correctly handle
FB offset.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Stein <alexander.stein@ew.tq-group.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Robby Cai <robby.cai@nxp.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Stefan Agner <stefan@agner.ch>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220417020800.336675-2-marex@denx.de
drivers/gpu/drm/mxsfb/mxsfb_kms.c