[Bug 200621] Freezing with amdgpu driver

2018-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200621 --- Comment #4 from Jon (jon...@gmail.com) --- Here's another example of a crash Aug 11 20:46:59 pc003 kernel: [drm] DM_MST: stopping TM on aconnector: cd25cb02 [id: 52] Aug 11

Re: [PATCH 2/2] arm64: dts: sdm845: Add gpu and gmu device nodes

2018-08-11 Thread kbuild test robot
/linux/commits/Jordan-Crouse/arm64-dts-Add-sdm845-GPU-GMU-and-SMMU/20180811-082810 base: git://people.freedesktop.org/~robclark/linux msm-next config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

[Bug 105046] Screen resolution reset to 1368x768 when turning monitor off

2018-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105046 --- Comment #14 from Michael Zapf --- Anything new? The problem is still there, although now it falls back to a higher resolution (1920x1080), still causing a mess on my desktop. I would like to emphasize that this issue does not appear with

[Bug 104206] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:2!

2018-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104206 --- Comment #19 from Brad Walker --- I updated to the latest version of Fedora 28 and still this problem.. FYI... -- You are receiving this mail because: You are the assignee for the bug.___

[PATCH] [v3] drm: amd: dc: don't use FP math when Kcov is enabled

2018-08-11 Thread Arnd Bergmann
Building the DCN 1.0 Raven display driver with CONFIG_KCOV_INSTRUMENT_ALL=y and CONFIG_KCOV_ENABLE_COMPARISONS=y results in warnings about many functions that do a comparison of floating-point variables: drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.o: In function `dcn_bw_calc_rq_dlg_ttu':

[Bug 200621] Freezing with amdgpu driver

2018-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200621 --- Comment #3 from Jon (jon...@gmail.com) --- Still experiencing this issue with the latest fedora kernel (4.17.12). Not sure if this is helpful (from journalctl): Aug 11 10:10:14 pc003 kernel: [drm] DM_MST: stopping TM on aconnector:

Re: [PATCH v2 4/7] drm/i2c: tda998x: convert to bridge driver

2018-08-11 Thread Russell King - ARM Linux
On Fri, Aug 10, 2018 at 12:11:05PM -0400, Sean Paul wrote: > On Wed, Aug 08, 2018 at 11:15:47PM +0100, Russell King - ARM Linux wrote: > > In any case, bridges are buggy with unbinding/rebinding as I've pointed > > out several times in the past, but TDA998x used with Armada and TI LCDC > > as it

[PATCH v2] drm/i915/gvt: fix memory leak in intel_vgpu_ioctl()

2018-08-11 Thread Yi Wang
The 'sparse' variable may leak when return in function intel_vgpu_ioctl(), and this patch fix this. Signed-off-by: Yi Wang Reviewed-by: Jiang Biao --- v2: fix a double-free error. Thanks to Zhenyu Wang. drivers/gpu/drm/i915/gvt/kvmgt.c | 8 ++-- 1 file changed, 6 insertions(+), 2

Re: [PATCH] drm/i915/gvt: fix memory leak in intel_vgpu_ioctl()

2018-08-11 Thread wang.yi59
> On 2018.08.03 08:41:19 +0800, Yi Wang wrote: > > The 'sparse' variable may leak when return in function > > intel_vgpu_ioctl(), and this patch fixes this. > > > > Signed-off-by: Yi Wang > > Reviewed-by: Jiang Biao > > --- > > drivers/gpu/drm/i915/gvt/kvmgt.c | 3 +++ > > 1 file changed, 3

Re: [PATCH v2 4/7] drm/i2c: tda998x: convert to bridge driver

2018-08-11 Thread Russell King - ARM Linux
On Fri, Aug 10, 2018 at 01:02:29PM -0400, Sean Paul wrote: > On Fri, Aug 10, 2018 at 05:50:37PM +0100, Russell King - ARM Linux wrote: > > Almost none of my DRM specific patches on dri-devel this time around > > received any feedback what so ever, even after myself and David chasing > > them up.

Re: [RFC PATCH v4 1/2] drm: Add generic colorkey properties for display planes

2018-08-11 Thread Dmitry Osipenko
On Wednesday, 8 August 2018 11:16:09 MSK Russell King - ARM Linux wrote: > On Tue, Aug 07, 2018 at 08:22:01PM +0300, Dmitry Osipenko wrote: > > + * Glossary: > > + * > > + * Destination plane: > > + * Plane to which color keying properties are applied, this planes takes > > + * the effect of color

[PATCH v4 3/5] drm/mxsfb: Add pm_runtime calls to pipe_enable/disable

2018-08-11 Thread Leonard Crestez
Adding lcdif nodes to a power domain currently results in black/corrupted screens or hangs because power is not correctly enabled when required. Ensure power is on when display is active by adding pm_runtime_get/put_sync to mxsfb_pipe_enable/disable. Signed-off-by: Leonard Crestez Reviewed-by:

[PATCH] drm/tilcdc: Convert drm_atomic_helper_suspend/resume()

2018-08-11 Thread Souptick Joarder
convert drm_atomic_helper_suspend/resume() to use drm_mode_config_helper_suspend/resume(). saved_state in tilcdc_drm_private will not be used anymore, so it can be removed. Signed-off-by: Ajit Negi Signed-off-by: Souptick Joarder --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 14 --

Re: [PATCH v1] gpu: host1x: Ignore clients initialization failure

2018-08-11 Thread Dmitry Osipenko
On Thursday, 9 August 2018 13:45:41 MSK Thierry Reding wrote: > On Fri, Aug 03, 2018 at 02:30:47PM +0300, Dmitry Osipenko wrote: > > On Friday, 3 August 2018 13:50:55 MSK Thierry Reding wrote: > > > On Wed, Aug 01, 2018 at 06:08:07PM +0300, Dmitry Osipenko wrote: > > > > From time to time new bugs

[PATCH v2] gpu: host1x: Ignore clients initialization failure

2018-08-11 Thread Dmitry Osipenko
From time to time new bugs are popping up, causing some host1x client to fail its initialization. Currently a single clients initialization failure causes whole host1x device registration to fail, as a result a single DRM sub-device initialization failure makes whole DRM initialization to fail.

[PATCH v8 4/4] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-08-11 Thread Peter Rosin
This beats the heuristic that the connector is involved in what format should be output for cases where this fails. E.g. if there is a bridge that changes format between the encoder and the connector, or if some of the RGB pins between the lcd controller and the encoder are not routed on the PCB.

Re: [PATCH v1 2/5] pardata: new bus for parallel data access

2018-08-11 Thread Sam Ravnborg
Hi Noralf. On Tue, Aug 07, 2018 at 06:40:29PM +0200, Noralf Trønnes wrote: > Hi Sam, > > Den 02.08.2018 21.45, skrev Sam Ravnborg: > >The pardata supports implement a simple bus for devices > >that are connected using a parallel bus driven by GPIOs. > >The is often used in combination with

[PATCH v2 0/3] host1x_cdma_update_sync_queue() clean up

2018-08-11 Thread Dmitry Osipenko
v2: I've added two more patches on top of "Cancel only job that actually got stuck" patch. Hence it is a patch-series now. Dmitry Osipenko (3): gpu: host1x: Cancel only job that actually got stuck gpu: host1x: Don't complete a completed job gpu: host1x: Continue CDMA execution starting

[PATCH v2 2/3] gpu: host1x: Don't complete a completed job

2018-08-11 Thread Dmitry Osipenko
There is a chance that the last job has been completed at the time of CDMA timeout handler invocation. In this case there is no need to complete the completed job. Signed-off-by: Dmitry Osipenko --- drivers/gpu/host1x/cdma.c | 22 ++ 1 file changed, 14 insertions(+), 8

[PATCH v4 1/5] drm/mxsfb: Move axi clk enable/disable to crtc enable/disable

2018-08-11 Thread Leonard Crestez
The main axi clk is disabled at the end of mxsfb_crtc_mode_set_nofb and immediately reenabled in mxsfb_enable_controller. Avoid this by moving the handling of axi clk one level up to mxsfb_crtc_enable. Do the same for mxsfb_crtc_disable for simmetry This shouldn't have any functional effect.

Re: [RFC PATCH v4 1/2] drm: Add generic colorkey properties for display planes

2018-08-11 Thread Russell King - ARM Linux
On Tue, Aug 07, 2018 at 08:22:01PM +0300, Dmitry Osipenko wrote: > + * Glossary: > + * > + * Destination plane: > + * Plane to which color keying properties are applied, this planes takes > + * the effect of color keying operation. The effect is determined by a > + * given color keying mode.

[PATCH v2 0/4] soc: amlogic: add meson-canvas

2018-08-11 Thread Maxime Jourdan
Amlogic SoCs feature a set of 256 canvas that act as pixel buffer descriptors. Some IPs like the display and video decoders access those pixels by using canvas IDs rather than direct phy addresses. As such, allocating/manipulating canvases can be done concurrently and there is a need for a

Re: [PATCH] drm/panel: simple: fix -Wliteral-conversion warning

2018-08-11 Thread Nick Desaulniers
On Thu, Aug 9, 2018 at 3:00 AM Thierry Reding wrote: > > On Fri, Jun 15, 2018 at 03:37:49PM -0700, Nick Desaulniers wrote: > > Fixes commit 8cfe83419cdb ("drm/panel: simple: Add > > support for KEO TX31D200VM0BAA") > > > > drivers/gpu/drm/panel/panel-simple.c:1250:27: warning: implicit conversion

Re: [PATCH] drm/vkms: Fix vmap_count increment position

2018-08-11 Thread Haneen Mohammed
On Wed, Aug 01, 2018 at 12:08:07PM +0300, Haneen Mohammed wrote: > Move vmap_count out of the conditional statement since it needs > to be updated for every successful call to vkms_gem_vmap. > > Signed-off-by: Haneen Mohammed > --- > drivers/gpu/drm/vkms/vkms_gem.c | 3 +-- > 1 file changed, 1

[PATCH v2 3/3] gpu: host1x: Continue CDMA execution starting with a next job

2018-08-11 Thread Dmitry Osipenko
Currently gathers of a hung job are getting NOP'ed and a restarted CDMA executes the NOP'ed gathers. There shouldn't be a reason to not restart CDMA execution starting with a next job, avoiding the unnecessary churning with gathers NOP'ing. Signed-off-by: Dmitry Osipenko ---

Re: [PATCH v2 4/7] drm/i2c: tda998x: convert to bridge driver

2018-08-11 Thread Russell King - ARM Linux
On Wed, Aug 08, 2018 at 03:09:30PM -0400, Sean Paul wrote: > > -static const struct drm_encoder_helper_funcs tda998x_encoder_helper_funcs > > = { > > - .dpms = tda998x_encoder_dpms, > > - .prepare = tda998x_encoder_prepare, > > - .commit = tda998x_encoder_commit, > > - .mode_set =

[PATCH v8 0/4] drm/atmel-hlcdc: bus-width override support

2018-08-11 Thread Peter Rosin
Hi! The background for these patches is that our PCB interface between the SAMA5D3 and the ds90c185 lvds encoder is only using 16 bits, and this has to be described somewhere, or the atmel-hlcdc driver have no chance of selecting the correct output mode. Since we have similar problems with a

Re: [PATCH v1 5/5] tinydrm: add winstar wg160160 driver

2018-08-11 Thread Sam Ravnborg
Hi Noralf. On Tue, Aug 07, 2018 at 07:35:30PM +0200, Noralf Trønnes wrote: > > Den 02.08.2018 21.45, skrev Sam Ravnborg: > >Add driver for the winstar wg160160 display. > >The driver utilises pardata-dbi that > >again utilise the pardata subsystem. > > > >Signed-off-by: Sam Ravnborg > >--- > >

[PATCH] Documentation/fb: corrections for fbcon.txt

2018-08-11 Thread Randy Dunlap
From: Randy Dunlap Fix grammar, spacing, indentation, and Kconfig menu locations in fbcon.txt. Signed-off-by: Randy Dunlap Cc: Antonino Daplas Cc: Geert Uytterhoeven Cc: linux-fb...@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz Cc: Jonathan Corbet Cc: dri-devel@lists.freedesktop.org Cc:

[RFC PATCH v4 0/2] drm: Add generic colorkey plane properties

2018-08-11 Thread Dmitry Osipenko
Changes in v4: 1) In response to Ville's Syrjälä review comments: - Added new "colorkey.plane_mask" property that specifies which planes shall participate in color key matching operation. - Added short glossary-comment to drm_plane_create_colorkey_properties()

[PATCH v8 3/4] drm/atmel-hlcdc: iterate over all output endpoints

2018-08-11 Thread Peter Rosin
This enables more flexible devicetrees. You can e.g. have two output nodes where one is not enabled, without the ordering affecting things. Prior to this patch the active node had to have endpoint id zero. Signed-off-by: Peter Rosin --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 32

[PATCH v4 4/5] drm/mxsfb: Add PM_SLEEP support

2018-08-11 Thread Leonard Crestez
Since power to the lcdif block can be lost on suspend implement PM_SLEEP_OPS using drm_mode_config_helper_suspend/resume to save/restore the current mode. Signed-off-by: Leonard Crestez Reviewed-by: Stefan Agner --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 21 + 1 file changed,

Re: [PATCH] drm/panel: sn65dsi86: Implement AUX channel

2018-08-11 Thread spanda
Hi Sean, Thanks for your patch. I also made this similar change as part of my PSR support changes (yet to be posted for review). But since this patch is posted now, i will pick this for my PSR changes. On 2018-08-09 03:23, Sean Paul wrote: This was hand-rolled in the first version, and will

Re: [PATCH v7 3/3] drm/atmel-hlcdc: support bus-width (12/16/18/24) in endpoint nodes

2018-08-11 Thread Peter Rosin
On 2018-08-04 13:14, Peter Rosin wrote: > This beats the heuristic that the connector is involved in what format > should be output for cases where this fails. Sorry to reply to self, but... > E.g. if there is a bridge that changes format between the encoder and the > connector, or if some of

Re: [PATCH v3 4/4] drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm

2018-08-11 Thread Leonard Crestez
On Tue, 2018-08-07 at 21:01 +0200, Stefan Agner wrote: > On 06.08.2018 21:31, Leonard Crestez wrote: > > The lcdif block is only powered on when display is active so plane > > updates when not enabled are not valid. Writing to an unpowered IP block > > is mostly ignored but can trigger bus errors

[RFC PATCH v4 1/2] drm: Add generic colorkey properties for display planes

2018-08-11 Thread Dmitry Osipenko
From: Laurent Pinchart Color keying is the action of replacing pixels matching a given color (or range of colors) with transparent pixels in an overlay when performing blitting. Depending on the hardware capabilities, the matching pixel can either become fully transparent or gain adjustment of

[RFC PATCH v4 2/2] drm/tegra: plane: Add generic colorkey properties for older Tegra's

2018-08-11 Thread Dmitry Osipenko
For the starter a minimal color keying support is implemented, which is enough to provide userspace like Opentegra Xorg driver with ability to support color keying by the XVideo extension. Blending controls interface changed on newer Tegra's, this patch provides color keying support for

[PATCH v2 1/3] gpu: host1x: Cancel only job that actually got stuck

2018-08-11 Thread Dmitry Osipenko
Host1x doesn't have information about jobs inter-dependency, that is something that will become available once host1x will get a proper jobs scheduler implementation. Currently a hang job causes other unrelated jobs to be canceled, that is a relic from downstream driver which is irrelevant to

[PATCH v4 5/5] drm/mxsfb: Switch to drm_atomic_helper_commit_tail_rpm

2018-08-11 Thread Leonard Crestez
The lcdif block is only powered on when display is active so plane updates when not enabled are not valid. Writing to an unpowered IP block is mostly ignored but can trigger bus errors on some chips. Prevent this situation by switching to drm_atomic_helper_commit_tail_rpm and having the drm core

Re: [PATCH 4/4] drm/meson: convert to the new canvas module

2018-08-11 Thread Maxime Jourdan
2018-08-10 0:41 GMT+02:00 Rob Herring : > Hi, this is an automated email from Rob's (experimental) review bot. I > found a couple of common problems with your patch. Please see below. > > On Wed, 1 Aug 2018 20:51:28 +0200, Maxime Jourdan wrote: >> This removes the meson_canvas files within the

Re: [PATCH] drm/panel: simple: fix -Wliteral-conversion warning

2018-08-11 Thread Nick Desaulniers
bumping for review. On Fri, Jun 15, 2018 at 3:38 PM Nick Desaulniers wrote: > > Fixes commit 8cfe83419cdb ("drm/panel: simple: Add > support for KEO TX31D200VM0BAA") > > drivers/gpu/drm/panel/panel-simple.c:1250:27: warning: implicit conversion > from > 'double' to 'u32' (aka 'unsigned

Re: [PATCH 2/2] drm/vkms: Compute CRC with Cursor Plane

2018-08-11 Thread Haneen Mohammed
On Tue, Aug 07, 2018 at 06:33:36PM +0200, Daniel Vetter wrote: > On Mon, Aug 06, 2018 at 06:58:29AM +0300, Haneen Mohammed wrote: > > This patch compute CRC for output frame with cursor and primary plane. > > Blend cursor with primary plane and compute CRC on the resulted frame. > > > >

Re: [PATCH] drm/i915/kvmgt: Fix potential Spectre v1

2018-08-11 Thread Gustavo A. R. Silva
Hi Zhenyu, On 8/6/18 9:26 PM, Zhenyu Wang wrote: > On 2018.08.02 22:40:19 -0500, Gustavo A. R. Silva wrote: >> info.index can be indirectly controlled by user-space, hence leading >> to a potential exploitation of the Spectre variant 1 vulnerability. >> >> This issue was detected with the help of

[PATCH v4 0/5] drm/mxsfb: Fix runtime PM for unpowering lcdif block

2018-08-11 Thread Leonard Crestez
Adding lcdif nodes to a power domain currently does work, it results in black/corrupted screens or hangs. While the driver does enable runtime pm it does not deal correctly with the block being unpowered. Changes since v3: * Don't set initial fb in mode_set_nofb, do it in crtc_enable * Simplify

[PATCH v4 2/5] drm/mxsfb: Fix initial corrupt frame when activating display

2018-08-11 Thread Leonard Crestez
LCDIF will repeatedly display data from CUR_BUF and set CUR_BUF to NEXT_BUF when done. Since we are only ever writing to NEXT_BUF the display will show an initial corrupt frame. Fix by writing the FB paddr to both CUR_BUF and NEXT_BUF when activating the CRTC. Signed-off-by: Leonard Crestez

[PATCH v8 1/4] dt-bindings: display: bridge: lvds-transmitter: add ti, ds90c185

2018-08-11 Thread Peter Rosin
Start list of actual chips compatible with "lvds-encoder". Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring Signed-off-by: Peter Rosin --- .../devicetree/bindings/display/bridge/lvds-transmitter.txt | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/4] drm/meson: convert to the new canvas module

2018-08-11 Thread Maxime Jourdan
This removes the meson_canvas files within the meson/drm layer and makes use of the new canvas module that is referenced in the dts. Canvases can be used by different IPs and modules, and it is as such preferable to rely on a module that can safely dispatch canvases on demand. Signed-off-by:

[PATCH v8 2/4] dt-bindings: display: atmel: optional video-interface of endpoints

2018-08-11 Thread Peter Rosin
With bus-type/bus-width properties in the endpoint nodes, the video- interface of the connection can be specified for cases where the heuristic fails to select the correct output mode. This can happen e.g. if not all RGB pins are routed on the PCB; the driver has no way of knowing this, and needs

Re: [PATCH v1] gpu: host1x: Ignore clients initialization failure

2018-08-11 Thread Dmitry Osipenko
On Thursday, 9 August 2018 16:10:35 MSK Thierry Reding wrote: > On Thu, Aug 09, 2018 at 03:53:03PM +0300, Dmitry Osipenko wrote: > > On Thursday, 9 August 2018 13:45:41 MSK Thierry Reding wrote: > > > On Fri, Aug 03, 2018 at 02:30:47PM +0300, Dmitry Osipenko wrote: > > > > On Friday, 3 August 2018

Re: [PATCH 0/2] staging: vboxvideo: Add page-flip support

2018-08-11 Thread Steve Longerbeam
On 08/06/2018 01:34 AM, Daniel Vetter wrote: On Fri, Jul 20, 2018 at 10:17:29AM -0700, Steve Longerbeam wrote: Adds crtc page-flip support by passing the new requested framebuffer to vbox_crtc_do_set_base(). There is no attempt to support vblank interrupts, so this page-flip implementation

[Bug 100200] Default Unreal Engine 4 frag shader fails to compile

2018-08-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100200 --- Comment #2 from Gert Wollny --- The according series has been pushed. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [PATCH v3] fbcon: Do not takeover the console from atomic context

2018-08-11 Thread Hans de Goede
Hi, On 10-08-18 17:22, Bartlomiej Zolnierkiewicz wrote: On Friday, August 10, 2018 01:27:57 PM Hans de Goede wrote: Taking over the console involves allocating mem with GFP_KERNEL, talking to drm drivers, etc. So this should not be done from an atomic context. But the console-output trigger

Re: [Nouveau] [PATCH v5 05/13] drm/nouveau: Remove useless poll_enable() call in drm_load()

2018-08-11 Thread Karol Herbst
Patches 1-5 are Acked-by: Karol Herbst On Tue, Aug 7, 2018 at 10:39 PM, Lyude Paul wrote: > Again, this doesn't do anything. drm_kms_helper_poll_enable() will have > already been called in nouveau_display_init() > > Signed-off-by: Lyude Paul > Cc: Lukas Wunner > Cc: Karol Herbst > [omitting

Re: [Nouveau] [PATCH v5 13/13] drm/nouveau: Call pm_runtime_get_noresume() from hpd handlers

2018-08-11 Thread Karol Herbst
On Tue, Aug 7, 2018 at 10:39 PM, Lyude Paul wrote: > We can't and don't need to try resuming the device from our hotplug > handlers, but hotplug events are generally something we'd like to keep > the device awake for whenever possible. So, grab a PM ref safely in our > hotplug handlers using

[Bug 200645] 4.18-rc regression bisected to e03fd3f30: amdgpu polaris11/rx460 only activates on one output/monitor of two

2018-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200645 --- Comment #7 from Duncan (1i5t5.dun...@cox.net) --- So out of curiosity I found my old DVI-D/DisplayPort adapter and tried switching outputs. First thing I noticed is that the DVI/HDMI cable I'm using is only single-link DVI, as is the