Re: [PATCH v6 00/16] drm/i915: Add support for HDCP 1.4 over MST connectors

2020-05-15 Thread Ramalingam C
On 2020-04-29 at 15:54:46 -0400, Sean Paul wrote: > From: Sean Paul > > Changes in v6: > -Rebased on -tip > -Disabled HDCP over MST on GEN12 > -Addressed Lyude's review comments in the QUERY_STREAM_ENCRYPTION_STATUS patch Sean, What is the test setup you have used? I am afraid our CI dont

Re: [PATCH v6 08/16] drm/i915: Don't fully disable HDCP on a port if multiple pipes are using it

2020-05-15 Thread Ramalingam C
On 2020-04-29 at 15:54:54 -0400, Sean Paul wrote: > From: Sean Paul > > This patch is required for HDCP over MST. If a port is being used for > multiple HDCP streams, we don't want to fully disable HDCP on a port if > one of them is disabled. Instead, we just disable the HDCP signalling on >

Re: [PATCH 01/44] drivers/base: Always release devres on device_del

2020-05-15 Thread Greg Kroah-Hartman
On Tue, Apr 28, 2020 at 03:15:12PM +0200, Daniel Vetter wrote: > On Mon, Apr 06, 2020 at 03:55:28PM +0200, Daniel Vetter wrote: > > On Mon, Apr 6, 2020 at 3:38 PM Greg Kroah-Hartman > > wrote: > > > > > > On Mon, Apr 06, 2020 at 02:32:51PM +0200, Daniel Vetter wrote: > > > > On Fri, Apr 3, 2020

Re: [PATCH 01/11] tty/sysrq: alpha: export and use __sysrq_get_key_op()

2020-05-15 Thread Greg Kroah-Hartman
On Wed, May 13, 2020 at 10:43:41PM +0100, Emil Velikov wrote: > Export a pointer to the sysrq_get_key_op(). This way we can cleanly > unregister it, instead of the current solutions of modifuing it inplace. > > Since __sysrq_get_key_op() is no longer used externally, let's make it > a static

