Re: [PATCH v1 3/6] drm/mediatek: handle events when enabling/disabling crtc

2019-12-01 Thread CK Hu
Hi, Bibby: On Thu, 2019-11-28 at 10:42 +0800, Bibby Hsieh wrote: > The driver currently handles vblank events only when updating planes on > an already enabled CRTC. The atomic update API however allows requesting > an event when enabling or disabling a CRTC. This currently leads to > event object

Re: [PATCH v1 2/6] drm/mediatek: use DRM core's atomic commit helper

2019-12-01 Thread CK Hu
Hi, Bibby: On Thu, 2019-11-28 at 10:42 +0800, Bibby Hsieh wrote: > The DRM core atomic helper now supports asynchronous commits natively. > The custom drm implementation isn't needed anymore, remove it. Reviewed-by: CK Hu Regards, CK > > Signed-off-by: Bibby Hsieh > --- > drivers/gpu/drm/me

Re: [01/30] drm: Introduce drm_bridge_init()

2019-12-01 Thread james qian wang (Arm Technology China)
On Tue, Nov 26, 2019 at 01:15:59PM +, Mihail Atanassov wrote: > A simple convenience function to initialize the struct drm_bridge. > > Signed-off-by: Mihail Atanassov > --- > drivers/gpu/drm/drm_bridge.c | 29 + > include/drm/drm_bridge.h | 4 > 2 files

Re: [PATCH] drm/mediatek: Fix can't get component for external display plane.

2019-12-01 Thread CK Hu
Hi, Pi-Hsun: On Wed, 2019-11-27 at 18:04 +0800, Pi-Hsun Shih wrote: > From: Yongqiang Niu > > The original logic is ok for primary display, but will not find out > component for external display. > > For example, plane->index is 6 for external display, but there are only > 2 layer nr in extern

[PATCH] drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()

2019-12-01 Thread Wayne Lin
[Why] If the payload_state is DP_PAYLOAD_DELETE_LOCAL in series, current code doesn't delete the payload at current index and just move the index to next one after shuffling payloads. [How] After shuffling payloads, decide whether to move on index or not according to payload_state of current paylo

[PATCH] drm/dp_mst: Remove VCPI while disabling topology mgr

2019-12-01 Thread Wayne Lin
[Why] While disabling mst topology manager in drm_dp_mst_topology_mgr_set_mst(), now just reset the mgr->payloads but doesn't handle the mgr->proposed_vcpis. [How] Remove mgr->proposed_vcpis to NULL. Signed-off-by: Wayne Lin --- drivers/gpu/drm/drm_dp_mst_topology.c | 12 1 file ch

RE: [PATCH V2 1/2] drm/edid: Add aspect ratios to HDMI 4K modes

2019-12-01 Thread Lin, Wayne
> -Original Message- > From: Ville Syrjälä > Sent: Friday, November 29, 2019 11:09 PM > To: Lin, Wayne > Cc: dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org > Subject: Re: [PATCH V2 1/2] drm/edid: Add aspect ratios to HDMI 4K modes > > On Mon, Nov 18, 2019 at 06:18:31PM

Re: [PATCH] drm/bridge: analogix-anx6345: Avoid duplicate -supply suffix

2019-12-01 Thread Mark Brown
On Sat, Nov 30, 2019 at 04:09:58PM +0100, Torsten Duwe wrote: > IMHO that commit message should have ended up somewhere under Documentation/. This is documented already in the generic regulator bindings and has been since they were added, they specify that supplies should always have the suffix -

[PATCH] drm: meson: venc: cvbs: fix CVBS mode matching

