diff options
| author | Daniel Vetter <[email protected]> | 2021-06-22 16:55:07 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-06-24 13:39:37 +0000 |
| commit | 942d8344d5f14b9ea2ae43756f319b9f44216ba4 (patch) | |
| tree | 2a010dfd3cb1065eec8d8dd68605edaf9b2a6371 /drivers/gpu/drm/omapdrm/omap_plane.c | |
| parent | drm/vram-helpers: Create DRM_GEM_VRAM_PLANE_HELPER_FUNCS (diff) | |
| download | kernel-942d8344d5f14b9ea2ae43756f319b9f44216ba4.tar.gz kernel-942d8344d5f14b9ea2ae43756f319b9f44216ba4.zip | |
drm/omap: Follow implicit fencing in prepare_fb
I guess no one ever tried running omap together with lima or panfrost,
not even sure that's possible. Anyway for consistency, fix this.
Reviewed-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_plane.c')
| -rw-r--r-- | drivers/gpu/drm/omapdrm/omap_plane.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_plane.c b/drivers/gpu/drm/omapdrm/omap_plane.c index 801da917507d..512af976b7e9 100644 --- a/drivers/gpu/drm/omapdrm/omap_plane.c +++ b/drivers/gpu/drm/omapdrm/omap_plane.c @@ -6,6 +6,7 @@ #include <drm/drm_atomic.h> #include <drm/drm_atomic_helper.h> +#include <drm/drm_gem_atomic_helper.h> #include <drm/drm_plane_helper.h> #include "omap_dmm_tiler.h" @@ -29,6 +30,8 @@ static int omap_plane_prepare_fb(struct drm_plane *plane, if (!new_state->fb) return 0; + drm_gem_plane_helper_prepare_fb(plane, new_state); + return omap_framebuffer_pin(new_state->fb); } |
