]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: backend: Move the coord function in the shared part
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Dec 2017 16:34:26 +0000 (17:34 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 29 Jan 2018 13:02:38 +0000 (14:02 +0100)
commit3fba022f4445023a2c35eca954219a542b8c99e2
tree72f058ef01d02f155293150ddfd411df2678b86c
parent1b8bec3087b8002e8a5c107821a8344eaa2a7464
drm/sun4i: backend: Move the coord function in the shared part

The function supposed to update a plane's coordinates is called in both
branches of our function. Let's move it out the if statement.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/2cd57bcf13652109da7bd5bbe12fa1d29429f02f.1516617243.git-series.maxime.ripard@free-electrons.com
drivers/gpu/drm/sun4i/sun4i_layer.c