2019-12-01 Thread Martin Blumenstingl
Drop the picture_aspect_ratio from the drm_display_modes which are valid for the Amlogic Meson CVBS encoder. meson_venc_cvbs_encoder_atomic_check and meson_venc_cvbs_encoder_mode_set only support two very specific drm_display_modes. With commit 222ec1618c3ace ("drm: Add aspect ratio parsing in DRM

Re: [PATCH v2 4/5] drm/tidss: New driver for TI Keystone platform Display SubSystem

2019-12-01 Thread Jyri Sarha
On 01/12/2019 16:18, Sam Ravnborg wrote: > Hi Jyri > > Thanks for the update. > > On Sun, Dec 01, 2019 at 03:50:07PM +0200, Jyri Sarha wrote: >> This patch adds a new DRM driver for Texas Instruments DSS IPs used on >> Texas Instruments Keystone K2G, AM65x, and J721e SoCs. The new DSS IP is >> a

Re: [PATCH v2 4/5] drm/tidss: New driver for TI Keystone platform Display SubSystem

2019-12-01 Thread Sam Ravnborg
Hi Jyri Thanks for the update. On Sun, Dec 01, 2019 at 03:50:07PM +0200, Jyri Sarha wrote: > This patch adds a new DRM driver for Texas Instruments DSS IPs used on > Texas Instruments Keystone K2G, AM65x, and J721e SoCs. The new DSS IP is > a major change to the older DSS IP versions, which are s

[PATCH v2 5/5] MAINTAINERS: add entry for tidss

2019-12-01 Thread Jyri Sarha
Add entry for tidss DRM driver. Signed-off-by: Jyri Sarha --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 741e3f433f6e..dd7855e59bd1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5567,6 +5567,16 @@ F: include/uapi/drm/v3d_drm

[PATCH v2 3/5] dt-bindings: display: ti, j721e-dss: Add dt-schema yaml binding

2019-12-01 Thread Jyri Sarha
Add dt-schema yaml bindig for J721E DSS, J721E version TI Keystone Display SubSystem. Signed-off-by: Jyri Sarha --- .../bindings/display/ti/ti,j721e-dss.yaml | 177 ++ 1 file changed, 177 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ti/ti,j721e

[PATCH v2 1/5] dt-bindings: display: ti, k2g-dss: Add dt-schema yaml binding

2019-12-01 Thread Jyri Sarha
Add dt-schema yaml bindig for K2G DSS, an ultra-light version of TI Keystone Display SubSystem. Signed-off-by: Jyri Sarha --- .../bindings/display/ti/ti,k2g-dss.yaml | 97 +++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ti/

[PATCH v2 2/5] dt-bindings: display: ti, am65x-dss: Add dt-schema yaml binding

2019-12-01 Thread Jyri Sarha
Add dt-schema yaml bindig for AM65x DSS, AM65x version TI Keystone Display SubSystem. Signed-off-by: Jyri Sarha --- .../bindings/display/ti/ti,am65x-dss.yaml | 133 ++ 1 file changed, 133 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/ti/ti,am65x

[PATCH v2 0/5] drm/tidss: New driver for TI Keystone platform Display SubSystem

2019-12-01 Thread Jyri Sarha
Changes since the first version of the patch series [2]: - "drm/tidss: New driver for TI Keystone platform Display SubSystem" - rebased on top of drm-next-2019-11-27 - sort all include lines in all files - remove all include - remove select "select VIDEOMODE_HELPERS" - call dispc_vp_setup() l

Re: [PATCH v1 09/16] drm/tegra: fix opencoded use of drm_panel_*

2019-12-01 Thread Sam Ravnborg
On Sun, Aug 04, 2019 at 10:16:30PM +0200, Sam Ravnborg wrote: > Use the drm_panel_get_modes function. Applied to drm-misc-next. Sam > > Signed-off-by: Sam Ravnborg > Cc: Thierry Reding > Cc: Jonathan Hunter > Cc: linux-te...@vger.kernel.org > --- > drivers/gpu/drm/tegra/output.c | 2

Re: [PATCH v1 03/16] drm/exynos: fix opencoded use of drm_panel_*

2019-12-01 Thread Sam Ravnborg
On Sun, Aug 04, 2019 at 10:16:24PM +0200, Sam Ravnborg wrote: > Call via drm_panel_get_modes(). > Applied to drm-misc-next. Sam > Signed-off-by: Sam Ravnborg > Cc: Inki Dae > Cc: Joonyoung Shim > Cc: Seung-Woo Kim > Cc: Kyungmin Park > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > C

Re: [PATCH v1 06/16] drm/msm: fix opencoded use of drm_panel_*

2019-12-01 Thread Sam Ravnborg
On Sun, Aug 04, 2019 at 10:16:27PM +0200, Sam Ravnborg wrote: > Use the function drm_panel_get_modes(). > Applied to drm-misc-next. Sam > Signed-off-by: Sam Ravnborg > Cc: Alexios Zavras > Cc: Thomas Gleixner > Cc: Allison Randal > Cc: Sam Ravnborg > Cc: Enrico Weigelt > --- > dr

Re: [PATCH v1 02/16] drm/exynos: fix opencoded use of drm_panel_*

2019-12-01 Thread Sam Ravnborg
On Sun, Aug 04, 2019 at 10:16:23PM +0200, Sam Ravnborg wrote: > drm_panel_attach() will check if there is a controller > already attached - drop the check in the driver. > > Use drm_panel_get_modes() so the driver no longer uses the function > pointer. Applied to drm-misc-next. Sam > >

Re: [PATCH] drm/panel: clean up indentation issue

2019-12-01 Thread Sam Ravnborg
Hi Colin. On Wed, Sep 25, 2019 at 01:03:57PM +0100, Colin King wrote: > From: Colin Ian King > > There is a continue statement that is indented one level too deeply, > remove the extraneous tab. > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c | 2 +