]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: backend: Set a default zpos in our reset hook
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Dec 2017 16:32:21 +0000 (17:32 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 29 Jan 2018 13:02:39 +0000 (14:02 +0100)
commitfb4d5803e3c6f129dc8661df11a94e12ed860f4d
treef8018bb862b1a633693baaf7b0f0baf6106f4e85
parentaf4fcd0fc9a23ce5ee86d5ac00b340db5d1be95a
drm/sun4i: backend: Set a default zpos in our reset hook

The plane state zpos value will be set only if there's an existing state
attached to the plane when creating the property.

However, this is not the case during the probe, and we therefore need to
put our default value in our reset hook.

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/b6a183234f0ad5a9a58c780c9cabbe29cbf40888.1516617243.git-series.maxime.ripard@free-electrons.com
drivers/gpu/drm/sun4i/sun4i_layer.c