Re: Panic booting qemu-system-sparc64 with bochs_drm

2020-07-03 Thread Mark Cave-Ayland
On 03/07/2020 22:57, Mark Cave-Ayland wrote: > Hi all, > > I've been receiving reports that newer sparc64 kernels have started to panic > on boot > under qemu-system-sparc64 with bochs_drm enabled which I was able to confirm > locally > building git master: > > > [9.007161] [drm] Found bo

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-07-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 Alexander Kernozhitsky (sh200...@mail.ru) changed: What|Removed |Added CC||sh200...@mail.

Panic booting qemu-system-sparc64 with bochs_drm

2020-07-03 Thread Mark Cave-Ayland
Hi all, I've been receiving reports that newer sparc64 kernels have started to panic on boot under qemu-system-sparc64 with bochs_drm enabled which I was able to confirm locally building git master: [9.007161] [drm] Found bochs VGA, ID 0xb0c5. [9.007840] [drm] Framebuffer size 16384 kB

Re: [git pull] drm fixes for 5.8-rc4

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Jul 2020 11:46:34 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2020-07-03 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1d42871465291c3f117ea3c9fbce8d4a603c303b Thank you! -- Deet-doot-dot, I am a bot. https://ko

Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx

2020-07-03 Thread Sam Ravnborg
Hi Tomi. On Fri, Jul 03, 2020 at 10:17:29AM +0300, Tomi Valkeinen wrote: > On 30/06/2020 21:26, Adam Ford wrote: > > The drm/omap driver was fixed to correct an issue where using a > > divider of 32 breaks the DSS despite the TRM stating 32 is a valid > > number. Through experimentation, it appea

[PATCH v3 14/21] drm/bridge: megachips: get drm_device from bridge

2020-07-03 Thread Sam Ravnborg
Fix so drm_device is read from the bridge. This is a preparation for the connector being optional. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec ---

[PATCH v3 10/21] drm/bridge: ti-tpd12s015: make connector creation optional

2020-07-03 Thread Sam Ravnborg
The ti-tpd12s015 do not create any connector, so ignore the flags argument, just pass it on to the next bridge in the chain. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/ti-tpd12s015.c |

[PATCH v3 13/21] drm/bridge: megachips: add helper to create connector

2020-07-03 Thread Sam Ravnborg
Factor out connector creation to a small helper function. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- .../bridge/megachips-stdp-ge-b850v3-f

[PATCH v3 04/21] drm/bridge: tc358764: add drm_panel_bridge support

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. The bridge panel will use the connector type reported by the panel, where the connector for this driver hardcode DRM_MODE_CONNECTOR_LVDS. v2: - Use PTR_ERR_OR_ZERO() (kbuild

[PATCH v3 19/21] drm/bridge: nxp-ptn3460: add get_modes bridge operation

2020-07-03 Thread Sam Ravnborg
Add the get_modes() bridge operation to prepare for use as a chained bridge. Add helper function that is also used by the connector. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/nxp-ptn3

[PATCH v3 16/21] drm/bridge: megachips: add get_edid bridge operation

2020-07-03 Thread Sam Ravnborg
To prepare for a chained bridge setup add support for the get_edid bridge operation. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- .../bridge/meg

[PATCH v3 06/21] drm/bridge: tc358767: add drm_panel_bridge support

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. The bridge driver assume the panel is optional. The relevant tests are migrated over to check for the pnale bridge to keep the same functionality. Note: the bridge panel will u

[PATCH v3 05/21] drm/bridge: tc358764: make connector creation optional

2020-07-03 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the tc358764 bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Reviewed-by: Laurent Pinchart Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bri

[PATCH v3 20/21] drm/bridge: nxp-ptn3460: make connector creation optional

2020-07-03 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the nxp-ptn3460 bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 6 ++

[PATCH v3 02/21] drm/panel: panel-simple: add default connector_type

2020-07-03 Thread Sam Ravnborg
All panels shall report a connector type. panel-simple has a lot of panels with no connector_type, and for these fall back to DPI as the default. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Sam Ravnborg --- drivers/gpu/drm/panel/panel-simple.c | 10 -- 1 file changed, 8 insertio

[PATCH v3 21/21] drm/bridge: ti-sn65dsi86: add drm_panel_bridge support

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v3 11/21] drm/bridge: parade-ps8622: add drm_panel_bridge support

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v3 03/21] drm/bridge: tc358764: drop drm_connector_(un)register

2020-07-03 Thread Sam Ravnborg
Drop drm_connector handling that is not needed: - drm_dev_register() in the display controller driver takes care of registering connectors. So the call to drm_connector_register() call is not needed in the bridge driver. - Use of drm_connector_unregister() is only required for drivers that

