compositor-drm: move backlight into drm_head
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Mon, 4 Sep 2017 09:21:24 +0000 (12:21 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 17 Apr 2018 12:57:41 +0000 (15:57 +0300)
commitce72424d296aa70d1e056a64a26a8bea29a1fa39
tree697d4b0a1ebcad66df9db6ea78ec9c2060973a9f
parenta0a3746a8a4febb5a807f6961a11cabb989f4277
compositor-drm: move backlight into drm_head

Backlight is driven per connector, hence it belongs in struct drm_head.

weston_output::set_backlight() API is remains per output so far. There
is no UI to control backlights per head and adding one would be
difficult for an output that has multiple cloned heads.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Derek Foreman <derekf@osg.samsung.com>
libweston/compositor-drm.c