[Bug 203879] hard freeze on high single threaded load (AMD Ryzen 7 2700X CPU)

2019-07-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203879 --- Comment #7 from Sam Bazley (sambaz...@protonmail.com) --- (I've got a 2700X and a Vega 64, if that helps) -- You are receiving this mail because: You are watching the assignee of the bug. ___

[Bug 203879] hard freeze on high single threaded load (AMD Ryzen 7 2700X CPU)

2019-07-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203879 Sam Bazley (sambaz...@protonmail.com) changed: What|Removed |Added CC|

[Bug 110214] radeonsi: xterm scrollback buffer disappears while Shift+PgUp and Shift+PgDn

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 --- Comment #95 from Diego Viola --- Still a problem with linux 5.2.0-arch2-1-ARCH and mesa 19.1.2-1. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [PATCH 1/2] regmap: Add DSI bus support

2019-07-12 Thread Rob Clark
On Fri, Jul 12, 2019 at 7:22 AM Jeffrey Hugo wrote: > > On Fri, Jul 12, 2019 at 7:01 AM Andrzej Hajda wrote: > > > > On 11.07.2019 15:56, Rob Clark wrote: > > > On Thu, Jul 11, 2019 at 6:11 AM Andrzej Hajda wrote: > > >> On 06.07.2019 03:06, Mark Brown wrote: > > >>> On Wed, Jul 03, 2019 at

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #58 from Joe Coutcher --- Update - After adding init=nomwait and iommu=pt to my kernel parameters, I'm no longer seeing garbage on the display, and the system has been stable for the past hour on 5.2rc7. -- You are receiving this

[Bug 109238] [DC] Polaris10: Missing modes when enabling DC

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109238 --- Comment #4 from Raman Gupta --- Still have this issue, with a totally different card: RX590 made by Asus. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the

[Bug 109239] Polaris10: Periodic random black screens for 1-2 seconds

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109239 --- Comment #14 from Raman Gupta --- Purchased a new Radeon RX590 (made by Asus instead of XFX) and no longer have this issue. -- You are receiving this mail because: You are the assignee for the

Re: [PATCH] drm/amd/display: Support clang option for stack alignment

2019-07-12 Thread Arnd Bergmann
On Fri, Jul 12, 2019 at 8:49 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Fri, Jul 12, 2019 at 2:37 AM Arnd Bergmann wrote: > > > > As previously fixed for dml in commit 4769278e5c7f ("amdgpu/dc/dml: > > Support clang option for stack alignment") and calcs in commit > > cc32ad8f559c

Re: [PATCH] drm/amd/amdgpu: hide #warning for missing DC config

2019-07-12 Thread Arnd Bergmann
On Fri, Jul 12, 2019 at 8:02 PM Alex Deucher wrote: > > On Fri, Jul 12, 2019 at 5:41 AM Arnd Bergmann wrote: > > > > It is annoying to have #warnings that trigger in randconfig > > builds like > > > > drivers/gpu/drm/amd/amdgpu/soc15.c:653:3: error: "Enable CONFIG_DRM_AMD_DC > > for display

Re: [PATCH 07/10] drm/i915: Implement MST Aux device registration

2019-07-12 Thread Ville Syrjälä
On Fri, Jul 12, 2019 at 11:05:59PM +0300, Ville Syrjälä wrote: > On Fri, Jul 12, 2019 at 03:48:53PM -0400, Lyude Paul wrote: > > BTW, I just tried these patches on my T450s (using i915) and I'm seeing some > > kernel warnings with them when adding DP aux devices after connecting a new > > MST

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-12 Thread Maxime Ripard
On Wed, Jul 10, 2019 at 03:11:04PM -0700, Vasily Khoruzhick wrote: > On Wed, Jul 10, 2019 at 4:40 AM Maxime Ripard > wrote: > > > > > There's another issue: if we introduce edp-connector we'll have to > > > > > specify power up delays somewhere (in dts? or in platform driver?), so > > > > >

Re: [PATCH 07/10] drm/i915: Implement MST Aux device registration

2019-07-12 Thread Ville Syrjälä
On Fri, Jul 12, 2019 at 03:48:53PM -0400, Lyude Paul wrote: > BTW, I just tried these patches on my T450s (using i915) and I'm seeing some > kernel warnings with them when adding DP aux devices after connecting a new > MST topology to the system: > > [ 367.742571] WARNING: CPU: 2 PID: 442 at >

Re: [PATCH 04/10] drm/nouveau: Use connector kdev as aux device parent

2019-07-12 Thread Lyude Paul
Reviewed-by: Lyude Paul On Thu, 2019-07-04 at 15:05 -0400, sunpeng...@amd.com wrote: > From: Leo Li > > Set the connector's kernel device as the parent for the aux kernel > device. This allows udev rules to access connector attributes when > creating symlinks to aux devices. > > Cc: Ben

Re: [PATCH v1] drm/modes: Don't apply cmdline's rotation if it wasn't specified

2019-07-12 Thread Maxime Ripard
On Thu, Jul 11, 2019 at 05:13:13AM +0300, Dmitry Osipenko wrote: > The rotation mode from cmdline shouldn't be taken into account if it > wasn't specified in the cmdline. This fixes ignored default display > orientation when display mode is given using cmdline without the > rotation being

Re: [PATCH 08/10] drm/nouveau/kms/nv50: Implement MST Aux device registration

2019-07-12 Thread Lyude Paul
Patch looks fine to me, but I'm seeing the same warnings that I mentioned on patch 7 with this as well On Thu, 2019-07-04 at 15:05 -0400, sunpeng...@amd.com wrote: > From: Leo Li > > Implement late_register and early_unregister hooks for MST connectors. > Call drm helpers for MST connector

Re: [PATCH v1] drm/modes: Skip invalid cmdline mode

2019-07-12 Thread Maxime Ripard
On Fri, Jul 12, 2019 at 11:30:01AM +0300, Dmitry Osipenko wrote: > 12.07.2019 11:10, Maxime Ripard пишет: > > On Thu, Jul 11, 2019 at 06:55:03PM +0300, Dmitry Osipenko wrote: > >> 11.07.2019 12:03, Maxime Ripard пишет: > >>> On Wed, Jul 10, 2019 at 06:05:18PM +0300, Dmitry Osipenko wrote: >

Re: [PATCH 07/10] drm/i915: Implement MST Aux device registration

2019-07-12 Thread Lyude Paul
BTW, I just tried these patches on my T450s (using i915) and I'm seeing some kernel warnings with them when adding DP aux devices after connecting a new MST topology to the system: [ 296.511130] kauditd_printk_skb: 2 callbacks suppressed [ 296.511135] audit: type=1305

Re: [PATCH v3] gpu/drm_memory: fix a few warnings

2019-07-12 Thread Qian Cai
Maybe one of the non-DRM maintainers (Andrew, Thomas or Greg) who cares a bit about SPDX can pick this up. It occurs to me none of DRM maintainers cares about this as there is no feedback from any of them for months since v1. On Tue, 2019-07-09 at 11:13 -0400, Qian Cai wrote: > The opening

[PATCH] drm: Add Grain Media GM12U320 driver

2019-07-12 Thread Hans de Goede
Add a modesetting driver for Grain Media GM12U320 based devices (primarily Acer C120 projector, but there may be compatible devices). This is based on the fb driver from Viacheslav Nurmekhamitov: https://github.com/slavrn/gm12u320 This driver uses drm_simple_display_pipe to deal with all the

Re: [PATCH] drm/amd/amdgpu: hide #warning for missing DC config

2019-07-12 Thread Alex Deucher
On Fri, Jul 12, 2019 at 5:41 AM Arnd Bergmann wrote: > > It is annoying to have #warnings that trigger in randconfig > builds like > > drivers/gpu/drm/amd/amdgpu/soc15.c:653:3: error: "Enable CONFIG_DRM_AMD_DC > for display support on SOC15." > drivers/gpu/drm/amd/amdgpu/nv.c:400:3: error:

Re: [PATCH] drm/amd/display: return 'NULL' instead of 'false' from dcn20_acquire_idle_pipe_for_layer

2019-07-12 Thread Alex Deucher
On Fri, Jul 12, 2019 at 5:40 AM Arnd Bergmann wrote: > > clang complains that 'false' is a not a pointer: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:2428:10: > error: expression which evaluates to zero treated as a null pointer constant > of type 'struct pipe_ctx *'

Re: [PATCH] drm/amd/display: Support clang option for stack alignment

