linux_dsm_epyc7002/drivers/gpu/drm/sti
Ville Syrjälä 38d868e41c drm: Don't force all planes to be added to the state due to zpos
We don't want all planes to be added to the state whenever a
plane with fixed zpos gets enabled/disabled. This is true
especially for eg. cursor planes on i915, as we want cursor
updates to go through w/o throttling. Same holds for drivers
that don't support zpos at all (i915 actually falls into this
category right now since we've not yet added zpos support).

Allow drivers more freedom by letting them deal with zpos
themselves instead of doing it in drm_atomic_helper_check_planes()
unconditionally. Let's just inline the required calls into all
the driver that currently depend on this.

v2: Inline the stuff into the drivers instead of adding another
    helper, document things better (Daniel)

Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lyude <cpaul@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: stable@vger.kernel.org
Fixes: 44d1240d00 ("drm: add generic zpos property")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1476111056-12734-1-git-send-email-ville.syrjala@linux.intel.com
2016-10-26 18:48:05 +02:00
..
Kconfig drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
Makefile drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
NOTES drm: sti: add bindings for DRM driver 2014-07-30 18:11:53 +02:00
sti_awg_utils.c drm/sti: adjust delay for AWG 2016-06-27 10:18:25 +02:00
sti_awg_utils.h drm: sti: add DVO output connector 2014-12-30 15:08:16 +01:00
sti_compositor.c drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
sti_compositor.h drm/sti: fix compositor debugfs creation 2016-09-20 11:32:07 +02:00
sti_crtc.c drm/sti: fix compositor debugfs creation 2016-09-20 11:32:07 +02:00
sti_crtc.h drm/irq: Use unsigned int pipe in public API 2015-10-06 12:57:47 +02:00
sti_cursor.c drm/sti: fix atomic_disable check 2016-09-20 11:32:05 +02:00
sti_cursor.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_drv.c drm: Don't force all planes to be added to the state due to zpos 2016-10-26 18:48:05 +02:00
sti_drv.h drm: sti: rework init sequence 2016-06-21 21:32:52 +02:00
sti_dvo.c drm/sti: Fix sparse warnings 2016-09-20 11:32:04 +02:00
sti_gdp.c drm/sti: use valid video mode 2016-09-20 11:32:06 +02:00
sti_gdp.h drm/sti: atomic crtc/plane update 2015-08-03 14:26:05 +02:00
sti_hda.c drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
sti_hdmi_tx3g4c28phy.c drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi_tx3g4c28phy.h drm: sti: add HDMI driver 2014-07-30 19:24:55 +02:00
sti_hdmi.c drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
sti_hdmi.h drm: sti: Add ASoC generic hdmi codec support. 2016-07-01 09:12:49 +02:00
sti_hqvdp_lut.h drm: sti: add HQVDP plane 2014-12-11 14:00:13 +01:00
sti_hqvdp.c drm/sti: use valid video mode 2016-09-20 11:32:06 +02:00
sti_mixer.c drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
sti_mixer.h drm: sti: use late_register and early_unregister callbacks 2016-06-21 21:32:52 +02:00
sti_plane.c drm: sti: use generic zpos for plane 2016-07-29 10:02:51 +02:00
sti_plane.h drm: sti: use generic zpos for plane 2016-07-29 10:02:51 +02:00
sti_tvout.c drm/sti: remove stih415-416 platform support 2016-09-20 15:03:33 +02:00
sti_vid.c drm/sti: use valid video mode 2016-09-20 11:32:06 +02:00
sti_vid.h drm: sti: use late_register and early_unregister callbacks 2016-06-21 21:32:52 +02:00
sti_vtac.c drm/sti: Fix sparse warnings 2016-09-20 11:32:04 +02:00
sti_vtg.c drm/sti: Fix sparse warnings 2016-09-20 11:32:04 +02:00
sti_vtg.h drm/sti: update VTG timing programming 2016-02-26 10:03:57 +01:00