weston/libweston/backend-drm
Michael Tretter 7887d3fb48 backend-drm: import GBM bo to scanout device if necessary
If the GBM bo was allocated on a different device than the device that is used
for the fb, we have to import the fd first and update the handle.

Use drmPrimeFDToHandle directly instead of using a gbm device for the scanout
device, since a gbm device would require a gbm implementation, which is often
not available for devices that only support scanout.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
2023-03-03 08:08:46 +00:00
..
drm-gbm.c backend-drm: use linear buffers if gbm and kms device differ 2023-03-03 08:08:46 +00:00
drm-internal.h backend-drm: import GBM bo to scanout device if necessary 2023-03-03 08:08:46 +00:00
drm-virtual.c backend-drm/drm-virtual: Hang off the drm_backend 2023-02-20 12:41:03 +02:00
drm.c backend-drm: import GBM bo to scanout device if necessary 2023-03-03 08:08:46 +00:00
fb.c backend-drm: import GBM bo to scanout device if necessary 2023-03-03 08:08:46 +00:00
kms-color.c Revert "backend-drm: add HDR_OUTPUT_METADATA definitions" 2022-06-07 09:35:14 +01:00
kms.c backend-drm: Set rotation property on planes when possible 2023-02-02 12:25:56 -06: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 backend-drm: import GBM bo to scanout device if necessary 2023-03-03 08:08:46 +00:00
modes.c backend-drm: get the drm device from the output 2022-06-03 09:17:49 +02:00
state-helpers.c drm-backend: Enable plane rotations 2023-02-02 12:25:56 -06:00
state-propose.c drm-backend: Enable plane rotations 2023-02-02 12:25:56 -06: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