Re: [PATCH RFC 1/3] drm: Add drm_plane_add_modifiers()

2021-05-11 Thread Daniel Vetter
On Mon, May 10, 2021 at 09:49:38PM -0400, Tina Zhang wrote: > Add a function to add modifiers to a plane. > > Signed-off-by: Tina Zhang For one, new functions for drivers needs kerneldoc. But the real issue here is that you're suppoed to supply the modifiers when creating the plane, not later o

[PATCH RFC 1/3] drm: Add drm_plane_add_modifiers()

2021-05-10 Thread Tina Zhang
Add a function to add modifiers to a plane. Signed-off-by: Tina Zhang --- drivers/gpu/drm/drm_plane.c | 41 + include/drm/drm_plane.h | 3 +++ 2 files changed, 44 insertions(+) diff --git a/drivers/gpu/drm/drm_plane.c b/drivers/gpu/drm/drm_plane.c index