linux/drivers/gpu/drm/vc4
Paul Kocialkowski 0ea3305d7c
drm/vc4: Limit SAND tiling support to semiplanar YUV420 formats
Despite what the HVS documentation indicates, the VC4 does not actually
support SAND tiling modes for any RGB format and only semiplanar YUV420
formats (NV12/NV21) can be used in these tiling modes.

The driver currently claims to support RGB formats for the associated
modifiers, so remove them from the supported list in the
format_mod_supported helper for RGB formats.

Remove further checks that are no longer necessary along the way, since
semi-planar YUV420 formats support every SAND tiling mode.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181214141218.12671-1-paul.kocialkowski@bootlin.com
2019-01-11 16:53:08 +01:00
..
Kconfig
Makefile
vc4_bo.c
vc4_crtc.c drm/vc4: Take margin setup into account when updating planes 2018-12-19 14:47:58 +01:00
vc4_debugfs.c
vc4_dpi.c
vc4_drv.c drm/vc4: Use drm_atomic_helper_shutdown 2018-10-05 18:04:10 +02:00
vc4_drv.h drm/vc4: Take margin setup into account when updating planes 2018-12-19 14:47:58 +01:00
vc4_dsi.c
vc4_fence.c
vc4_gem.c drm: revert "expand replace_fence to support timeline point v2" 2018-12-05 11:01:11 +01:00
vc4_hdmi.c drm/edid: Add display_info.rgb_quant_range_selectable 2019-01-10 19:01:06 +02:00
vc4_hvs.c
vc4_irq.c
vc4_kms.c drm/atomic: integrate modeset lock with private objects 2018-12-11 15:24:30 +01:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: Limit SAND tiling support to semiplanar YUV420 formats 2019-01-11 16:53:08 +01:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: Define missing PITCH0_SINK_PIX field 2018-10-24 17:58:08 +02:00
vc4_render_cl.c
vc4_trace.h
vc4_trace_points.c
vc4_txp.c
vc4_v3d.c
vc4_validate.c
vc4_validate_shaders.c
vc4_vec.c