Re: [PATCH v12 00/14] In order to readout DP SDPs, refactors the handling of DP SDPs

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 04:13:18PM +0300, Jani Nikula wrote: > On Fri, 15 May 2020, Ville Syrjälä wrote: > > On Thu, May 14, 2020 at 02:19:23PM +0300, Jani Nikula wrote: > >> On Thu, 14 May 2020, Gwan-gyeong Mun wrote: > >> > In order to readout DP SDPs (Secondary Data Packet: DP HDR Metadata >

XDC 2020: Registration & Call for Proposals now open!

2020-05-15 Thread Szwichtenberg, Radoslaw
Hello! Registration & Call for Proposals are now open for XDC 2020, which will take place at the Gdańsk University of Technology in Gdańsk, Poland on September 16-18, 2020. Thanks to LWN.net for hosting the website again this year! https://xdc2020.x.org As usual, the conference is

Re: [PATCH v2 00/38] Fareless gem_free_object

2020-05-15 Thread Thomas Zimmermann
Hi, I have reviewed some of these patches. For the rest of the series you can add Acked-by: Thomas Zimmermann Best regards Thomas Am 15.05.20 um 11:50 schrieb Emil Velikov: > Hi all, > > Here is v2 of the series, with the requested minor tweaks. > > - Add new WARNING in the struct_mutex

Re: [PATCH v1 01/18] drm/omap: display: use devm_of_find_backlight

2020-05-15 Thread Tomi Valkeinen
On 14/05/2020 22:09, Sam Ravnborg wrote: Look up backlight device using devm_of_find_backlight(). This simplifies the code and prevents us from hardcoding the node name in the driver. Signed-off-by: Sam Ravnborg Cc: Tomi Valkeinen Cc: Zheng Bin Cc: Kate Stewart Cc: Enrico Weigelt Cc:

Re: [PATCH v1 02/18] drm/tilcdc: use devm_of_find_backlight

2020-05-15 Thread Tomi Valkeinen
On 14/05/2020 22:09, Sam Ravnborg wrote: Look up backlight device using devm_of_find_backlight(). This simplifies the code and prevents us from hardcoding the node name in the driver. Signed-off-by: Sam Ravnborg Cc: Jyri Sarha Cc: Tomi Valkeinen --- drivers/gpu/drm/tilcdc/tilcdc_panel.c |

Re: [PATCH v3 1/4] dma-buf: add support for virtio exported objects

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 02:07:06PM +0900, David Stevens wrote: > On Thu, May 14, 2020 at 9:30 PM Daniel Vetter wrote: > > On Thu, May 14, 2020 at 05:19:40PM +0900, David Stevens wrote: > > > Sorry for the duplicate reply, didn't notice this until now. > > > > > > > Just storing > > > > the uuid

Re: Re:Re: [PATCH v2] drm/arm: fixes pixel clock enabled with wrong format

2020-05-15 Thread Liviu Dudau
Hi Bernard, On Fri, May 08, 2020 at 04:47:17PM +0800, Bernard wrote: > From: "赵军奎" > Date: 2020-04-24 19:37:36 > To: Liviu Dudau > Cc: Brian Starkey ,David Airlie > ,Daniel Vetter > ,dri-devel@lists.freedesktop.org,linux-ker...@vger.kernel.org,opensource.ker...@vivo.com > Subject: Re:Re:

Re: [PATCH v4 2/4] drm/imx: Add initial support for DCSS on iMX8MQ

2020-05-15 Thread Guido Günther
Hi Laurentiu, On Fri, May 15, 2020 at 02:10:13PM +0300, Laurentiu Palcu wrote: > Hi Guido, > > On Fri, May 15, 2020 at 11:27:19AM +0200, Guido Günther wrote: > > Hi Laurentiu, > > On Fri, Mar 06, 2020 at 02:49:26PM +0200, Laurentiu Palcu wrote: > > > From: Laurentiu Palcu > > > > > > This adds

Re: [PATCH v12 00/14] In order to readout DP SDPs, refactors the handling of DP SDPs

2020-05-15 Thread Ville Syrjälä
On Thu, May 14, 2020 at 02:19:23PM +0300, Jani Nikula wrote: > On Thu, 14 May 2020, Gwan-gyeong Mun wrote: > > In order to readout DP SDPs (Secondary Data Packet: DP HDR Metadata > > Infoframe SDP, DP VSC SDP), it refactors handling DP SDPs codes. > > It adds new compute routines for DP HDR

Re: drm state readout helpers

2020-05-15 Thread Ville Syrjälä
On Fri, May 15, 2020 at 03:36:13PM +0200, Daniel Vetter wrote: > Hi all, > > Maxime seems to have a need for a bit more than what the current > drm_mode_config_reste can do, so here's a bunch of ideas inspired by > i915. > > I think minimally what you need is a drm_atomic_state_helper_readout()

Re: [PATCH 1/2] drm/shmem: Use cached mappings by default

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 08:58:02AM +0200, Thomas Zimmermann wrote: > Hi > > Am 14.05.20 um 22:36 schrieb Rob Herring: > > On Thu, May 14, 2020 at 7:40 AM Daniel Vetter wrote: > >> > >> On Wed, May 13, 2020 at 05:03:11PM +0200, Thomas Zimmermann wrote: > >>> SHMEM-buffer backing storage is

Re: [PATCH v6 16/16] drm/i915: Add HDCP 1.4 support for MST connectors

2020-05-15 Thread Ramalingam C
On 2020-04-29 at 15:55:02 -0400, Sean Paul wrote: > From: Sean Paul > > Now that all the groundwork has been laid, we can turn on HDCP 1.4 over > MST. Everything except for toggling the HDCP signalling and HDCP 2.2 > support is the same as the DP case, so we'll re-use those callbacks > > Cc:

Re: [PATCH v2 11/38] drm/gem: add _locked suffix to drm_object_put

2020-05-15 Thread Thomas Zimmermann
Hi Emil Am 15.05.20 um 11:50 schrieb Emil Velikov: > From: Emil Velikov > > Vast majority of DRM (core and drivers) are struct_mutex free. > > As such we have only a handful of cases where the locked helper should > be used. Make that stand out a little bit better. > > Done via the following

drm state readout helpers

2020-05-15 Thread Daniel Vetter
Hi all, Maxime seems to have a need for a bit more than what the current drm_mode_config_reste can do, so here's a bunch of ideas inspired by i915. I think minimally what you need is a drm_atomic_state_helper_readout() functions, which instead of resetting, allocates all the obj->state pointers

Re: [PATCH v2 36/38] drm/vkms: remove _unlocked suffix in drm_object_put_unlocked

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 10:51:16AM +0100, Emil Velikov wrote: > From: Emil Velikov > > Spelling out _unlocked for each and every driver is a annoying. > Especially if we consider how many drivers, do not know (or need to) > about the horror stories involving struct_mutex. > > Just drop the

Re: [PATCH v2 34/38] drm/vgem: remove _unlocked suffix in drm_object_put_unlocked

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 10:51:14AM +0100, Emil Velikov wrote: > From: Emil Velikov > > Spelling out _unlocked for each and every driver is a annoying. > Especially if we consider how many drivers, do not know (or need to) > about the horror stories involving struct_mutex. > > Just drop the

RE: [Intel-gfx] [PATCH v12 00/14] In order to readout DP SDPs, refactors the handling of DP SDPs

2020-05-15 Thread Saarinen, Jani
Hi, > -Original Message- > From: Intel-gfx On Behalf Of Jani > Nikula > Sent: perjantai 15. toukokuuta 2020 16.13 > To: Ville Syrjälä > Cc: linux-fb...@vger.kernel.org; daniel.vet...@ffwll.ch; intel- > g...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >

Re: [PATCH 01/44] drivers/base: Always release devres on device_del

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 02:55:38PM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 28, 2020 at 03:15:12PM +0200, Daniel Vetter wrote: > > On Mon, Apr 06, 2020 at 03:55:28PM +0200, Daniel Vetter wrote: > > > On Mon, Apr 6, 2020 at 3:38 PM Greg Kroah-Hartman > > > wrote: > > > > > > > > On Mon, Apr

[RFC PATCH 0/6] drm/bridge: Add mux input selection bridge

2020-05-15 Thread Guido Günther
This bridge driver allows to select the input to a downstream bridge (or panel) via device tree. It can be useful to separate the pixel source selection from the actual bridge processing the pixel data. E.g. NXP's imx8mq has two display controllers. Both can feed the pixel data to the NWL DSI IP

[RFC PATCH 4/6] drm/bridge/nwl-dsi: Drop mux handling

2020-05-15 Thread Guido Günther
This will be handled via the mux-input-bridge. Signed-off-by: Guido Günther --- drivers/gpu/drm/bridge/Kconfig | 1 - drivers/gpu/drm/bridge/nwl-dsi.c | 61 2 files changed, 62 deletions(-) diff --git a/drivers/gpu/drm/bridge/Kconfig

[RFC PATCH 2/6] drm/bridge: Add mux-input bridge

2020-05-15 Thread Guido Günther
This bridge allows to select the input source via a mux controller. The input source is determined via DT but it could become rutime selectable in the future. Signed-off-by: Guido Günther --- drivers/gpu/drm/bridge/Kconfig | 9 ++ drivers/gpu/drm/bridge/Makefile| 1 +

[RFC PATCH 1/6] dt-bindings: display/bridge: Add binding for input mux bridge

2020-05-15 Thread Guido Günther
The bridge allows to select the input source via a mux controller. Signed-off-by: Guido Günther --- .../display/bridge/mux-input-bridge.yaml | 123 ++ 1 file changed, 123 insertions(+) create mode 100644

[RFC PATCH 6/6] arm64: dts: imx8mq-librem5-devkit: Enable MIPI DSI panel

2020-05-15 Thread Guido Günther
Enable MIPI LCD panel output by adding nodes for the NWL DSI host controller, the mux-input-bridge, the Rocktech panel and the eLCDIF display controller. Signed-off-by: Guido Günther --- .../dts/freescale/imx8mq-librem5-devkit.dts | 81 +++ 1 file changed, 81 insertions(+)

[RFC PATCH 5/6] arm64: dts: imx8mq: Add NWL dsi controller

2020-05-15 Thread Guido Günther
Add a node for the Northwestlogic MIPI DSI IP core, "disabled" by default. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi

[RFC PATCH 3/6] dt-bindings: display/bridge/nwl-dsi: Drop mux handling

2020-05-15 Thread Guido Günther
No need to encode the SoC specifics in the bridge driver. For the imx8mq we can use the mux-input-bridge. Signed-off-by: Guido Günther --- .../devicetree/bindings/display/bridge/nwl-dsi.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [PATCH v12 00/14] In order to readout DP SDPs, refactors the handling of DP SDPs

2020-05-15 Thread Jani Nikula
On Fri, 15 May 2020, Ville Syrjälä wrote: > On Thu, May 14, 2020 at 02:19:23PM +0300, Jani Nikula wrote: >> On Thu, 14 May 2020, Gwan-gyeong Mun wrote: >> > In order to readout DP SDPs (Secondary Data Packet: DP HDR Metadata >> > Infoframe SDP, DP VSC SDP), it refactors handling DP SDPs codes.

Re: [PATCH v2 09/38] drm: remove drm_driver::gem_free_object

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 10:50:49AM +0100, Emil Velikov wrote: > From: Emil Velikov > > No drivers set the callback, so remove it all together. > > Signed-off-by: Emil Velikov > Acked-by: Sam Ravnborg > Reviewed-by: Thomas Zimmermann If I've read your series correctly I think you've missed

Re: [PATCH v2 31/38] drm/tegra: remove _unlocked suffix in drm_object_put_unlocked

2020-05-15 Thread Thierry Reding
On Fri, May 15, 2020 at 10:51:11AM +0100, Emil Velikov wrote: > From: Emil Velikov > > Spelling out _unlocked for each and every driver is a annoying. > Especially if we consider how many drivers, do not know (or need to) > about the horror stories involving struct_mutex. > > Just drop the

Re: [PATCH v2 11/38] drm/gem: add _locked suffix to drm_object_put

2020-05-15 Thread Steven Price
On 15/05/2020 10:50, Emil Velikov wrote: From: Emil Velikov Vast majority of DRM (core and drivers) are struct_mutex free. As such we have only a handful of cases where the locked helper should be used. Make that stand out a little bit better. Done via the following script:

Re: [PATCH v2 27/38] drm/panfrost: remove _unlocked suffix in drm_object_put_unlocked

2020-05-15 Thread Steven Price
On 15/05/2020 10:51, Emil Velikov wrote: From: Emil Velikov Spelling out _unlocked for each and every driver is a annoying. Especially if we consider how many drivers, do not know (or need to) about the horror stories involving struct_mutex. Just drop the suffix. It makes the API cleaner.

Re: [PATCH v2 13/38] drm: remove _unlocked suffix in drm_object_put_unlocked

2020-05-15 Thread Steven Price
On 15/05/2020 10:50, Emil Velikov wrote: From: Emil Velikov Spelling out _unlocked for each and every driver is a annoying. Especially if we consider how many drivers, do not know (or need to) about the horror stories involving struct_mutex. Just drop the suffix. It makes the API cleaner.

Re: ✓ Fi.CI.IGT: success for drm/dp_mst: Fix timeout handling of MST down messages

2020-05-15 Thread Imre Deak
On Wed, May 13, 2020 at 02:40:29PM +, Patchwork wrote: > == Series Details == > > Series: drm/dp_mst: Fix timeout handling of MST down messages > URL : https://patchwork.freedesktop.org/series/77216/ > State : success Patch pushed to drm-misc-next, thanks for the review. > > == Summary

Re: [PATCH] drm: drm_fourcc: add NV15, Q410, Q401 YUV formats

2020-05-15 Thread Brian Starkey
Hi Ben, On Wed, May 06, 2020 at 03:41:26PM +0100, Ben Davis wrote: > Hi all, any feedback on this patch? > Thanks, Ben > On Wed, Apr 22, 2020 at 12:13:49PM +0100, Ben Davis wrote: > > DRM_FORMAT_NV15 is a 2 plane format suitable for linear and 16x16 > > block-linear memory layouts. The format is

Re: drm state readout helpers

2020-05-15 Thread Ville Syrjälä
On Fri, May 15, 2020 at 04:51:53PM +0300, Ville Syrjälä wrote: > On Fri, May 15, 2020 at 03:36:13PM +0200, Daniel Vetter wrote: > > Hi all, > > > > Maxime seems to have a need for a bit more than what the current > > drm_mode_config_reste can do, so here's a bunch of ideas inspired by > > i915. >

Re: [PATCH v2 10/38] drm/gem: fold drm_gem_object_put_unlocked and __drm_gem_object_put()

2020-05-15 Thread Daniel Vetter
On Fri, May 15, 2020 at 10:50:50AM +0100, Emil Velikov wrote: > From: Emil Velikov > > With earlier patch we removed the overhead so now we can lift the helper > into the header effectively folding it with __drm_object_put. > > v2: drop struct_mutex references (Daniel) > > Signed-off-by: Emil

Re: [PATCH v2 12/38] drm/gem: add drm_object_put helper

2020-05-15 Thread Steven Price
On 15/05/2020 10:50, Emil Velikov wrote: From: Emil Velikov Spelling out _unlocked for each and every driver is a annoying. Especially if we consider how many drivers, do not know (or need to) about the horror stories involving struct_mutex. Add helper, which will allow us to transition the

[PULL] drm-intel-next

2020-05-15 Thread Joonas Lahtinen
04-30 11:13:21 +0300) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2020-05-15 for you to fetch changes up to 3a36aa237e4ed04553c0998cf5f47eda3e206e4f: drm/i915: Update DRIVER_DATE to 20200515 (2020-

Re: linux-next: manual merge of the drm-misc tree with the drm-misc-fixes tree

2020-05-15 Thread Tomi Valkeinen
Hi Stephen, On 23/04/2020 06:17, Stephen Rothwell wrote: > Hi all, > > On Tue, 21 Apr 2020 09:10:25 +0300 Tomi Valkeinen > wrote: >> >> On 21/04/2020 04:52, Stephen Rothwell wrote: >>> >>> Today's linux-next merge of the drm-misc tree got a conflict in:he drm-misc >>> tree with the

Re: [git pull] drm fixes for 5.7-rc6

2020-05-15 Thread pr-tracker-bot
The pull request you sent on Fri, 15 May 2020 16:12:52 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-05-15 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e7cea7905815ac938e6e90b0cb6b91bcd22f6a15 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH 11/14] docs: move other kAPI documents to core-api

