drm/tidss: Add prepare_fb to the plane helper funcs
Subsystems (3)
PATCH 1/1 drm/tidss: Add prepare_fb to the plane helper funcs
From: Gowtham Tammana <[email protected]>
drm_gem_fb_prepare_fb() extracts fence and attaches to plane state. The fence info is needed if implicit fencing is used. Add this as prepare_fb function pointer to plane helper funcs.
Signed-off-by Gowtham Tammana <[email protected]>
Signed-off-by Tomi Valkeinen <[email protected]>
--- drivers/gpu/drm/tidss/tidss_plane.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/tidss/tidss_plane.c +2 -0
@@ -10,6 +10,7 @@#include <drm/drm_crtc_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_fb_cma_helper.h> +#include <drm/drm_gem_framebuffer_helper.h> #include "tidss_crtc.h" #include "tidss_dispc.h"
@@ -150,6 +151,7 @@ static void drm_plane_destroy(struct drm_plane *plane) }static const struct drm_plane_helper_funcs tidss_plane_helper_funcs = { + .prepare_fb = drm_gem_fb_prepare_fb, .atomic_check = tidss_plane_atomic_check, .atomic_update = tidss_plane_atomic_update, .atomic_disable = tidss_plane_atomic_disable,
Signature · 7 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Gowtham,
Thank you for the patch.
Quoted 8 lines · Tomi Valkeinen
From: Gowtham Tammana <[email protected]>
drm_gem_fb_prepare_fb()extracts fence and attaches to plane state. The fence info is needed if implicit fencing is used. Add this asprepare_fbfunction pointer to plane helper funcs.Signed-off-by Gowtham Tammana <[email protected]>Signed-off-by Tomi Valkeinen <[email protected]>
Reviewed-by Laurent Pinchart <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/tidss/tidss_plane.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/tidss/tidss_plane.c +2
-0@@ -10,6 +10,7 @@#include <drm/drm_crtc_helper.h> #include <drm/drm_fourcc.h> #include <drm/drm_fb_cma_helper.h> +#include <drm/drm_gem_framebuffer_helper.h> #include "tidss_crtc.h" #include "tidss_dispc.h" @@ -150,6 +151,7 @@ static void drm_plane_destroy(struct drm_plane *plane) }static const struct drm_plane_helper_funcs tidss_plane_helper_funcs = { + .prepare_fb = drm_gem_fb_prepare_fb, .atomic_check = tidss_plane_atomic_check, .atomic_update = tidss_plane_atomic_update, .atomic_disable = tidss_plane_atomic_disable,
Signature · 7 lines
Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel