weston/libweston/backend-drm
Sören Meier edef874696 libbacklight: Fix backlight never gets initialized
In 913d7c15f7 stricter error checking was
introduced to the strtol call, which broke reading backlight values.
Since every sysfs backlight file ends with a newline.

As noted in a comment in the previous MR to prevent damaged pointers
after calling asprintf, replace every asprintf call with str_printf.

Previous-MR: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/543

Signed-off-by: Sören Meier <soerenmeier@livgood.ch>
2022-04-11 08:38:00 +03:00
..
drm-gbm.c backend-drm/drm-gbm: gbm_device_destroy on an invalid gbm device 2022-01-12 13:52:26 +00:00
drm-internal.h compositor: remove repaint_data from compositor 2022-04-06 12:47:05 +02:00
drm-virtual.c compositor: remove repaint_data from compositor 2022-04-06 12:47:05 +02:00
drm.c compositor: remove repaint_data from compositor 2022-04-06 12:47:05 +02:00
fb.c backend-drm: Don't try cursor buffers for client planes 2022-02-01 23:12:11 +00:00
kms.c Fix TTY switching after failed failed repaint with legacy mode set. 2021-09-29 12:17:58 +00:00
libbacklight.c libbacklight: Fix backlight never gets initialized 2022-04-11 08:38:00 +03:00
libbacklight.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00
meson.build libweston/backend/drm: might need EGL 2020-10-26 15:44:34 +01:00
modes.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
state-helpers.c backend-drm: Move fb -> buffer reference to plane state 2021-12-08 13:38:18 +00:00
state-propose.c compositor: remove repaint_data from compositor 2022-04-06 12:47:05 +02:00
vaapi-recorder.c drm/vaapi: Fix pointer-size confusion 2021-08-03 11:13:23 +00:00
vaapi-recorder.h backend-drm: move into new subdir 2019-05-16 13:32:34 +01:00