2020-05-15 Thread Jonathan Corbet
On Fri, 1 May 2020 17:37:55 +0200 Mauro Carvalho Chehab wrote: > There are a number of random documents that seem to be > describing some aspects of the core-api. Move them to such > directory, adding them at the core-api/index.rst file. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [Freedreno] [PATCH] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-05-15 Thread Doug Anderson
Hi, On Fri, May 15, 2020 at 5:06 AM wrote: > > On 2020-05-14 21:47, Doug Anderson wrote: > > Hi, > > > > On Fri, May 1, 2020 at 6:31 AM Kalyan Thota > > wrote: > >> > >> "The PM core always increments the runtime usage counter > >> before calling the ->suspend() callback and decrements it > >>

Re: [PATCH v12 00/14] In order to readout DP SDPs, refactors the handling of DP SDPs

2020-05-15 Thread Mun, Gwan-gyeong
Hi Ville, Thank you for notifying me that. I definitely missed the crash. Sorry for that. Danial and Jani, I' under debugging the crash case. If you are availabe please do not merge current version. Br, G.G. > On Fri, 2020-05-15 at 16:14 +0200, Daniel Vetter wrote: > On Fri, May 15, 2020 at

Re: [PATCH v1 06/18] backlight: make of_find_backlight_by_node() static

