mirror_ubuntu-kernels/drivers/gpu/drm/vc4
Dom Cobley 517db1ab15
drm/vc4: plane: Remove subpixel positioning check
There is little harm in ignoring fractional coordinates
(they just get truncated).

Without this:
modetest -M vc4 -F tiles,gradient -s 32:1920x1080-60 -P89@74:1920x1080*.1.1@XR24

is rejected. We have the same issue in Kodi when trying to
use zoom options on video.

Note: even if all coordinates are fully integer. e.g.
src:[0,0,1920,1080] dest:[-10,-10,1940,1100]

it will still get rejected as drm_atomic_helper_check_plane_state
uses drm_rect_clip_scaled which transforms this to fractional src coords

Fixes: 21af94cf1a ("drm/vc4: Add support for scaling of display planes.")
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-5-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2022-06-28 14:55:02 +02:00
..
Kconfig Linux 5.18-rc5 2022-05-03 16:08:48 +10:00
Makefile
vc4_bo.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4_crtc.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4_debugfs.c drm/vc4: Leverage the load tracker on the BCM2711 2021-11-04 10:36:25 +01:00
vc4_dpi.c drm/vc4: dpi: Switch to devm_drm_of_get_bridge 2021-09-14 10:39:30 +02:00
vc4_drv.c drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component 2022-06-28 14:54:45 +02:00
vc4_drv.h drm/vc4: hvs: Use pointer to HVS in HVS_READ and HVS_WRITE macros 2022-04-06 15:18:01 +02:00
vc4_dsi.c drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage 2022-04-21 09:09:24 +02:00
vc4_fence.c
vc4_gem.c drm/vc4: Use newer fence API properly to fix build errors 2022-04-07 15:26:06 +02:00
vc4_hdmi_phy.c drm/vc4: hdmi: Rename pixel_rate variable 2022-03-24 13:43:59 +01:00
vc4_hdmi_regs.h drm/vc4: hdmi: Support HDMI YUV output 2022-03-24 13:44:00 +01:00
vc4_hdmi.c drm for 5.19-rc1 2022-05-25 16:18:27 -07:00
vc4_hdmi.h drm/vc4: hdmi: Remove vc4_hdmi_encoder 2022-04-21 09:01:16 +02:00
vc4_hvs.c drm/vc4: hvs: Reset muxes at probe time 2022-04-08 13:38:06 +02:00
vc4_irq.c drm/vc4: add tracepoints for CL submissions 2022-03-17 15:12:25 +01:00
vc4_kms.c drm/vc4: kms: Use maximum FIFO load for the HVS clock rate 2022-06-28 14:54:56 +02:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: plane: Remove subpixel positioning check 2022-06-28 14:55:02 +02:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: drop unexpected word "the" in the comments 2022-06-22 09:22:55 +02:00
vc4_render_cl.c
vc4_trace_points.c
vc4_trace.h drm/vc4: add tracepoints for CL submissions 2022-03-17 15:12:25 +01:00
vc4_txp.c drm: Drop drm_framebuffer.h from drm_crtc.h 2022-06-20 23:53:55 +03:00
vc4_v3d.c drm/vc4: Convert to Linux IRQ interfaces 2021-08-10 20:13:53 +02:00
vc4_validate_shaders.c
vc4_validate.c
vc4_vec.c drm/vc4: Separate VEC compatible variants 2021-05-24 13:52:33 +02:00