2019-07-12 Thread Alex Deucher
On Fri, Jul 12, 2019 at 5:37 AM Arnd Bergmann wrote: > > As previously fixed for dml in commit 4769278e5c7f ("amdgpu/dc/dml: > Support clang option for stack alignment") and calcs in commit > cc32ad8f559c ("amdgpu/dc/calcs: Support clang option for stack > alignment"), dcn20 uses an option that

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2019-07-12 Thread Tony Camuso
On 7/12/19 1:06 PM, Ville Syrjälä wrote: On Fri, Jul 12, 2019 at 12:07:46PM -0400, Tony Camuso wrote: On 7/10/19 9:56 AM, Ville Syrjälä wrote: On Wed, Jul 10, 2019 at 09:47:11AM -0400, Tony Camuso wrote: On 5/24/19 4:36 AM, Jani Nikula wrote: On Thu, 23 May 2019, tcamuso wrote: From

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2019-07-12 Thread Ville Syrjälä
On Fri, Jul 12, 2019 at 12:07:46PM -0400, Tony Camuso wrote: > On 7/10/19 9:56 AM, Ville Syrjälä wrote: > > On Wed, Jul 10, 2019 at 09:47:11AM -0400, Tony Camuso wrote: > >> On 5/24/19 4:36 AM, Jani Nikula wrote: > >>> On Thu, 23 May 2019, tcamuso wrote: > From Daniel Kwon > >

Re: [PATCH v6 0/3] drm/panel: simple: Add mode support to devicetree

2019-07-12 Thread Doug Anderson
Hi, On Thu, Jul 11, 2019 at 11:07 PM Sam Ravnborg wrote: > > Hi Doug. > > On Thu, Jul 11, 2019 at 01:34:52PM -0700, Douglas Anderson wrote: > > I'm reviving Sean Paul's old patchset to get mode support in device > > tree. The cover letter for his v3 is at: > >

[PATCH] drm/panel: simple: Doxygenize 'struct panel_desc'; rename a few functions

2019-07-12 Thread Douglas Anderson
This attempts to address outstanding review feedback from commit b8a2948fa2b3 ("drm/panel: simple: Add ability to override typical timing"). Specifically: * It was requested that I document (in the structure definition) that the device tree override had no effect if 'struct drm_display_mode'

