]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65257d67cfecbab6ac89700c3f9fab6614f09515
tree116b349d8ce21ecb03a459a5f69ddc5223842ec1
parent504647d34da004ba86aa7853b499389d687400d1
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