2020-05-15 Thread Sam Ravnborg
Hi myself and others. On Thu, May 14, 2020 at 09:09:49PM +0200, Sam Ravnborg wrote: > There are no external users of of_find_backlight_by_node(). > Make it static so we keep it that way. > > Signed-off-by: Sam Ravnborg > Cc: Lee Jones > Cc: Daniel Thompson > Cc: Jingoo Han > --- >

Re: [PATCH] drm/bridge: ti-sn65dsi86: Clear old error bits before AUX transfers

2020-05-15 Thread Rob Clark
On Fri, May 8, 2020 at 4:33 PM Douglas Anderson wrote: > > The AUX channel transfer error bits in the status register are latched > and need to be cleared. Clear them before doing our transfer so we > don't see old bits and get confused. > > Without this patch having a single failure would mean

Re: [PATCH v2 1/2] drm/bridge: ti-sn65dsi86: Implement lane reordering + polarity

2020-05-15 Thread Rob Clark
On Wed, May 6, 2020 at 2:03 PM Douglas Anderson wrote: > > The ti-sn65dsi86 MIPI DSI to eDP bridge chip supports arbitrary > remapping of eDP lanes and also polarity inversion. Both of these > features have been described in the device tree bindings for the > device since the beginning but were

Re: [PATCH 2/2] dt-bindings: arm-smmu: Add sc7180 compatible string