[PATCH v3 0/21] drm/bridge: support chained bridges + panel updates

2020-07-03 Thread Sam Ravnborg
This patch-set aims to make connector creation optional and prepare the bridge drivers for use in a chained setup. The objective is that all bridge drivers shall support a chained setup connector creation is moved to the display drivers. This is just one step on this path. Third iteration of this

[PATCH v3 12/21] drm/bridge: parade-ps8622: make connector creation optional

2020-07-03 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the parade-ps8622 bridge with the DRM bridge connector helper. This change moves drm_helper_hpd_irq_event() call in the attach function up before the connector creation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc:

[PATCH v3 08/21] drm/bridge: tc358767: add get_edid bride operation

2020-07-03 Thread Sam Ravnborg
Prepare for chained bridge with the addition of get_edid support. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/tc358767.c | 24 +--- 1 file changed, 17 insertions(+),

[PATCH v3 01/21] drm/panel: add connector type to boe, hv070wsa-100 panel

2020-07-03 Thread Sam Ravnborg
The boe,hv070wsa-100 panel is a LVDS panel. Fix connector type to reflect this. With this change users of this panel do not have to specify the connector type. v3: - Drop PIXDATA bus_flag, not relevant v2: - Add .bus_format (Laurent) - Add .bus_flags Signed-off-by: Sam Ravnborg Cc: Laure

[PATCH v3 09/21] drm/bridge: tc358767: make connector creation optional

2020-07-03 Thread Sam Ravnborg
Display drivers are in the new model expected to create the connector using drm_bridge_connector_init(). Allow users of this bridge driver to support the new model by introducing support for optional connector creation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Lauren

[PATCH v3 07/21] drm/bridge: tc358767: add detect bridge operation

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for chained operation by adding support for the detect operation. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- drivers/gpu/drm/bridge/tc358767.c | 16 +--- 1 file changed,

[PATCH v3 17/21] drm/bridge: megachips: make connector creation optional

2020-07-03 Thread Sam Ravnborg
Make the connector creation optional to enable usage of the megachips-stdp-ge-b850v3-fw bridge with the DRM bridge connector helper. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jo

[PATCH v3 15/21] drm/bridge: megachips: enable detect bridge operation

2020-07-03 Thread Sam Ravnborg
To prepare for use in a chained bridge setup enable the detect operation. Signed-off-by: Sam Ravnborg Cc: Peter Senna Tschudin Cc: Martin Donnelly Cc: Martyn Welch Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Jernej Skrabec --- .../gpu/drm/bridge/megach

[PATCH v3 18/21] drm/bridge: nxp-ptn3460: add drm_panel_bridge support

2020-07-03 Thread Sam Ravnborg
Prepare the bridge driver for use in a chained setup by replacing direct use of drm_panel with drm_panel_bridge support. Note: the bridge panel will use the connector type from the panel. Signed-off-by: Sam Ravnborg Cc: Andrzej Hajda Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman

[PATCH v4 10/20] backlight: add overview and update existing doc

2020-07-03 Thread Sam Ravnborg
Add overview chapter to backlight.c. Update existing kernel-doc to follow a more consistent style and drop kernel-doc for deprecated functions. v4: - Include updated devm_of_find_backlight doc (was accidently included in a later patch) v3: - Updated a few editorial details (Daniel) v2:

[PATCH v4 20/20] backlight: make of_find_backlight_by_node() static

2020-07-03 Thread Sam Ravnborg
There are no external users of of_find_backlight_by_node(). Make it static so we keep it that way. v2: - drop EXPORT of of_find_backlight_by_node Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- drivers/video/backlight/backlight

[PATCH v4 17/20] backlight: use backligt_get_brightness()

