]> git.baikalelectronics.ru Git - kernel.git/commit
drm: mxsfb: Factor out mxsfb_set_mode()
authorMarek Vasut <marex@denx.de>
Sun, 17 Apr 2022 02:07:59 +0000 (04:07 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 25 Apr 2022 22:01:55 +0000 (00:01 +0200)
commitbcff3955a1f70b030e875bd02411925336db57e7
treeb1e18e9d349fb81b94c8346d1225d46aacb4c0f6
parent65257d67cfecbab6ac89700c3f9fab6614f09515
drm: mxsfb: Factor out mxsfb_set_mode()

Pull mode registers programming from mxsfb_enable_controller() into
dedicated function mxsfb_set_mode(). This is a clean up. No functional
change.

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-3-marex@denx.de
drivers/gpu/drm/mxsfb/mxsfb_kms.c