2020-05-15 Thread Doug Anderson
Hi, On Fri, May 1, 2020 at 3:30 AM Sharat Masetty wrote: > > This patch simply adds a new compatible string for SC7180 platform. > > Signed-off-by: Sharat Masetty > --- > Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH] drm/i915: avoid unused scale_user_to_hw() warning

2020-05-15 Thread Chris Wilson
Quoting Arnd Bergmann (2020-04-28 22:30:50) > After the function is no longer marked 'inline', there > is now a new warning pointing out that the only caller > is inside of an #ifdef: > > drivers/gpu/drm/i915/display/intel_panel.c:493:12: warning: > 'scale_user_to_hw' defined but not used

Re: [PATCH v1 0/18] backlight updates

2020-05-15 Thread Sam Ravnborg
Hi all. i ... > Sam Ravnborg (18): > drm/omap: display: use devm_of_find_backlight > drm/tilcdc: use devm_of_find_backlight Tomi - thanks for the prompt review of the above two patches. > video: amba-clcd: use devm_of_find_backlight Any takes for review/ack of this patch? >

Re: [PATCH] drm/bridge: ti-sn65dsi86: Fix off-by-one error in clock choice

2020-05-15 Thread Rob Clark
On Mon, May 4, 2020 at 9:32 PM Douglas Anderson wrote: > > If the rate in our table is _equal_ to the rate we want then it's OK > to pick it. It doesn't need to be greater than the one we want. > > Fixes: a095f15c00e2 ("drm/bridge: add support for sn65dsi86 bridge driver") > Signed-off-by:

[PATCH] drm/vmwgfx: update MAINTAINERS entry

2020-05-15 Thread Roland Scheidegger
From: Roland Scheidegger Maintainer switch from Thomas Hellstrom to Roland Scheidegger Reviewed-by: Charmaine Lee Reviewed-by: Neha Bhende Acked-by: Thomas Hellstrom Signed-off-by: Roland Scheidegger --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[git pull] vmwgfx-fixes-5.7

2020-05-15 Thread Roland Scheidegger (VMware)
Dave, Daniel Some minor fixes and a maintainer change. The following changes since commit 24085f70a6e1b0cb647ec92623284641d8270637: Merge tag 'trace-v5.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2020-05-12 11:06:26 -0700) are available in the Git

[git pull] drm fixes for 5.7-rc6

2020-05-15 Thread Dave Airlie
Hey Linus, As mentioned last week an i915 PR came in late, but I left it, so the i915 bits of this cover 2 weeks, which is why it's likely a bit larger than usual. Otherwise it's mostly amdgpu fixes, one tegra fix, one meson fix. Regards, Dave. drm-fixes-2020-05-15: drm fixes for v5.7-rc6 i915

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-15 Thread Rui Salvaterra
On Wed, 13 May 2020 at 11:58, Michel Dänzer wrote: > > How do you know you're hitting that particular issue? Sorry, somehow I misread that. I was still thinking of the AGP hangs. ___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH v3 1/4] dma-buf: add support for virtio exported objects

2020-05-15 Thread David Stevens
On Thu, May 14, 2020 at 9:30 PM Daniel Vetter wrote: > On Thu, May 14, 2020 at 05:19:40PM +0900, David Stevens wrote: > > Sorry for the duplicate reply, didn't notice this until now. > > > > > Just storing > > > the uuid should be doable (assuming this doesn't change during the > > > lifetime of

[PATCH v2] staging: fbtft: fb_st7789v: Initialize the Display

2020-05-15 Thread Oliver Graute
From: Oliver Graute Set Gamma Values and Register Values for the HSD20_IPS Panel Signed-off-by: Oliver Graute --- need information howto set HSD20_IPS Panel at run time and not at compile time Changes for v2: - added define for HSD20_IPS_GAMMA values - check for HSD20_IPS define - enabled

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-15 Thread Rui Salvaterra
On Wed, 13 May 2020 at 08:19, Daniel Vetter wrote: > > i915 is even worse, we manually mess around with clflush. In > userspace. So really there's 2 axis for dma memory: coherent vs. > non-coherent (which is something the dma-api somewhat exposed), i.e. > do you need to clflush or not, and cached

[PATCH 2/3] drm/etnaviv: Don't ignore errors on getting clocks

2020-05-15 Thread Lubomir Rintel
There might be good reasons why the getting a clock failed. To treat the clocks as optional we're specifically only interested in ignoring -ENOENT, and devm_clk_get_optional() does just that. Signed-off-by: Lubomir Rintel --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 16 1 file

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-15 Thread Christian Zigotzky
Hi All, AGP mode/support is deactivated on PowerPC and it doesn't work reliable And what does these lines mean: PowerMac G5 Dual: OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 (RV350 4152) 20090101 AGP 8x PowerPC 64/Altivec TCL OpenGL version string: 1.5

