2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-23 14:13:58 +08:00
linux-next/drivers/gpu/drm/meson
Maxime Ripard 05c452c115
drm: Remove users of drm_format_num_planes
drm_format_num_planes() is basically a lookup in the drm_format_info table
plus an access to the num_planes field of the appropriate entry.

Most drivers are using this function while having access to the entry
already, which means that we will perform an unnecessary lookup. Removing
the call to drm_format_num_planes is therefore more efficient.

Some drivers will not have access to that entry in the function, but in
this case the overhead is minimal (we just have to call drm_format_info()
to perform the lookup) and we can even avoid multiple, inefficient lookups
in some places that need multiple fields from the drm_format_info
structure.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5ffcec9d14a50ed538e37d565f546802452ee672.1558002671.git-series.maxime.ripard@bootlin.com
2019-05-20 13:32:57 +02:00
..
Kconfig drm/meson: Use optional canvas provider 2018-11-13 11:51:34 +01:00
Makefile drm/meson: exclusively use the canvas provider module 2019-03-20 09:28:39 +01:00
meson_crtc.c drm/meson: Add G12A support for plane handling in CRTC driver 2019-04-09 11:25:58 +02:00
meson_crtc.h
meson_drv.c drm-misc-next for v5.2: 2019-04-24 10:12:50 +10:00
meson_drv.h drm/meson: Add G12A support for plane handling in CRTC driver 2019-04-09 11:25:58 +02:00
meson_dw_hdmi.c Linux 5.1-rc5 2019-04-15 15:51:49 +10:00
meson_dw_hdmi.h drm/meson: Add G12A support for the DW-HDMI Glue 2019-04-09 11:26:08 +02:00
meson_overlay.c drm: Remove users of drm_format_num_planes 2019-05-20 13:32:57 +02:00
meson_overlay.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_plane.c drm/meson: Add G12A support for OSD1 Plane 2019-04-09 11:25:02 +02:00
meson_plane.h
meson_registers.h drm/meson: Add registers for G12A SoC 2019-04-09 11:24:48 +02:00
meson_vclk.c drm/meson: Add G12A Video Clock setup 2019-04-09 11:26:04 +02:00
meson_vclk.h drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_venc_cvbs.c drm/meson: Add G12A support for CVBS Encoder 2019-04-09 11:26:02 +02:00
meson_venc_cvbs.h
meson_venc.c drm/meson: Add G12A support for CVBS Encoder 2019-04-09 11:26:02 +02:00
meson_venc.h drm/meson: Make DMT timings parameters and pixel clock generic 2018-07-16 11:14:59 +02:00
meson_viu.c drm/meson: Make some functions static 2019-04-17 20:19:13 +02:00
meson_viu.h drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_vpp.c drm/meson: Add G12A Support for VPP setup 2019-04-09 11:24:54 +02:00
meson_vpp.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00