Re: [PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-12 Thread Boris Brezillon
On Fri, 12 Jul 2019 18:21:17 +0200 Sam Ravnborg wrote: > Hi Joshua. > > On Tue, Jul 09, 2019 at 04:24:49PM +, nicolas.fe...@microchip.com wrote: > > On 09/07/2019 at 17:35, Joshua Henderson wrote: > > > This bit enables replication logic to expand an RGB color less than 24 > > > bits, to

Re: [PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-12 Thread Sam Ravnborg
Hi Joshua. On Tue, Jul 09, 2019 at 04:24:49PM +, nicolas.fe...@microchip.com wrote: > On 09/07/2019 at 17:35, Joshua Henderson wrote: > > This bit enables replication logic to expand an RGB color less than 24 > > bits, to 24 bits, which is used internally for all formats. Otherwise, > > the

Re: [PATCH] drm/panel: simple: fix AUO g185han01 horizontal blanking

2019-07-12 Thread Sam Ravnborg
Hi Lucas. > Hi Sam, > > since you've been picking up some panel patches lately, might I ask you > to take a look at this patch? > > Regards, > Lucas > > Am Freitag, den 14.12.2018, 14:20 +0100 schrieb Lucas Stach: > > Hi Thierry, > > > > can you please have a look at this one? > > > >

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2019-07-12 Thread Tony Camuso
On 7/10/19 9:56 AM, Ville Syrjälä wrote: On Wed, Jul 10, 2019 at 09:47:11AM -0400, Tony Camuso wrote: On 5/24/19 4:36 AM, Jani Nikula wrote: On Thu, 23 May 2019, tcamuso wrote: From Daniel Kwon The system was crashed due to invalid memory access while trying to access auxiliary device.

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #5 from rol...@rptd.ch --- For the records: installed version is 2.4.97 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #4 from rol...@rptd.ch --- I tried compiling from source but it does not work. Seems to have troubles with libdrm. configure: error: Package requirements (libdrm >= 2.4.75 libdrm_intel >= 2.4.75) were not met: Can't seem to get

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #50 from shadow.archem...@gmail.com --- (In reply to Samuel Sieb from comment #39) > (In reply to shadow.archemage from comment #37) > > I tried the kernel parameters above, and the game still crashed for me. > > Are you saying that

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #57 from Joe Coutcher --- (In reply to Ondrej Lang from comment #55) > Hi Joe, > > I'm quite sure your issue is not related to this ticket. The problem in this > bug report is quite specific and is related to the raven_dmcu.bin

[Bug 203879] hard freeze on high single threaded load (AMD Ryzen 7 2700X CPU)

2019-07-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203879 Claude Heiland-Allen (cla...@mathr.co.uk) changed: What|Removed |Added Summary|hard freeze on high single |hard freeze

Re: [PATCH 1/2] regmap: Add DSI bus support

2019-07-12 Thread Jeffrey Hugo
On Fri, Jul 12, 2019 at 7:01 AM Andrzej Hajda wrote: > > On 11.07.2019 15:56, Rob Clark wrote: > > On Thu, Jul 11, 2019 at 6:11 AM Andrzej Hajda wrote: > >> On 06.07.2019 03:06, Mark Brown wrote: > >>> On Wed, Jul 03, 2019 at 02:45:12PM -0700, Jeffrey Hugo wrote: > Add basic support with a

[PATCH v10 1/6] drm: Add Content protection type property

2019-07-12 Thread Ramalingam C
This patch adds a DRM ENUM property to the selected connectors. This property is used for mentioning the protected content's type from userspace to kernel HDCP authentication. Type of the stream is decided by the protected content providers. Type 0 content can be rendered on any HDCP protected

[PATCH v10 6/6] drm/hdcp: reference for srm file format

2019-07-12 Thread Ramalingam C
In the kernel documentation, HDCP specifications links are shared as a reference for SRM table format. Signed-off-by: Ramalingam C --- drivers/gpu/drm/drm_hdcp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/drm_hdcp.c b/drivers/gpu/drm/drm_hdcp.c index

[PATCH v10 5/6] drm/i915: update the hdcp state with uevent

2019-07-12 Thread Ramalingam C
drm function to update the content protection property state and to generate a uevent is invoked from the intel hdcp property work. Hence whenever kernel changes the property state, userspace will be updated with a uevent. Need a ACK for uevent generating uAPI from userspace. v2: state update

[PATCH v10 4/6] drm/hdcp: update content protection property with uevent

2019-07-12 Thread Ramalingam C
drm function is defined and exported to update a connector's content protection property state and to generate a uevent along with it. Need ACK for the uevent from userspace consumer. v2: Update only when state is different from old one. v3: KDoc is added [Daniel] v4: KDoc is extended bit

[PATCH v10 3/6] drm: uevent for connector status change

2019-07-12 Thread Ramalingam C
DRM API for generating uevent for a status changes of connector's property. This uevent will have following details related to the status change: HOTPLUG=1, CONNECTOR= and PROPERTY= Need ACK from this uevent from userspace consumer. v2: Minor fixes at KDoc comments [Daniel] v3: Check the

[PATCH v10 2/6] drm/i915: Attach content type property

2019-07-12 Thread Ramalingam C
Attaches the content type property for HDCP2.2 capable connectors. Implements the update of content type from property and apply the restriction on HDCP version selection. Need ACK for content type property from userspace consumer. v2: s/cp_content_type/content_protection_type [daniel]

[PATCH v10 0/6] HDCP2.2 Phase II

2019-07-12 Thread Ramalingam C
Adding the uAPI support for the HDCP content type is the main focus here. Along with that uevent is implemented for the "Content Protection" state change that got triggered by kernel. v10: Content Type doc improvement [pekka] Few suggestions addressed on uevent generation patch [Sean]

Re: [PATCH v3 3/4] dt-bindings: backlight: Add led-backlight binding

2019-07-12 Thread Jean-Jacques Hiblot
Pavel, On 10/07/2019 21:13, Pavel Machek wrote: On Wed 2019-07-10 14:39:31, Jean-Jacques Hiblot wrote: Add DT binding for led-backlight. Signed-off-by: Jean-Jacques Hiblot --- .../bindings/leds/backlight/led-backlight.txt | 28 +++ 1 file changed, 28 insertions(+) create

Re: [PATCH v3 1/4] leds: Add of_led_get() and led_put()

2019-07-12 Thread Jean-Jacques Hiblot
hi Pavel On 10/07/2019 21:09, Pavel Machek wrote: On Wed 2019-07-10 14:39:29, Jean-Jacques Hiblot wrote: From: Tomi Valkeinen This patch adds basic support for a kernel driver to get a LED device. This will be used by the led-backlight driver. Only OF version is implemented for now, and the

Re: [PATCH] drm/vgem: Reclassify buffer creation debug message

2019-07-12 Thread Chris Wilson
Quoting Daniel Vetter (2019-07-12 13:51:58) > On Fri, Jul 12, 2019 at 2:01 PM Chris Wilson wrote: > > > > A buffer is created in response to the user ioctl, it should therefore > > be a plain DRM_DEBUG() message to reflect it being a user invoked > > response and not a driver construct. > > > >

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #56 from Jay Fitzpatrick --- (In reply to Ondrej Lang from comment #53) > According to the linux kernel 5.2 changelog > (https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.2), the fix for > the DMCU firmware issue on raven1

Re: [PATCH 1/2] regmap: Add DSI bus support

2019-07-12 Thread Andrzej Hajda
On 11.07.2019 15:56, Rob Clark wrote: > On Thu, Jul 11, 2019 at 6:11 AM Andrzej Hajda wrote: >> On 06.07.2019 03:06, Mark Brown wrote: >>> On Wed, Jul 03, 2019 at 02:45:12PM -0700, Jeffrey Hugo wrote: Add basic support with a simple implementation that utilizes the generic read/write

Re: [PATCH 00/12] treewide: Fix GENMASK misuses

2019-07-12 Thread Andrzej Hajda
Hi Joe, On 10.07.2019 07:04, Joe Perches wrote: > These GENMASK uses are inverted argument order and the > actual masks produced are incorrect. Fix them. > > Add checkpatch tests to help avoid more misuses too. > > Joe Perches (12): > checkpatch: Add GENMASK tests > clocksource/drivers/npcm:

Re: [PATCH] drm/vgem: Reclassify buffer creation debug message

2019-07-12 Thread Daniel Vetter
On Fri, Jul 12, 2019 at 2:01 PM Chris Wilson wrote: > > A buffer is created in response to the user ioctl, it should therefore > be a plain DRM_DEBUG() message to reflect it being a user invoked > response and not a driver construct. > > This is just to make the commonplace drm.debug=[26e]

Re: [PATCH v1 07/11] ti948: Add sysfs node for alive attribute

2019-07-12 Thread Michael Drake
Hi Laurent, On 11/06/2019 19:11, Laurent Pinchart wrote: > Hi Michael, > > Thank you for the patch. My pleasure, and thank you for the feedback! > On Tue, Jun 11, 2019 at 03:04:08PM +0100, Michael Drake wrote: >> This may be used by userspace to determine the state >> of the device. > > Why

Re: [PATCH v1 08/11] dt-bindings: display/bridge: Add bindings for ti949

2019-07-12 Thread Michael Drake
Hi Laurent, On 11/06/2019 19:13, Laurent Pinchart wrote: > Hi Michael, > > Thank you for the patch. My pleasure, and thank you for the feedback! > On Tue, Jun 11, 2019 at 03:04:09PM +0100, Michael Drake wrote: >> Adds device tree bindings for: >> >> TI DS90UB949-Q1 1080p HDMI to FPD-Link III

Re: [PATCH v1 03/11] dt-bindings: display/bridge: Add config property for ti948

2019-07-12 Thread Michael Drake
Hi Laurent, On 11/06/2019 19:07, Laurent Pinchart wrote: > Hi Michael, > > Thank you for the patch. My pleasure, and thank you for the feedback! > On Tue, Jun 11, 2019 at 03:04:04PM +0100, Michael Drake wrote: >> The config property can be used to provide an array of >> register addresses and

Re: [PATCH v1 06/11] ti948: Reconfigure in the alive check when device returns

2019-07-12 Thread Michael Drake
Hi Laurent, On 11/06/2019 19:10, Laurent Pinchart wrote: > Hi Michael, > > Thank you for the patch. My pleasure, and thank you for the feedback! > On Tue, Jun 11, 2019 at 03:04:07PM +0100, Michael Drake wrote: >> If the alive check detects a transition to the alive state, >> the device

Re: [PATCH v1 01/11] dt-bindings: display/bridge: Add bindings for ti948

2019-07-12 Thread Michael Drake
Hi Laurent, On 11/06/2019 19:03, Laurent Pinchart wrote: > Hi Michael, > > Thank you for the patch. My pleasure, and thank you for the feedback! I'm sorry it's taken me a while to respond to it. > On Tue, Jun 11, 2019 at 03:04:02PM +0100, Michael Drake wrote: >> Adds device tree bindings for:

[PATCH] drm/vgem: Reclassify buffer creation debug message

2019-07-12 Thread Chris Wilson
A buffer is created in response to the user ioctl, it should therefore be a plain DRM_DEBUG() message to reflect it being a user invoked response and not a driver construct. This is just to make the commonplace drm.debug=[26e] quieter when running with vgem. Signed-off-by: Chris Wilson Cc:

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-12 Thread Ramalingam C
On 2019-07-12 at 14:11:05 +0300, Pekka Paalanen wrote: > On Thu, 11 Jul 2019 11:20:49 +0530 > Ramalingam C wrote: > > > On 2019-07-10 at 11:16:24 +0300, Pekka Paalanen wrote: > > > On Tue, 9 Jul 2019 18:17:59 +0530 > > > Ramalingam C wrote: > > > > > > > On 2019-07-09 at 17:31:10 +0300,

Re: [Intel-gfx] [PATCH v9 1/6] drm: Add Content protection type property

2019-07-12 Thread Pekka Paalanen
On Thu, 11 Jul 2019 10:18:22 -0400 Sean Paul wrote: > On Mon, Jul 08, 2019 at 04:51:11PM +0530, Ramalingam C wrote: > > This patch adds a DRM ENUM property to the selected connectors. > > This property is used for mentioning the protected content's type > > from userspace to kernel HDCP

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-12 Thread Pekka Paalanen
On Thu, 11 Jul 2019 11:20:49 +0530 Ramalingam C wrote: > On 2019-07-10 at 11:16:24 +0300, Pekka Paalanen wrote: > > On Tue, 9 Jul 2019 18:17:59 +0530 > > Ramalingam C wrote: > > > > > On 2019-07-09 at 17:31:10 +0300, Pekka Paalanen wrote: > > > > On Mon, 8 Jul 2019 16:51:11 +0530 > > > >

Re: [PATCH v3 1/5] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-12 Thread Russell King - ARM Linux admin
On Fri, Jul 12, 2019 at 06:04:39PM +0800, Cheng-Yi Chiang wrote: > Add an op in hdmi_codec_ops so codec driver can register callback > function to handle plug event. > > Driver in DRM can use this callback function to report connector status. > > Signed-off-by: Cheng-Yi Chiang > --- >

Re: [PATCH v3 2/5] drm: bridge: dw-hdmi: Report connector status using callback

2019-07-12 Thread Russell King - ARM Linux admin
On Fri, Jul 12, 2019 at 06:04:40PM +0800, Cheng-Yi Chiang wrote: > Allow codec driver register callback function for plug event. > > The callback registration flow: > dw-hdmi <--- hw-hdmi-i2s-audio <--- hdmi-codec > > dw-hdmi-i2s-audio implements hook_plugged_cb op > so codec driver can register

Re: [PATCH 3/3] drm/bridge: sii902x: make audio mclk optional

2019-07-12 Thread Andrzej Hajda
On 02.07.2019 17:47, Olivier Moysan wrote: > The master clock on i2s bus is not mandatory, > as sii902X internal PLL can be used instead. > Make use of mclk optional. > > Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support") > > Signed-off-by: Olivier Moysan > --- >

Re: [PATCH v3 5/5] FROMLIST: ASoC: rockchip_max98090: Add HDMI jack support

2019-07-12 Thread Cheng-yi Chiang
On Fri, Jul 12, 2019 at 6:06 PM Cheng-Yi Chiang wrote: > > In machine driver, create a jack and let hdmi-codec report jack status. > > Signed-off-by: Cheng-Yi Chiang > --- > sound/soc/rockchip/rockchip_max98090.c | 20 > 1 file changed, 20 insertions(+) > > diff --git

Re: [PATCH 2/3] dt-bindings: display: sii902x: Change audio mclk binding

2019-07-12 Thread Andrzej Hajda
On 02.07.2019 17:47, Olivier Moysan wrote: > As stated in SiL9022/24 datasheet, master clock is not required for I2S. > Make mclk property optional in DT bindings. > > Fixes: 3f18021f43a3 ("dt-bindings: display: sii902x: Add HDMI audio bindings") > > Signed-off-by: Olivier Moysan > --- >

Re: [PATCH 1/3] drm/bridge: sii902x: fix missing reference to mclk clock

2019-07-12 Thread Andrzej Hajda
On 02.07.2019 17:47, Olivier Moysan wrote: > Add devm_clk_get call to retrieve reference to master clock. > > Fixes: ff5781634c41 ("drm/bridge: sii902x: Implement HDMI audio support") > > Signed-off-by: Olivier Moysan > --- > drivers/gpu/drm/bridge/sii902x.c | 1 + > 1 file changed, 1

[Bug 111117] Broken Payment link

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17 himanshu changed: What|Removed |Added URL||https://www.xyz.co/payment -- You are

[Bug 111117] Broken Payment link

2019-07-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=17 Bug ID: 17 Summary: Broken Payment link Product: DRI Version: DRI git Hardware: x86 (IA32) OS: Windows (All) Status: NEW Severity: blocker

[PATCH v3 1/5] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-12 Thread Cheng-Yi Chiang
Add an op in hdmi_codec_ops so codec driver can register callback function to handle plug event. Driver in DRM can use this callback function to report connector status. Signed-off-by: Cheng-Yi Chiang --- include/sound/hdmi-codec.h| 16 + sound/soc/codecs/hdmi-codec.c | 45

[PATCH v3 5/5] FROMLIST: ASoC: rockchip_max98090: Add HDMI jack support

2019-07-12 Thread Cheng-Yi Chiang
In machine driver, create a jack and let hdmi-codec report jack status. Signed-off-by: Cheng-Yi Chiang --- sound/soc/rockchip/rockchip_max98090.c | 20 1 file changed, 20 insertions(+) diff --git a/sound/soc/rockchip/rockchip_max98090.c

[PATCH v3 4/5] ASoC: rockchip_max98090: Add dai_link for HDMI

2019-07-12 Thread Cheng-Yi Chiang
Use two dai_links. One for HDMI and one for max98090. With this setup, audio can play to speaker and HDMI selectively. Signed-off-by: Cheng-Yi Chiang --- sound/soc/rockchip/Kconfig | 3 +- sound/soc/rockchip/rockchip_max98090.c | 96 -- 2 files changed, 75

[PATCH v3 2/5] drm: bridge: dw-hdmi: Report connector status using callback

2019-07-12 Thread Cheng-Yi Chiang
Allow codec driver register callback function for plug event. The callback registration flow: dw-hdmi <--- hw-hdmi-i2s-audio <--- hdmi-codec dw-hdmi-i2s-audio implements hook_plugged_cb op so codec driver can register the callback. dw-hdmi implements set_plugged_cb op so platform device can

[PATCH v3 0/5] Add HDMI jack support on RK3288

2019-07-12 Thread Cheng-Yi Chiang
This patch series supports HDMI jack reporting on RK3288, which uses DRM dw-hdmi driver and hdmi-codec codec driver. The previous discussion about reporting jack status using hdmi-notifier and drm_audio_component is at https://lore.kernel.org/patchwork/patch/1083027/ The new approach is to use

[PATCH v3 3/5] drm: dw-hdmi-i2s: Use fixed id for codec device

2019-07-12 Thread Cheng-Yi Chiang
The problem of using auto ID is that the device name will be like hdmi-audio-codec..auto. The number might be changed when there are other platform devices being created before hdmi-audio-codec device. Use a fixed name so machine driver can set codec name on the DAI link. Using the fixed name

Re: [PATCH v2 2/2] drm/panel: Add Ilitek ILI9341 parallel RGB panel driver

2019-07-12 Thread Josef Luštický
Hi Sam, thank you for comments. st 10. 7. 2019 v 15:47 odesílatel Sam Ravnborg napsal: > > Hi Josef. > > Thanks for updating the driver. > > On Mon, Jul 08, 2019 at 04:56:18PM +0200, Josef Lusticky wrote: > > Add driver for Ilitek ILI9341 panels in parallel RGB mode > > > > Signed-off-by: Josef

[PATCH] drm/amd/amdgpu: hide #warning for missing DC config

2019-07-12 Thread Arnd Bergmann
It is annoying to have #warnings that trigger in randconfig builds like drivers/gpu/drm/amd/amdgpu/soc15.c:653:3: error: "Enable CONFIG_DRM_AMD_DC for display support on SOC15." drivers/gpu/drm/amd/amdgpu/nv.c:400:3: error: "Enable CONFIG_DRM_AMD_DC for display support on navi." Remove these

[PATCH] drm/amd/display: return 'NULL' instead of 'false' from dcn20_acquire_idle_pipe_for_layer

2019-07-12 Thread Arnd Bergmann
clang complains that 'false' is a not a pointer: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:2428:10: error: expression which evaluates to zero treated as a null pointer constant of type 'struct pipe_ctx *' [-Werror,-Wnon-literal-null-conversion] return

[PATCH] drm/amd/display: Support clang option for stack alignment

2019-07-12 Thread Arnd Bergmann
As previously fixed for dml in commit 4769278e5c7f ("amdgpu/dc/dml: Support clang option for stack alignment") and calcs in commit cc32ad8f559c ("amdgpu/dc/calcs: Support clang option for stack alignment"), dcn20 uses an option that is not available with clang: clang: error: unknown argument:

[PATCH] drm/amd: work around llvm bug #42576

2019-07-12 Thread Arnd Bergmann
Code in the amdgpu driver triggers a bug when using clang to build an arm64 kernel: /tmp/sdma_v4_0-f95fd3.s: Assembler messages: /tmp/sdma_v4_0-f95fd3.s:44: Error: selected processor does not support `bfc w0,#1,#5' I expect this to be fixed in llvm soon, but we can also work around it by

Re: [PATCH 09/60] drm/bridge: Add connector-related bridge operations and data

2019-07-12 Thread Andrzej Hajda
On 11.07.2019 17:50, Daniel Vetter wrote: > On Thu, Jul 11, 2019 at 05:12:26PM +0200, Andrzej Hajda wrote: >> On 11.07.2019 15:18, Daniel Vetter wrote: >>> On Thu, Jul 11, 2019 at 02:41:01PM +0200, Andrzej Hajda wrote: On 11.07.2019 09:35, Daniel Vetter wrote: > On Wed, Jul 10, 2019 at

[PATCH] drm/stm: attach gem fence to atomic state

2019-07-12 Thread Lucas Stach
From: Ahmad Fatoum To properly synchronize with other devices the fence from the GEM object backing the framebuffer needs to be attached to the atomic state, so the commit work can wait on fence signaling. Signed-off-by: Ahmad Fatoum Signed-off-by: Lucas Stach --- drivers/gpu/drm/stm/ltdc.c

Re: [PATCH 1/2] dma-buf: Expand reservation_list to fill allocation

2019-07-12 Thread Michel Dänzer
On 2019-07-12 10:03 a.m., Chris Wilson wrote: > Since kmalloc() will round up the allocation to the next slab size or > page, it will normally return a pointer to a memory block bigger than we > asked for. We can query for the actual size of the allocated block using > ksize() and expand our

[PULL] drm-misc-next-fixes

2019-07-12 Thread Maarten Lankhorst
drm-misc-next-fixes-2019-07-11: Pull request for drm-misc-fixes-next for v5.3: - Revert properties exposed in komeda that need improvement before they become ABI. - Only add modes from the cmdline if they are valid. - Add orientation quirk for GPD MicroPC. - Reduce stack usage in drm selftests. -

[PATCH v9 15/18] Documentation: kunit: add documentation for KUnit

2019-07-12 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins Cc: Jonathan Corbet Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe ---

[PATCH v9 18/18] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-07-12 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section, and add Iurii as a maintainer. Signed-off-by: Brendan Higgins Cc: Iurii Zaikin Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe Acked-by: Luis Chamberlain --- MAINTAINERS | 2 ++ 1 file changed, 2

[PATCH v9 13/18] kunit: tool: add Python wrappers for running KUnit tests

2019-07-12 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the

[PATCH v9 07/18] kunit: test: add initial tests

2019-07-12 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- kunit/Kconfig | 21 + kunit/Makefile | 4 ++ kunit/example-test.c | 88

[PATCH v9 09/18] kunit: test: add support for test abort

2019-07-12 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test.

[PATCH v9 17/18] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-07-12 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan

[PATCH v9 12/18] kunit: test: add tests for KUnit managed resources

2019-07-12 Thread Brendan Higgins
From: Avinash Kondareddy Add unit tests for KUnit managed resources. KUnit managed resources (struct kunit_resource) are resources that are automatically cleaned up at the end of a KUnit test, similar to the concept of devm_* managed resources. Signed-off-by: Avinash Kondareddy Signed-off-by:

[PATCH v9 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-07-12 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v9 14/18] kunit: defconfig: add defconfigs for building KUnit tests

2019-07-12 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe ---

[PATCH v9 10/18] kunit: test: add tests for kunit test abort

2019-07-12 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- kunit/Makefile| 3 +-

[PATCH v9 11/18] kunit: test: add the concept of assertions

2019-07-12 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v9 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-07-12 Thread Brendan Higgins
Fix the following warning seen on GCC 7.3: kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls through to next function kunit_test_catch() kunit_try_catch_throw is a function added in the following patch in this series; it allows KUnit, a unit testing framework for the

[PATCH v9 06/18] kbuild: enable building KUnit

2019-07-12 Thread Brendan Higgins
KUnit is a new unit testing framework for the kernel and when used is built into the kernel as a part of it. Add KUnit to the root Kconfig and Makefile to allow it to be actually built. Signed-off-by: Brendan Higgins Acked-by: Masahiro Yamada Cc: Michal Marek Reviewed-by: Greg Kroah-Hartman

[PATCH v9 01/18] kunit: test: add KUnit test runner core

2019-07-12 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call

[PATCH v9 05/18] kunit: test: add the concept of expectations

2019-07-12 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- include/kunit/test.h | 525 +++ kunit/test.c | 66

[PATCH v9 03/18] kunit: test: add string_stream a std::stream like string builder

2019-07-12 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. Signed-off-by: Brendan Higgins Reviewed-by: Greg

[PATCH v9 04/18] kunit: test: add kunit_stream a std::stream like logger

2019-07-12 Thread Brendan Higgins
A lot of the expectation and assertion infrastructure prints out fairly complicated test failure messages, so add a C++ style log library for for logging test results. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- include/kunit/kunit-stream.h

[PATCH v9 02/18] kunit: test: add test resource management API

2019-07-12 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test

  1   2   >