Re: [PATCH v3 5/5] drm/panel: Add ilitek ili9341 driver

2020-05-15 Thread dillon min
Hi Linus, Linus Walleij 于2020年5月14日周四 下午10:08写道: > > On Thu, May 14, 2020 at 12:22 PM dillon min wrote: > > > > > + /* Gamma */ > > > > + mipi_dbi_command(dbi, ILI9341_3GAMMA_EN, 0x00); > > > > + mipi_dbi_command(dbi, MIPI_DCS_SET_GAMMA_CURVE, 0x01); > > > > +

Re: [PATCH v4 7/7] drm/mediatek: mtk_dsi: Create connector for bridges

2020-05-15 Thread Enric Balletbo i Serra
Hi Chun-Kuang, On 14/5/20 16:28, Chun-Kuang Hu wrote: > Hi, Enric: > > Enric Balletbo Serra 於 2020年5月14日 週四 上午12:41寫道: >> >> Hi Chun-Kuang, >> >> Missatge de Enric Balletbo i Serra del >> dia dv., 1 de maig 2020 a les 17:25: >>> >>> Use the drm_bridge_connector helper to create a connector for

Re: [PATCH v3 5/5] drm/panel: Add ilitek ili9341 driver

2020-05-15 Thread dillon min
Hi Linus, Thanks for reviewing. On Thu, May 14, 2020 at 4:14 PM Linus Walleij wrote: > > Hi Dillon, > > thanks for your patch! Overall this looks like a good start. > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > #define ILI9341_SLEEP_OUT0x11 /* Sleep out register */ > > This is

[PATCH 1/3] drm/etnaviv: Fix error path on failure to enable bus clk

2020-05-15 Thread Lubomir Rintel
Since commit 65f037e8e908 ("drm/etnaviv: add support for slave interface clock") the reg clock is enabled before the bus clock and we need to undo its enablement on error. Fixes: 65f037e8e908 ("drm/etnaviv: add support for slave interface clock") Signed-off-by: Lubomir Rintel ---

[PATCH] drm/vblank: remove outdated and noisy output

2020-05-15 Thread Wolfram Sang
The R-Car DU driver calls drm_vblank_init via some helper functions in probe(). From what I checked, most drivers do this as well. I have a config now where DU always stays in deferred_probe state because of a missing dependency. This means that every time I rebind another driver like MMC, the

Re: mmotm 2020-05-13-20-30 uploaded (gpu/drm/bridge/sil-sii8620)

2020-05-15 Thread Randy Dunlap
On 5/13/20 8:31 PM, Andrew Morton wrote: > The mm-of-the-moment snapshot 2020-05-13-20-30 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm patch

[PATCH v3 2/5] dt-bindings: panel: Add binding for Xingbangda XBD599 panel

2020-05-15 Thread Ondrej Jirman
From: Icenowy Zheng Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI LCD panel. It is based on Sitronix ST7703 LCD controller. Add its device tree binding. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman --- .../display/panel/sitronix,st7703.yaml| 63 +++ 1

Re: [PATCH v4 03/38] iommu: add generic helper for mapping sgtable objects

2020-05-15 Thread Joerg Roedel
Hi Marek, On Tue, May 12, 2020 at 11:00:23AM +0200, Marek Szyprowski wrote: > --- > include/linux/iommu.h | 16 > 1 file changed, 16 insertions(+) Some nits below, with those fixed: Acked-by: Joerg Roedel > diff --git a/include/linux/iommu.h b/include/linux/iommu.h >

RE: [PATCH 1/3] drm/db9000: Add Digital Blocks DB9000 LCD Controller

2020-05-15 Thread Gareth Williams
Hi Sam/Daniel, This is all very useful feedback, thank you. On Tue, Apr 28, 2020 at 19:24 PM Daniel Vetter wrote: > > On Tue, Apr 28, 2020 at 8:18 PM Sam Ravnborg wrote: > > > > Hi Gareth. > > > > On Mon, Apr 27, 2020 at 09:21:47AM +0100, Gareth Williams wrote: > > > Add DRM support for the

Re: [PATCH v2] dma-buf: fix use-after-free in dmabuffs_dname

2020-05-15 Thread Charan Teja Kalla
Thank you Greg for the comments. On 5/12/2020 2:22 PM, Greg KH wrote: > On Fri, May 08, 2020 at 12:11:03PM +0530, Charan Teja Reddy wrote: >> The following race occurs while accessing the dmabuf object exported as >> file: >> P1 P2 >> dma_buf_release()

Re: [PATCH v2] dma-buf: fix use-after-free in dmabuffs_dname

2020-05-15 Thread Charan Teja Kalla
Thank you for the reply. On 5/13/2020 9:33 PM, Sumit Semwal wrote: > On Wed, 13 May 2020 at 21:16, Daniel Vetter wrote: >> >> On Wed, May 13, 2020 at 02:51:12PM +0200, Greg KH wrote: >>> On Wed, May 13, 2020 at 05:40:26PM +0530, Charan Teja Kalla wrote: Thank you Greg for the comments.

[RFC PATCH 0/3] drm: introduce new method of creating debugfs files.

2020-05-15 Thread Wambui Karuga
Hi All, Currently drm debugfs files are created using drm_debugfs_create_files() on request. This series introduces new functions and infrastructure that will enable the mass creation of debugfs files during drm_dev_register(). Drivers can request for the creation of debugfs files at any time

