All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add missing format_mod_supported functions
@ 2021-12-21 10:13 ` José Expósito
  0 siblings, 0 replies; 30+ messages in thread
From: José Expósito @ 2021-12-21 10:13 UTC (permalink / raw)
  To: robdclark
  Cc: maarten.lankhorst, sean, airlied, daniel, tzimmermann, maxime,
	mripard, wens, jernej.skrabec, linux-arm-msm, dri-devel,
	freedreno, linux-arm-kernel, linux-sunxi, linux-kernel,
	José Expósito

Hi all,

When setting IN_FORMATS, implementing the
"drm_plane_funcs.format_mod_supported" function is mandatory to avoid
exposing a bogus blob.

This patchset adds a bit of documentation and fixes the issue in a
couple of drivers affected by the bug.

I reviewed all the other drivers and I didn't find more instances of
the issue.

Jose

José Expósito (3):
  drm/plane: Mention format_mod_supported in IN_FORMATS docs
  drm/msm/mdp4: Add format_mod_supported function
  drm/sun4i: Add format_mod_supported function

 drivers/gpu/drm/drm_plane.c                | 7 +++++--
 drivers/gpu/drm/msm/disp/mdp4/mdp4_plane.c | 8 ++++++++
 drivers/gpu/drm/sun4i/sun8i_ui_layer.c     | 7 +++++++
 drivers/gpu/drm/sun4i/sun8i_vi_layer.c     | 7 +++++++
 4 files changed, 27 insertions(+), 2 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2021-12-21 12:52 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 10:13 [PATCH 0/3] Add missing format_mod_supported functions José Expósito
2021-12-21 10:13 ` José Expósito
2021-12-21 10:13 ` José Expósito
2021-12-21 10:13 ` [PATCH 1/3] drm/plane: Mention format_mod_supported in IN_FORMATS docs José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:33   ` Simon Ser
2021-12-21 10:33     ` Simon Ser
2021-12-21 10:33     ` Simon Ser
2021-12-21 10:48   ` Dmitry Baryshkov
2021-12-21 10:48     ` Dmitry Baryshkov
2021-12-21 10:48     ` Dmitry Baryshkov
2021-12-21 10:50     ` Simon Ser
2021-12-21 10:50       ` Simon Ser
2021-12-21 10:50       ` Simon Ser
2021-12-21 12:33       ` Dmitry Baryshkov
2021-12-21 12:33         ` Dmitry Baryshkov
2021-12-21 12:33         ` Dmitry Baryshkov
2021-12-21 12:50         ` Simon Ser
2021-12-21 12:50           ` Simon Ser
2021-12-21 12:50           ` Simon Ser
2021-12-21 10:13 ` [PATCH 2/3] drm/msm/mdp4: Add format_mod_supported function José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:13 ` [PATCH 3/3] drm/sun4i: " José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:13   ` José Expósito
2021-12-21 10:50 ` [PATCH 0/3] Add missing format_mod_supported functions Dmitry Baryshkov
2021-12-21 10:50   ` Dmitry Baryshkov
2021-12-21 10:50   ` Dmitry Baryshkov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.