linux/drivers/gpu/drm
Tomi Valkeinen bb5f268b76 drm/rcar-du: Write DPTSR only if the second source exists
Currently the driver always writes DPTSR when setting up the hardware.
However, writing the register is only meaningful when the second source
for a plane is used, and the register is not even documented for SoCs
that do not have the second source.

So move the write behind a condition.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> # On R-Car M3-N
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241217-rcar-gh-dsi-v5-2-e77421093c05@ideasonboard.com
2024-12-17 15:12:35 +02:00
..
amd drm/amd/display: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
arm Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
armada Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
aspeed Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
ast drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
atmel-hlcdc Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
bridge drm/bridge: ite-it66121: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
ci drm/ci: remove update-xfails.py 2024-11-05 10:50:55 -03:00
clients drm/log: select CONFIG_FONT_SUPPORT 2024-12-12 18:26:32 +01:00
display Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
etnaviv Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
exynos drm/exynos: hdmi: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
fsl-dcu drm/fsl-dcu: Include <linux/of.h> 2024-12-13 15:20:40 +01:00
gma500 drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
gud drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
hisilicon Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
hyperv drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
i2c drm: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-12-13 09:27:46 -08:00
i915 drm/i915/audio: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
imagination Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
imx Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
ingenic Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
kmb Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
lib drm/lib: Include <linux/prandom.h> instead of <linux/random.h> 2024-10-03 18:19:38 +02:00
lima Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
logicvc Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
loongson drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
mcde Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
mediatek Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
meson Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
mgag200 drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
msm drm/msm/dp: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
mxsfb Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
nouveau Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
omapdrm Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
panel drm/panel: panel-samsung-s6e63m0: Include <linux/property.h> 2024-12-13 15:21:02 +01:00
panfrost Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
panthor drm/panthor: Report innocent group kill 2024-12-17 10:56:12 +01:00
pl111 drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
qxl drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
radeon drm/radeon: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
renesas drm/rcar-du: Write DPTSR only if the second source exists 2024-12-17 15:12:35 +02:00
rockchip drm/rockchip: vop2: Fix the windows switch between different layers 2024-12-15 00:05:45 +01:00
scheduler drm/sched: Improve teardown documentation 2024-11-07 10:05:54 +01:00
solomon Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
sprd Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
sti drm/sti: hdmi: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
stm Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
sun4i Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
tegra Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
tests drm/display: hdmi: add generic mode_valid helper 2024-12-05 14:36:01 +02:00
tidss Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
tilcdc Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
tiny drm/tiny: panel-mipi-dbi: Include <linux/of.h> 2024-12-13 15:21:02 +01:00
ttm drm/ttm: use GEM references for VM mappings 2024-12-03 18:02:13 +01:00
tve200 Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
udl drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
v3d drm/v3d: Fix miscellaneous documentation errors 2024-12-11 10:06:14 -03:00
vboxvideo drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
vc4 drm/vc4: hdmi: use eld_mutex to protect access to connector->eld 2024-12-16 18:02:08 +02:00
vgem drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
virtio Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
vkms drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
vmwgfx Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
xe Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2024-12-09 16:35:21 +01:00
xen drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
xlnx drm: zynqmp_dp: Fix integer overflow in zynqmp_dp_rate_get() 2024-12-16 12:03:30 +02:00
Kconfig drm/panic: Move drawing functions to drm_draw 2024-12-10 14:36:41 +01:00
Makefile drm/panic: Move drawing functions to drm_draw 2024-12-10 14:36:41 +01:00
drm_atomic.c drm/atomic: add interlaced and ycbcr_420 flags to connector's state dump 2024-10-24 22:42:25 +03:00
drm_atomic_helper.c drm/panic: Fix uninitialized spinlock acquisition with CONFIG_DRM_PANIC=n 2024-09-16 19:03:29 -04:00
drm_atomic_state_helper.c
drm_atomic_uapi.c drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS 2024-09-25 12:35:05 +02:00
drm_auth.c
drm_blend.c
drm_bridge.c
drm_buddy.c drm/buddy: Add start address support to trim function 2024-08-07 18:19:00 -04:00
drm_cache.c
drm_client.c drm/client: Move client event handlers to drm_client_event.c 2024-10-18 09:23:03 +02:00
drm_client_event.c drm/client: Make client support optional 2024-10-18 09:23:03 +02:00
drm_client_modeset.c drm/client: Extract drm_connector_first_mode() 2024-10-03 08:02:23 +03:00
drm_color_mgmt.c minmax: add a few more MIN_T/MAX_T users 2024-07-28 13:41:14 -07:00
drm_connector.c drm/connector: add mutex to protect ELD from concurrent access 2024-12-16 18:02:07 +02:00
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h drm/panic: Add a QR code panic screen 2024-08-23 16:55:35 +02:00
drm_damage_helper.c
drm_debugfs.c drm/client: Make client support optional 2024-10-18 09:23:03 +02:00
drm_debugfs_crc.c
drm_displayid.c drm/edid: reduce DisplayID log spamming 2024-08-14 10:19:09 +03:00
drm_displayid_internal.h
drm_draw.c drm/panic: Move drawing functions to drm_draw 2024-12-10 14:36:41 +01:00
drm_draw_internal.h drm/panic: Move drawing functions to drm_draw 2024-12-10 14:36:41 +01:00
drm_drv.c drm/client: Move client event handlers to drm_client_event.c 2024-10-18 09:23:03 +02:00
drm_dumb_buffers.c
drm_edid.c drm/connector: add mutex to protect ELD from concurrent access 2024-12-16 18:02:07 +02:00
drm_edid_load.c
drm_eld.c
drm_encoder.c
drm_encoder_slave.c
drm_exec.c mm: kvmalloc: align kvrealloc() with krealloc() 2024-09-01 20:25:44 -07:00
drm_fb_dma_helper.c
drm_fb_helper.c drm/fbdev: fix drm_fb_helper_deferred_io() build failure 2024-10-22 10:46:28 +02:00
drm_fbdev_dma.c Backmerge v6.12-rc6 of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next 2024-11-04 14:25:33 +10:00
drm_fbdev_shmem.c drm/fbdev-shmem: Remove obsolete setup function 2024-09-26 09:31:28 +02:00
drm_fbdev_ttm.c drm/fbdev-ttm: Remove obsolete setup function 2024-09-26 09:31:29 +02:00
drm_file.c drm: use ATOMIC64_INIT() for atomic64_t 2024-11-05 14:12:32 +02:00
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c drm/fbdev-helper: Move color-mode lookup into 4CC format helper 2024-09-26 08:27:49 +02:00
drm_framebuffer.c - The series "resource: A couple of cleanups" from Andy Shevchenko 2024-11-25 16:09:48 -08:00
drm_gem.c drm/gem: Create a drm_gem_object_init_with_mnt() function 2024-09-25 08:40:20 -03:00
drm_gem_atomic_helper.c
drm_gem_dma_helper.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
drm_gem_framebuffer_helper.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
drm_gem_shmem_helper.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
drm_gem_ttm_helper.c
drm_gem_vram_helper.c drm/gem-vram: Remove support for simple display pipelines 2024-09-06 14:41:38 +02:00
drm_gpuvm.c
drm_internal.h drm/client: Make client support optional 2024-10-18 09:23:03 +02:00
drm_ioc32.c
drm_ioctl.c drm: add DRM_SET_CLIENT_NAME ioctl 2024-10-08 10:00:30 +02:00
drm_kms_helper_common.c
drm_lease.c
drm_managed.c
drm_mipi_dbi.c
drm_mipi_dsi.c drm/mipi-dsi: fix kernel doc on mipi_dsi_compression_mode_multi 2024-10-10 14:22:43 +02:00
drm_mm.c drm/mm: annotate drm_mm_node_scanned_block() with __maybe_unused 2024-09-04 12:15:46 +03:00
drm_mode_config.c
drm_mode_object.c drm/tests: Add test for drm_framebuffer_free() 2024-09-11 14:17:11 +02:00
drm_modes.c drm/modes: Fix drm_mode_vrefres() docs 2024-12-14 00:23:45 +02:00
drm_modeset_helper.c drm/client: Move suspend/resume into DRM client callbacks 2024-10-18 09:23:03 +02:00
drm_modeset_lock.c
drm_of.c gpu: drm: replace of_graph_get_next_endpoint() 2024-11-12 13:05:35 +01:00
drm_panel.c drm/panel: Include <linux/of.h> 2024-12-13 15:21:02 +01:00
drm_panel_backlight_quirks.c drm: panel-backlight-quirks: Add Framework 13 glossy and 2.8k panels 2024-11-21 09:28:15 -06:00
drm_panel_orientation_quirks.c drm for 6.13-rc1 2024-11-21 14:56:17 -08:00
drm_panic.c drm/panic: Move drawing functions to drm_draw 2024-12-10 14:36:41 +01:00
drm_panic_qr.rs drm/panic: allow verbose version check 2024-10-20 23:05:17 +02:00
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
drm_print.c drm/print: Introduce drm_line_printer 2024-10-07 18:34:45 -07:00
drm_privacy_screen.c
drm_privacy_screen_x86.c
drm_probe_helper.c drm/client: Move client event handlers to drm_client_event.c 2024-10-18 09:23:03 +02:00
drm_property.c
drm_rect.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_suballoc.c
drm_syncobj.c fdget(), trivial conversions 2024-11-03 01:28:06 -05:00
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_vblank_work.c
drm_vma_manager.c
drm_writeback.c drm/writeback: remove pointless enable_signaling implementation 2024-10-09 14:23:37 +02:00