[PATCH v3 5/5] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-05-15 Thread Ondrej Jirman
Pinephone has a Goodix GT917S capacitive touchscreen controller on I2C0 bus. Add support for it. Signed-off-by: Ondrej Jirman --- .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git

[PATCH] drm/etnaviv: Fix the pm_domain lookup

2020-05-15 Thread Lubomir Rintel
On a GC860 (both 3D and 2D capable) GPU, kmscube crashes: # strace -f ~lkundrak/src/kmscube/build/kmscube ... ioctl(6, DRM_IOCTL_ETNAVIV_PM_QUERY_DOM, 0xbe92b720) = 0 ioctl(6, DRM_IOCTL_ETNAVIV_PM_QUERY_SIG ) = ? +++ killed by SIGSEGV +++ Segmentation fault (core dumped) And triggers

[PATCH v11 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2020-05-15 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. Signed-off-by: Xin Ji

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread dillon min
Hi, Linus, thanks for reviewing. On Thu, May 14, 2020 at 4:24 PM Linus Walleij wrote: > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > From: dillon min > > > > Enable the ltdc & ili9341 on stm32429-disco board. > > > > Signed-off-by: dillon min > > This mostly looks good but... > > > + { > >

Re: [PATCH v4 7/7] drm/mediatek: mtk_dsi: Create connector for bridges

2020-05-15 Thread Enric Balletbo i Serra
Hi Chun-Kuang, On 14/5/20 18:44, Chun-Kuang Hu wrote: > Hi, Enric: > > Enric Balletbo i Serra 於 2020年5月14日 週四 > 下午11:42寫道: >> >> Hi Chun-Kuang, >> >> On 14/5/20 16:28, Chun-Kuang Hu wrote: >>> Hi, Enric: >>> >>> Enric Balletbo Serra 於 2020年5月14日 週四 上午12:41寫道: Hi Chun-Kuang,

[RFC PATCH 2/3] drm/vc4: use new debugfs functions for file creation.

2020-05-15 Thread Wambui Karuga
Currently, vc4 delays adding of debugfs files until drm_dev_register() calls vc4_debugfs_init() on each registered minor. This change removes this infrastructure and uses the new drm_debugfs_add_file() function and drm_device->debugfs_list to track debugfs files which are added at

[RFC PATCH 1/3] drm/debugfs: create debugfs files during drm_dev_register().

2020-05-15 Thread Wambui Karuga
Introduce the ability to track requests for the addition of drm debugfs files at any time and have them added all at once during drm_dev_register(). Drivers can add drm debugfs file requests to a new list tied to drm_device. During drm_dev_register(), the new function drm_debugfs_create_file()

[PATCH v3 4/5] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-05-15 Thread Ondrej Jirman
From: Icenowy Zheng PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for display. Backlight levels curve was optimized by Martijn Braam using a lux meter. Add its device nodes. Signed-off-by: Icenowy Zheng Signed-off-by: Martijn Braam Signed-off-by: Ondrej Jirman ---

[PATCH v11 0/2] Add initial support for slimport anx7625

2020-05-15 Thread Xin Ji
Hi all, The following series add support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the v11 version, any mistakes, please let me know, I will fix it in the next series. Change history: v11: Fix comments from

[PATCH v3] drm/bridge: adv7511: Fix cec clock EPROBE_DEFER handling

2020-05-15 Thread Vincent Whitchurch
If adv7511's devm_clk_get() for the cec clock returns -EPROBE_DEFER, we end up in an infinite probe loop. This happens: (1) adv7511's probe is called. (2) adv7511's probe adds some secondary i2c devices which bind to the dummy driver and thus call driver_deferred_probe_trigger() and

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread dillon min
Hi Alexandre, On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue wrote: > > > > On 5/14/20 10:24 AM, Linus Walleij wrote: > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > >> From: dillon min > >> > >> Enable the ltdc & ili9341 on stm32429-disco board. > >> > >> Signed-off-by: dillon min > > > >

[PULL] drm-misc-fixes

2020-05-15 Thread Maxime Ripard
Hi! Here's this week's drm-misc-fixes PR Maxime drm-misc-fixes-2020-05-14: Just one meson patch this time to propagate an error code The following changes since commit 5fe89a6acd668cbd1817fcdef5caa9fee568c2e8: drm: Fix HDCP failures when SRM fw is missing (2020-05-05 14:01:53 -0400) are

[PATCH] drm/i915: Remove duplicate inline specifier on write_pte

2020-05-15 Thread Nathan Chancellor
When building with clang: drivers/gpu/drm/i915/gt/gen8_ppgtt.c:392:24: warning: duplicate 'inline' declaration specifier [-Wduplicate-decl-specifier] declaration specifier [-Wduplicate-decl-specifier] static __always_inline inline void ^

Re: [PATCH v10 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2020-05-15 Thread Xin Ji
Hi Rob Herring, Thanks for your comments. On Thu, May 14, 2020 at 09:54:32AM -0500, Rob Herring wrote: > On Wed, May 06, 2020 at 03:04:20PM +0800, Xin Ji wrote: > > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > > for portable device. It converts MIPI to DisplayPort 1.3

Re: [PATCH 05/11] MIPS: constify sysrq_key_op

2020-05-15 Thread Thomas Bogendoerfer
On Wed, May 13, 2020 at 10:43:45PM +0100, Emil Velikov wrote: > With earlier commits, the API no longer discards the const-ness of the > sysrq_key_op. As such we can add the notation. > > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > Cc: linux-ker...@vger.kernel.org > Cc: Thomas Bogendoerfer > Cc:

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-15 Thread Rui Salvaterra
On Wed, 13 May 2020 at 11:27, Michel Dänzer wrote: > > The only theoretical problem there was that the kernel still had a > cacheable mapping of the same memory, and any access via that (e.g. > prefetch due to access to a neighbouring page) could trigger a machine > check. But I don't remember

Re: [RFC] Remove AGP support from Radeon/Nouveau/TTM

2020-05-15 Thread Rui Salvaterra
On Wed, 13 May 2020 at 14:44, Christian Zigotzky wrote: > > OpenGL version string: 1.5 Mesa 7.6 > OpenGL version string: 1.3 Mesa 7.2 > > Screenshots: > > - http://www.supertuxkart.de/stk07ubuntu910ppc.png > - http://www.supertuxkart.de/opensuse111-stk073.jpg Those are *extremely old* (and I

Re: [PATCH v2 22/91] reset: Move reset-simple header out of drivers/reset

2020-05-15 Thread Maxime Ripard
Hi Philipp, On Wed, May 06, 2020 at 11:26:34AM +0200, Philipp Zabel wrote: > On Fri, 2020-04-24 at 17:34 +0200, Maxime Ripard wrote: > > The reset-simple code can be useful for drivers outside of drivers/reset > > that have a few reset controls as part of their features. Let's move it to > >

Re: [PATCH 1/2] drm/radeon: disable AGP by default

2020-05-15 Thread Mathieu Malaterre
On Wed, May 13, 2020 at 1:21 PM Christian König wrote: > > Always use the PCI GART instead. Reviewed-by: Mathieu Malaterre > Signed-off-by: Christian König > --- > drivers/gpu/drm/radeon/radeon_drv.c | 5 - > 1 file changed, 5 deletions(-) > > diff --git

Re: [RFC PATCH 1/3] drm/debugfs: create debugfs files during drm_dev_register().

2020-05-15 Thread Wambui Karuga
On Wed, 13 May 2020, Thomas Zimmermann wrote: Hi Am 13.05.20 um 13:41 schrieb Wambui Karuga: Introduce the ability to track requests for the addition of drm debugfs files at any time and have them added all at once during drm_dev_register(). Drivers can add drm debugfs file requests to a

Re: [PATCH v3 1/4] dma-buf: add support for virtio exported objects

2020-05-15 Thread David Stevens
On Thu, May 14, 2020 at 12:45 AM Daniel Vetter wrote: > On Wed, Mar 11, 2020 at 12:20 PM David Stevens wrote: > > > > This change adds a new dma-buf operation that allows dma-bufs to be used > > by virtio drivers to share exported objects. The new operation allows > > the importing driver to

Re: [PATCH v3 1/4] dma-buf: add support for virtio exported objects

2020-05-15 Thread David Stevens
Sorry for the duplicate reply, didn't notice this until now. > Just storing > the uuid should be doable (assuming this doesn't change during the > lifetime of the buffer), so no need for a callback. Directly storing the uuid doesn't work that well because of synchronization issues. The uuid

[RFC PATCH 3/3] drm: use new debugfs functions for various files.

2020-05-15 Thread Wambui Karuga
Replace the use of drm_debugfs_create_files with the new drm_debugfs_add_files() to create various drm core debugfs files. DRM debugfs files are also represented using the new drm_simple_info struct for use with the new functions. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/drm_atomic.c

Re: [PATCH 1/2] drm/shmem: Use cached mappings by default

2020-05-15 Thread Thomas Zimmermann
Hi Am 14.05.20 um 22:36 schrieb Rob Herring: > On Thu, May 14, 2020 at 7:40 AM Daniel Vetter wrote: >> >> On Wed, May 13, 2020 at 05:03:11PM +0200, Thomas Zimmermann wrote: >>> SHMEM-buffer backing storage is allocated from system memory; which is >>> typically cachable. Currently, only virtio

Re: [PATCH 3/9] drm/doc: Some polish for shmem helpers

2020-05-15 Thread Thomas Zimmermann
Hi Am 14.05.20 um 22:05 schrieb Daniel Vetter: > On Mon, May 11, 2020 at 01:12:49PM +0200, Thomas Zimmermann wrote: >> >> >> Am 11.05.20 um 11:35 schrieb Daniel Vetter: >>> - Move the shmem helper section to the drm-mm.rst file, next to the >>> vram helpers. Makes a lot more sense there with

[PATCH v3 3/5] drm: panel: Add Xingbangda XBD599 panel (ST7703 controller)

2020-05-15 Thread Ondrej Jirman
From: Icenowy Zheng Xingbangda XBD599 is a 5.99" 720x1440 MIPI-DSI IPS LCD panel made by Xingbangda, which is used on PinePhone final assembled phones. It is based on Sitronix ST7703 LCD controller. Add support for it. Signed-off-by: Icenowy Zheng Signed-off-by: Ondrej Jirman ---

  1   2   >