Re: [PATCH] drm/repaper: Do not access GEM-DMA vaddr directly

2025-07-11 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > Use DRM's shadow-plane helper to map and access the GEM object's buffer > within kernel address space. Encasulates the vmap logic in the GEM-DMA > helpers. > > The repaper driver currently reads the vaddr field from the GME buffer > object directly. This only works bec

Re: [PATCH] drm/repaper: Do not access GEM-DMA vaddr directly

2025-07-07 Thread Thomas Zimmermann
ping for a review Am 27.06.25 um 17:24 schrieb Thomas Zimmermann: Use DRM's shadow-plane helper to map and access the GEM object's buffer within kernel address space. Encasulates the vmap logic in the GEM-DMA helpers. The repaper driver currently reads the vaddr field from the GME buffer object

[PATCH] drm/repaper: Do not access GEM-DMA vaddr directly

2025-06-27 Thread Thomas Zimmermann
Use DRM's shadow-plane helper to map and access the GEM object's buffer within kernel address space. Encasulates the vmap logic in the GEM-DMA helpers. The repaper driver currently reads the vaddr field from the GME buffer object directly. This only works because GEM code 'automagically' sets vadd