2020-07-03 Thread Sam Ravnborg
Introduce the backlight_get_brightness() helper in all video/backlight/* drivers. This simplifies the code and align the implementation of the update_status() operation across the different backlight drivers. Some of the drivers gains a little extra functionality by the change as they now respect

[PATCH v4 09/20] backlight: drop extern from prototypes

2020-07-03 Thread Sam Ravnborg
No need to put "extern" in front of prototypes. While touching the prototypes adjust indent to follow the kernel style. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- include/linux/backlight.h | 35

[PATCH v4 08/20] backlight: remove the unused backlight_bl driver

2020-07-03 Thread Sam Ravnborg
The backlight_bl driver required initialization using struct generic_bl_info. As there are no more references to this struct there is no users left. So it is safe to delete the driver. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: Daniel T

[PATCH v4 06/20] backlight: document inline functions in backlight.h

2020-07-03 Thread Sam Ravnborg
Add documentation for the inline functions in backlight.h v2: - Fix spelling (Daniel) Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- include/linux/backlight.h | 16 1 file changed, 16

[PATCH v4 16/20] backlight: jornada720_bl: introduce backlight_is_blank()

2020-07-03 Thread Sam Ravnborg
Use the backlight_is_blank() helper to simplify the code a bit. This add support for fb_blank as a side-effect. Signed-off-by: Sam Ravnborg Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- drivers/video/backlight/jornada720_bl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4 15/20] backlight: gpio_backlight: simplify update_status()

2020-07-03 Thread Sam Ravnborg
Introduce the use of backlight_get_brightness() to simplify the update_status() operation. With the simpler implementation drop the gpio_backlight_get_next_brightness() helper as it was now a one-liner. Signed-off-by: Sam Ravnborg Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- drivers/v

[PATCH v4 19/20] backlight: make of_find_backlight static

2020-07-03 Thread Sam Ravnborg
There are no external users of of_find_backlight, as they have all changed to use the managed version. Make of_find_backlight static to prevent new external users. v3: - Move doc for devm_of_find_backlight out of this patch v2: - Editorial corrections (Daniel) - Returns => RETURNS (Daniel)

[PATCH v4 12/20] backlight: introduce backlight_get_brightness()

2020-07-03 Thread Sam Ravnborg
Based on an idea from Emil Velikov add a helper that checks backlight_is_blank() and return 0 as brightness if display is blank or the property value if not. This allows us to simplify the update_status() implementation in most of the backlight drivers. Signed-off-by: Sam Ravnborg Cc: Emil Veli

[PATCH v4 14/20] backlight: cr_bllcd: introduce backlight_is_blank()

2020-07-03 Thread Sam Ravnborg
The cr_bllcd uses the FB_BLANK states as brightness. This results in brightness value equals 0 that turn on the display and 4 that turn off the display. Simplify the logic but keep current behaviour as userspace may expect brightness set to 0 to turn on the display. Signed-off-by: Sam Ravnborg Cc

[PATCH v4 13/20] backlight: as3711_bl: simplify update_status

2020-07-03 Thread Sam Ravnborg
Replaces the open-coded checks of the state, with the backlight_get_brightness() helper. This increases readability of the code and align the functionality across the drivers. Futhermore drop the debug prints in update_status(). If we need debug printing then we can add it to the backlight core.

[PATCH v4 18/20] backlight: drop backlight_put()

2020-07-03 Thread Sam Ravnborg
There are no external users of backlight_put(). Drop it and open code the two users in backlight.c. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- drivers/video/backlight/backlight.c | 7 +-- include/linux/backlight.h

[PATCH v4 07/20] backlight: document enums in backlight.h

2020-07-03 Thread Sam Ravnborg
Add kernel-doc documentation for the backlight enums v2: - Add intro to each enum member (Daniel) Except backlight type as line lenght was too long. The generated HTML is the same. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: D

[PATCH v4 11/20] backlight: wire up kernel-doc documentation

2020-07-03 Thread Sam Ravnborg
Include backlight so the documentation is now generated with make htmldocs and friends. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: Jonathan Corbet -

[PATCH v4 02/20] backlight: add backlight_is_blank()

2020-07-03 Thread Sam Ravnborg
The backlight support has two properties that express the state: - power - state It is un-documented and easy to get wrong. Add backlight_is_blank() helper to make it simpler for drivers to get the check of the state correct. A lot of drivers also includes checks for fb_blank. This check is redun

[PATCH v4 05/20] backlight: improve backlight_device documentation

2020-07-03 Thread Sam Ravnborg
Improve the documentation for backlight_device and adapt it to kernel-doc style. The updated documentation is more strict on how locking is used. With the update neither update_lock nor ops_lock may be used outside the backlight core. This restriction was introduced to keep the locking simple by k

[PATCH v4 03/20] backlight: improve backlight_ops documentation

2020-07-03 Thread Sam Ravnborg
Improve the documentation for backlight_ops and adapt it to kernel-doc style. v2: - Add intro for each field (Daniel) Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- include/linux/backlight.h | 59 +++

[PATCH v4 0/20] backlight: backlight updates

2020-07-03 Thread Sam Ravnborg
Long overdue follow-up. v3 submission here: https://lore.kernel.org/dri-devel/20200601065207.492614-1-...@ravnborg.org/ v4: - Introduced backlight_get_brightness based on feedback from Emil. - Properly described the rationale behind more restrictive locking use I checked that locking was n

[PATCH v4 01/20] backlight: refactor fb_notifier_callback()

2020-07-03 Thread Sam Ravnborg
Increase readability of fb_notifier_callback() by removing a few indent levels. No functional change. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Thompson Reviewed-by: Emil Velikov Cc: Lee Jones Cc: Daniel Thompson Cc: Jingoo Han --- drivers/video/backlight/backlight.c | 43

[PATCH v4 04/20] backlight: improve backlight_properties documentation

2020-07-03 Thread Sam Ravnborg
Improve the documentation for backlight_properties and adapt it to kernel-doc style. v3: - Added missing '@' in kernel-doc v2: - Added into for each field (Daniel) - Re-written some parts to explain what to do, rather than what not to do. Partly based on suggestions from the review

Re: [RFC PATCH 0/4] DSI/DBI and TinyDRM driver

2020-07-03 Thread Sam Ravnborg
Hi Noralf/Paul. Trying to stir up this discussion again. On Sun, Jun 14, 2020 at 06:36:22PM +0200, Noralf Trønnes wrote: > > > Den 07.06.2020 15.38, skrev Paul Cercueil: > > Hi, > > > > Here's a follow-up on the previous discussion about the current state of > > DSI/DBI panel drivers, TinyDRM,

Re: [PATCH] drm/vc4: Convert register accessors to FIELD_*

2020-07-03 Thread Eric Anholt
On Fri, Jul 3, 2020 at 6:57 AM Maxime Ripard wrote: > > The VC4_SET_FIELD and VC4_GET_FIELD are reimplementing most of the logic > already defined in FIELD_SET and FIELD_GET. Let's convert the vc4 macros to > use the FIELD_* macros. > > Signed-off-by: Maxime Ripard > --- Reviewed-by: Eric Anholt

Re: [PATCH 2/2] drm/msm: Quiet error during failure in optional resource mappings.

2020-07-03 Thread kernel test robot
Hi Eric, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master v5.8-rc3 next-20200703] [cannot apply to drm/drm-next] [If your patch

Re: [PATCHv3 7/7] drm/msm/a6xx: Add support for using system cache(LLC)

2020-07-03 Thread Rob Clark
On Fri, Jul 3, 2020 at 7:53 AM Sai Prakash Ranjan wrote: > > Hi Will, > > On 2020-07-03 19:07, Will Deacon wrote: > > On Mon, Jun 29, 2020 at 09:22:50PM +0530, Sai Prakash Ranjan wrote: > >> diff --git a/drivers/gpu/drm/msm/msm_iommu.c > >> b/drivers/gpu/drm/msm/msm_iommu.c > >> index f455c597f76d

Re: DSI probe/bind ordering in vc4

2020-07-03 Thread Andrzej Hajda
On 30.06.2020 15:27, Maxime Ripard wrote: Hi, I've tried to bring-up the DSI controller on the RaspberryPi4, and I've just encountered something that could make it troublesome to support. For context, the RaspberryPi has an official panel that uses a DSI->DPI bridge, a DPI panel, a touchscree

Re: [PATCHv3 7/7] drm/msm/a6xx: Add support for using system cache(LLC)

2020-07-03 Thread Will Deacon
On Fri, Jul 03, 2020 at 08:23:07PM +0530, Sai Prakash Ranjan wrote: > On 2020-07-03 19:07, Will Deacon wrote: > > On Mon, Jun 29, 2020 at 09:22:50PM +0530, Sai Prakash Ranjan wrote: > > > diff --git a/drivers/gpu/drm/msm/msm_iommu.c > > > b/drivers/gpu/drm/msm/msm_iommu.c > > > index f455c597f76d..

Re: [PATCH v6 2/2] display/drm/bridge: TC358775 DSI/LVDS driver

2020-07-03 Thread Sam Ravnborg
Hi Vinay. On Thu, Jul 02, 2020 at 06:06:34PM +0530, Vinay Simha BN wrote: > This driver is tested with two panels individually with Apq8016-IFC6309 board > https://www.inforcecomputing.com/products/single-board-computers-sbc/qualcomm-snapdragon-410-inforce-6309-micro-sbc > > 1. 1366x768@60 auo,b1

Re: [PATCH v6 1/2] dt-binding: Add DSI/LVDS TC358775 bridge bindings

2020-07-03 Thread Sam Ravnborg
Hi Vinay. On Thu, Jul 02, 2020 at 06:06:33PM +0530, Vinay Simha BN wrote: > Signed-off-by: Vinay Simha BN > > --- > v1: > Initial version wast .txt file > > v2: > From txt to yaml file format > > v3: > * Andrzej Hajda review comments incorporated > dual port lvds implemented > > * Laurent

Re: [Intel-gfx] [PATCH v7 17/17] drm/i915: Add HDCP 1.4 support for MST connectors

2020-07-03 Thread Anshuman Gupta
On 2020-07-03 at 16:48:27 +0530, Anshuman Gupta wrote: > On 2020-06-23 at 21:29:07 +0530, 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 th

Re: [PATCH v6 1/2] dt-binding: Add DSI/LVDS TC358775 bridge bindings

2020-07-03 Thread Sam Ravnborg
Hi Vinay. On Thu, Jul 02, 2020 at 06:06:33PM +0530, Vinay Simha BN wrote: > Signed-off-by: Vinay Simha BN > > --- > v1: > Initial version wast .txt file > > v2: > From txt to yaml file format > > v3: > * Andrzej Hajda review comments incorporated > dual port lvds implemented > > * Laurent

Re: [PATCH] drm/dbi: Fix SPI Type 1 (9-bit) transfer

2020-07-03 Thread Sam Ravnborg
On Fri, Jul 03, 2020 at 04:13:41PM +0200, Paul Cercueil wrote: > The function mipi_dbi_spi1_transfer() will transfer its payload as 9-bit > data, the 9th (MSB) bit being the data/command bit. In order to do that, > it unpacks the 8-bit values into 16-bit values, then sets the 9th bit if > the byte

Re: [PATCH] drm/dbi: Fix SPI Type 1 (9-bit) transfer

2020-07-03 Thread Sam Ravnborg
On Fri, Jul 03, 2020 at 04:13:41PM +0200, Paul Cercueil wrote: > The function mipi_dbi_spi1_transfer() will transfer its payload as 9-bit > data, the 9th (MSB) bit being the data/command bit. In order to do that, > it unpacks the 8-bit values into 16-bit values, then sets the 9th bit if > the byte

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-03 Thread Hans de Goede
Hi, On 7/3/20 2:58 PM, Daniel Vetter wrote: On Fri, Jul 3, 2020 at 12:55 PM Hans de Goede wrote: Hi, On 7/1/20 4:10 PM, Thomas Zimmermann wrote: Hi Daniel, thanks for reviewing most of the patchset. Am 30.06.20 um 11:06 schrieb Daniel Vetter: On Mon, Jun 29, 2020 at 11:39 AM Hans de Goed

Re: [PATCHv3 7/7] drm/msm/a6xx: Add support for using system cache(LLC)

2020-07-03 Thread Will Deacon
On Mon, Jun 29, 2020 at 09:22:50PM +0530, Sai Prakash Ranjan wrote: > diff --git a/drivers/gpu/drm/msm/msm_iommu.c b/drivers/gpu/drm/msm/msm_iommu.c > index f455c597f76d..bd1d58229cc2 100644 > --- a/drivers/gpu/drm/msm/msm_iommu.c > +++ b/drivers/gpu/drm/msm/msm_iommu.c > @@ -218,6 +218,9 @@ static

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-03 Thread Christian König
Am 03.07.20 um 15:14 schrieb Jason Gunthorpe: On Fri, Jul 03, 2020 at 02:52:03PM +0200, Daniel Vetter wrote: So maybe I'm just totally confused about the rdma model. I thought: - you bind a pile of memory for various transactions, that might happen whenever. Kernel driver doesn't have much if a

[PATCH v3] drm: gma500: Convert to GPIO descriptors

2020-07-03 Thread Linus Walleij
Finalize he conversion of GMA500 to use only GPIO descriptors. The GPIO look-up-table is associated with the device directly in the GMA500 Medfield chip driver since no explicit platform type device (such as in x86/platform/intel-mid) exists: the GMA500 probes directly from the PCI device. Apparent

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-03 Thread Daniel Vetter
On Fri, Jul 3, 2020 at 12:55 PM Hans de Goede wrote: > > Hi, > > On 7/1/20 4:10 PM, Thomas Zimmermann wrote: > > Hi Daniel, > > > > thanks for reviewing most of the patchset. > > > > Am 30.06.20 um 11:06 schrieb Daniel Vetter: > >> On Mon, Jun 29, 2020 at 11:39 AM Hans de Goede wrote: > >>> > >>>

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-03 Thread Daniel Vetter
On Fri, Jul 3, 2020 at 2:03 PM Jason Gunthorpe wrote: > > On Thu, Jul 02, 2020 at 08:15:40PM +0200, Daniel Vetter wrote: > > > > > 3. rdma driver worker gets busy to restart rx: > > > > > 1. lock all dma-buf that are currently in use (dma_resv_lock). > > > > > thanks to ww_mutex de

Re: [Intel-gfx] [PATCH v7 08/17] drm/i915: Clean up intel_hdcp_disable

2020-07-03 Thread Anshuman Gupta
On 2020-06-23 at 21:28:58 +0530, Sean Paul wrote: > From: Sean Paul > > Add an out label and un-indent hdcp disable in preparation for > hdcp_mutex. No functional changes LGTM Reviewed-by: Anshuman Gupta > > Signed-off-by: Sean Paul > Link: > https://patchwork.freedesktop.org/patch/msgid/2020

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-03 Thread Thomas Zimmermann
Hi Am 03.07.20 um 12:55 schrieb Hans de Goede: > Hi, > > On 7/1/20 4:10 PM, Thomas Zimmermann wrote: >> Hi Daniel, >> >> thanks for reviewing most of the patchset. >> >> Am 30.06.20 um 11:06 schrieb Daniel Vetter: >>> On Mon, Jun 29, 2020 at 11:39 AM Hans de Goede >>> wrote: Hi, >

Re: [Intel-gfx] [PATCH v7 17/17] drm/i915: Add HDCP 1.4 support for MST connectors

2020-07-03 Thread Anshuman Gupta
On 2020-06-23 at 21:29:07 +0530, 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: Jus

Re: [PATCH] omapfb: dss: Fix max fclk divider for omap36xx

2020-07-03 Thread Tomi Valkeinen
On 30/06/2020 21:26, Adam Ford wrote: The drm/omap driver was fixed to correct an issue where using a divider of 32 breaks the DSS despite the TRM stating 32 is a valid number. Through experimentation, it appears that 31 works, and it is consistent with the value used by the drm/omap driver. Th

Re: [PATCH v2 12/14] drm/ast: Replace struct ast_crtc with struct drm_crtc

2020-07-03 Thread Sam Ravnborg
Hi Thomas. On Fri, Jul 03, 2020 at 08:51:31AM +0200, Thomas Zimmermann wrote: > Hi Sam > > Am 03.07.20 um 08:38 schrieb Sam Ravnborg: > > Hi Thomas. > > > > Just browsing code.. > > > > On Thu, Jul 02, 2020 at 01:50:27PM +0200, Thomas Zimmermann wrote: > >> Struct ast_crtc has been cleaned up a

[Bug 208179] [amdgpu] black screen after exiting X

2020-07-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=208179 Shlomo (shl...@fastmail.com) changed: What|Removed |Added Status|NEW |RESOLVED Resolutio

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-03 Thread Hans de Goede
Hi, On 7/1/20 4:10 PM, Thomas Zimmermann wrote: Hi Daniel, thanks for reviewing most of the patchset. Am 30.06.20 um 11:06 schrieb Daniel Vetter: On Mon, Jun 29, 2020 at 11:39 AM Hans de Goede wrote: Hi, On 6/25/20 2:00 PM, Thomas Zimmermann wrote: This patchset adds support for simple-f

Re: [RFC][PATCH 0/9] drm: Support simple-framebuffer devices and firmware fbs

2020-07-03 Thread Hans de Goede
Hi, On 7/1/20 3:48 PM, Thomas Zimmermann wrote: Hi Hans Am 29.06.20 um 11:38 schrieb Hans de Goede: Hi, On 6/25/20 2:00 PM, Thomas Zimmermann wrote: This patchset adds support for simple-framebuffer platform devices and a handover mechanism for native drivers to take-over control of the hard

Re: [Intel-gfx] [PATCH v7 13/17] drm/i915: Plumb port through hdcp init

2020-07-03 Thread Anshuman Gupta
On 2020-06-23 at 21:29:03 +0530, Sean Paul wrote: > From: Sean Paul > > This patch plumbs port through hdcp init instead of relying on > intel_attached_encoder() to return a non-NULL encoder which won't work > for MST connectors. Looks good to me, Reviewed-by: Anshuman Gupta > > Cc: Ville Syrjä

Re: [Intel-gfx] [PATCH v7 14/17] drm/i915: Add connector to hdcp_shim->check_link()

2020-07-03 Thread Anshuman Gupta
On 2020-06-23 at 21:29:04 +0530, Sean Paul wrote: > From: Sean Paul > > Currently we derive the connector from digital port in check_link(). For > MST, this isn't sufficient since the digital port passed into the > function can have multiple connectors downstream. This patch adds > connector to t

[PATCH] drm/panel: auo,b116xw03: fix flash backlight when power on

2020-07-03 Thread Jitao Shi
Delay the backlight on to make sure the video stable. Signed-off-by: Jitao Shi --- drivers/gpu/drm/panel/panel-simple.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 3ad828eaefe1..18f34f286d3d 100644 ---

Re: [PATCH v9 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-03 Thread Simon Ser
Thanks for the update! The driver should also disallow importing a AMLOGIC_FBC_LAYOUT_SCATTER DMA-BUF from another device, but I guess this is clear enough ("not transferrable between Amlogic SoCs"). >From a user-space PoV: Acked-by: Simon Ser ___ dri

[Bug 204609] amdgpu: powerplay failed send message

2020-07-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204609 --- Comment #8 from Mikhail Tuchkov (tuchkov.mikh...@gmail.com) --- Created attachment 290075 --> https://bugzilla.kernel.org/attachment.cgi?id=290075&action=edit dmesg -- You are receiving this mail because: You are watching the assignee of t

[Bug 204609] amdgpu: powerplay failed send message

2020-07-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204609 Mikhail Tuchkov (tuchkov.mikh...@gmail.com) changed: What|Removed |Added CC||tuchkov.mikh

Re: [PATCH v2] drm/fourcc: Add bayer formats and modifiers

2020-07-03 Thread Neil Armstrong
Hi Niklas, On 02/07/2020 23:51, Laurent Pinchart wrote: > Hi Sakari, > > On Mon, May 25, 2020 at 01:31:43PM +0300, Sakari Ailus wrote: >> On Fri, May 22, 2020 at 01:52:01AM +0200, Niklas Söderlund wrote: >>> Bayer formats are used with cameras and contain green, red and blue >>> components, with

Re: [PATCH v9 0/6] drm/meson: add support for Amlogic Video FBC

2020-07-03 Thread Neil Armstrong
On 03/07/2020 10:07, Neil Armstrong wrote: > Amlogic uses a proprietary lossless image compression protocol and format > for their hardware video codec accelerators, either video decoders or > video input encoders. > > It considerably reduces memory bandwidth while writing and reading > frames in

[PATCH] fbdev: da8xx-fb: go to proper label on error handling paths in probe

2020-07-03 Thread Evgeny Novikov
fb_probe() can successfully allocate a new frame buffer, but then fail to perform some operations with regulator. In these cases fb_probe() goes to label err_pm_runtime_disable where the frame buffer is not released. The patch makes fb_probe() to go to label err_release_fb on corresponding error ha

Re: [PATCH] drm/msm/dpu: fix wrong return value in dpu_encoder_init()

2020-07-03 Thread Tianjia Zhang
On 2020/7/2 22:04, Markus Elfring wrote: A positive value ENOMEM is returned here. I thinr this is a typo error. It is necessary to return a negative error value. I imagine that a small adjustment could be nice for this change description. How do you think about to follow progress for the in

Re: [PATCH v7 02/13] dt-bindings: panel: Convert rocktech, jh057n00900 to yaml

2020-07-03 Thread Ondřej Jirman
On Thu, Jul 02, 2020 at 02:51:43PM -0600, Rob Herring wrote: > On Wed, 01 Jul 2020 18:29:17 +0200, Ondrej Jirman wrote: > > Convert Rocktech MIPI DSI panel driver from txt to yaml bindings. > > > > Signed-off-by: Ondrej Jirman > > --- > > .../display/panel/rocktech,jh057n00900.txt| 23 --

Re: [PATCH v6 08/12] device core: Introduce DMA range map, supplanting dma_pfn_offset

2020-07-03 Thread Andy Shevchenko
On Wed, Jul 01, 2020 at 05:21:38PM -0400, Jim Quinlan wrote: > The new field 'dma_range_map' in struct device is used to facilitate the > use of single or multiple offsets between mapping regions of cpu addrs and > dma addrs. It subsumes the role of "dev->dma_pfn_offset" which was only > capable o

Re: [PATCH v7 12/13] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-07-03 Thread Maxime Ripard
On Wed, Jul 01, 2020 at 06:29:27PM +0200, Ondrej Jirman wrote: > 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: Iceno

答复: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-03 Thread tiantao (H)
Hi: I am sorry for misunderstood you suggests. I will send v3 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 15:20 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.com; t...

Re: [PATCH RFC v6 1/6] dt-bindings: exynos-bus: Add documentation for interconnect properties

2020-07-03 Thread Chanwoo Choi
Hi Sylwester, On 7/3/20 1:37 AM, Sylwester Nawrocki wrote: > Add documentation for new optional properties in the exynos bus nodes: > samsung,interconnect-parent, #interconnect-cells, bus-width. > These properties allow to specify the SoC interconnect structure which > then allows the interconnec

[PATCH] drm : Insert blank lines after declarations.

2020-07-03 Thread Suraj Upadhyay
Resolve checkpatch issues for missing blank lines after declarations. Issues found in multiple files with checkpatch.pl. Signed-off-by: Suraj Upadhyay --- Contributor comments : Hii developers, I am a new contributor to linux kernel. This email is over 600 lines however the changes are very small

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-07-03 Thread Georgi Djakov
Hi Sylwester, On 7/2/20 15:01, Sylwester Nawrocki wrote: > Hi Georgi, > > On 01.07.2020 14:50, Georgi Djakov wrote: >> Thanks for the patch and apologies for the delayed reply. > > Thanks, no problem. It's actually just in time as I put that patchset > aside for a while and was just about to pos

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-03 Thread Jason Gunthorpe
On Thu, Jul 02, 2020 at 03:10:00PM +0200, Daniel Vetter wrote: > On Wed, Jul 01, 2020 at 02:15:24PM -0300, Jason Gunthorpe wrote: > > On Wed, Jul 01, 2020 at 05:42:21PM +0200, Daniel Vetter wrote: > > > > >> All you need is the ability to stop wait for ongoing accesses to end > > > > >> and > > >

[PATCH v3] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-03 Thread Tian Tao
using the new API drmm_kzalloc() instead of devm_kzalloc() v3: still fixed include statements sorted alphabetically. v2: keep the DRM include statements sorted alphabetically. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- 1

[PATCH] drm/hisilicon: Fixed the warning: Assignment of 0/1 to bool variable

2020-07-03 Thread Tian Tao
fixed the following warning: hibmc_drm_drv.c:296:1-18:WARNING: Assignment of 0/1 to bool variable. hibmc_drm_drv.c:301:2-19: WARNING: Assignment of 0/1 to bool variable. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 delet

Re: [PATCH v4 28/37] memory: tegra: Register as interconnect provider

2020-07-03 Thread Georgi Djakov
Hi Dmitry, On 7/2/20 02:36, Dmitry Osipenko wrote: > 01.07.2020 20:12, Georgi Djakov пишет: >> Hi Dmitry, >> >> Thank you for updating the patches! > > Hello, Georgi! > > Thank you for the review! > >> On 6/9/20 16:13, Dmitry Osipenko wrote: >>> Now memory controller is a memory interconnection

Re: [PATCH] drm/stm: repair runtime power management

2020-07-03 Thread Marek Vasut
On 7/2/20 12:07 PM, Philippe CORNU wrote: Hi, [...] Thank for your patch. Pm_runtime_put_sync is also done into function ltdc_crtc_mode_fixup. To avoid several call of Pm_runtime_put_sync, it could be better to check pm_runtime activity: + int ret;

[PATCH v3] drm/hisilicon: Code refactoring for hibmc_drv_vdac

2020-07-03 Thread Tian Tao
code refactoring for hibmc_drv_vdac.c, no actual function changes. v2: remove the debug message. v3: embedding connector and encoder in struct hibmc_drm_private. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 2 + drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.

Re: [RFC PATCH v2 0/3] RDMA: add dma-buf support

2020-07-03 Thread Jason Gunthorpe
On Tue, Jun 30, 2020 at 08:08:46PM +, Xiong, Jianxin wrote: > > From: Jason Gunthorpe > > Sent: Tuesday, June 30, 2020 12:17 PM > > To: Xiong, Jianxin > > Cc: linux-r...@vger.kernel.org; Doug Ledford ; Sumit > > Semwal ; Leon Romanovsky > > ; Vetter, Daniel ; Christian > > Koenig ; dri- > >

Re: [PATCH net-next] ksz884x: mark pcidev_suspend() as __maybe_unused

2020-07-03 Thread Vaibhav Gupta
On Thu, Jul 2, 2020 at 2:38 PM Wei Yongjun wrote: > > In certain configurations without power management support, gcc report > the following warning: > > drivers/net/ethernet/micrel/ksz884x.c:7182:12: warning: > 'pcidev_suspend' defined but not used [-Wunused-function] > 7182 | static int pcidev

Re: [PATCH] drm/msm/dpu: fix wrong return value in dpu_encoder_init()

2020-07-03 Thread Markus Elfring
> A positive value ENOMEM is returned here. I thinr this is a typo error. > It is necessary to return a negative error value. I imagine that a small adjustment could be nice for this change description. How do you think about to follow progress for the integration of a previous patch like “[RESEN

  1   2   >