Commits on Source (7)
-
The faked z position must be created for each device. Therefore, the device itself must be passed to the function. If only the backend is passed, the faked z position would be only created for the primary device. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
a8fb3293 -
Weston uses a cached drm_fb when a view is shown multiple times. If the view is shown on multiple outputs backed by different DRM devices, Weston returns the cached drm_fb for the first device that was used for the import. This causes a failure when adding the fb to the other device. Use a list of all drm_fbs to cache the buf_fb per device, and check for the device before reusing a drm_fb. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
f0502912 -
The hash table implementation is useful for other modules as well. Move it from xwayland to the shared code. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
48b39d31 -
If we are using multiple GPUs and are not able to use modifiers to ensure that the formats are compatible, we have to use linear buffers for the transfer. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
575804c7 -
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>
7887d3fb -
Additional devices don't have a gbm device. Therefore, we cannot create gbm bos for the cursor. If the output device differs from the gbm device, fall back to the allocation of a dumb buffer for the cursor on the output device. Update the cursor sprite with a memcpy to the already mapped dumb buffer that belongs to the current cursor. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
3f9f4277 -
Add the --additional-devices parameter to Weston to add secondary drm devices that will only be used as outputs, but not for rendering. We can only fail the repaint for the entire backend, but not for single devices. Thus, if one of the devices fail, we have to fail the repaint for the entire backend. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
3c6cfe6b
File moved
File moved