[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #86 from evan.q...@amd.com --- Can anyone give the attachment 144237 a try and let me know the result? And if the issue still exists, please apply attachment 144238 also which can provide more debug outputs. -- You are receiving

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #85 from evan.q...@amd.com --- Created attachment 144238 --> https://bugs.freedesktop.org/attachment.cgi?id=144238=edit Added some verbose debugs -- You are receiving this mail because: You are the assignee for the

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #84 from evan.q...@amd.com --- Created attachment 144237 --> https://bugs.freedesktop.org/attachment.cgi?id=144237=edit Clean up the fast uclk switch settings on SMU7 asics -- You are receiving this mail because: You are the

Re: Applied "spi: Add spi_is_bpw_supported()" to the spi tree

2019-05-11 Thread Mark Brown
On Thu, May 09, 2019 at 05:50:36PM +0200, Noralf Trønnes wrote: > I can't see this in for-5.2 or linux-next. You also gave me a topic > branch for this, but I wasn't able to get an r-b on the drm patch in the > few days left before the -rc5 cutoff in the drm subsystem. This means > that the patch

[PATCH v2 04/10] dt-bindings: display: renesas: lvds: Add renesas, companion property

2019-05-11 Thread Laurent Pinchart
Add a new optional renesas,companion property to point to the companion LVDS encoder. This is used to support dual-link operation where the main LVDS encoder splits even-numbered and odd-numbered pixels between the two LVDS encoders. The new property doesn't control the mode of operation, it only

[PATCH v2 01/10] drm: bridge: Add dual_link field to the drm_bridge_timings structure

2019-05-11 Thread Laurent Pinchart
Extend the drm_bridge_timings structure with a new dual_link field to indicate that the bridge's input bus carries data on two separate physical links. The first use case is LVDS dual-link mode where even- and odd-numbered pixels are transferred on separate LVDS links. Signed-off-by: Laurent

[PATCH v2 10/10] [HACK] arm64: dts: renesas: ebisu: Enable LVDS dual-link operation

2019-05-11 Thread Laurent Pinchart
Enable and connect the second LVDS encoder to the second LVDS input of the THC63LVD1024 for dual-link LVDS operation. This requires changing the default settings of SW45 and SW47 to OFF and ON respectively. Signed-off-by: Laurent Pinchart --- .../arm64/boot/dts/renesas/r8a77990-ebisu.dts | 21

[PATCH v2 03/10] drm: bridge: thc63: Report input bus mode through bridge timings

2019-05-11 Thread Laurent Pinchart
Set a drm_bridge_timings in the drm_bridge, and use it to report the input bus mode (single-link or dual-link). The other fields of the timings structure are kept to 0 as they do not apply to LVDS buses. Signed-off-by: Laurent Pinchart --- Changes since v1: - Ignore disabled remote device ---

[PATCH v2 07/10] drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode

2019-05-11 Thread Laurent Pinchart
In dual-link LVDS mode, the LVDS1 encoder is used as a companion for LVDS0, and both encoders transmit data from DU0. The LVDS1 output of DU1 can't be used in that case, don't create an encoder and connector for it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_encoder.c |

[PATCH v2 05/10] drm: rcar-du: lvds: Remove LVDS double-enable checks

2019-05-11 Thread Laurent Pinchart
The DRM core and DU driver guarantee that the LVDS bridge will not be double-enabled or double-disabled. Remove the corresponding unnecessary checks. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_lvds.c | 19 --- 1 file changed, 19 deletions(-) diff --git

[PATCH v2 06/10] drm: rcar-du: lvds: Add support for dual-link mode

2019-05-11 Thread Laurent Pinchart
In dual-link mode the LVDS0 encoder transmits even-numbered pixels, and sends odd-numbered pixels to the LVDS1 encoder for transmission on a separate link. To implement support for this mode of operation, determine if the LVDS connection operates in dual-link mode by querying the next device in

[PATCH v2 08/10] arm64: dts: renesas: r8a7799[05]: Point LVDS0 to its companion LVDS1

2019-05-11 Thread Laurent Pinchart
Add the new renesas,companion property to the LVDS0 node to point to the companion LVDS encoder LVDS1. Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a77990.dtsi | 2 ++ arch/arm64/boot/dts/renesas/r8a77995.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH v2 02/10] dt-bindings: display: bridge: thc63lvd1024: Document dual-link operation

2019-05-11 Thread Laurent Pinchart
The THC63LVD1024 LVDS decoder can operate in two modes, single-link or dual-link. In dual-link mode both input ports are used to carry even- and odd-numbered pixels separately. Document this in the DT bindings, along with the related rules governing port and usage. Signed-off-by: Laurent Pinchart

[PATCH v2 09/10] [HACK] arm64: dts: renesas: draak: Enable LVDS dual-link operation

2019-05-11 Thread Laurent Pinchart
Enable and connect the second LVDS encoder to the second LVDS input of the THC63LVD1024 for dual-link LVDS operation. This requires changing the default settings of SW45 and SW47 to OFF and ON respectively. Signed-off-by: Laurent Pinchart --- .../arm64/boot/dts/renesas/r8a77995-draak.dts | 21

[PATCH v2 00/10] R-Car DU: LVDS dual-link mode support

2019-05-11 Thread Laurent Pinchart
Hello everybody, This patch series implements support for LVDS dual-link mode in the R-Car DU and R-Car LVDS encoder drivers, and well as in the thc63lvd1024 LVDS decoder driver. LVDS dual-link is a mode of operation where two individual LVDS links are operated together to carry even- and

Re: [PATCH/RFC 02/15] drm: Use new DRM_BUS_FLAG_*_(DRIVE|SAMPLE)_(POS|NEG)EDGE flags

2019-05-11 Thread Laurent Pinchart
Hi Kieran, On Wed, Apr 24, 2019 at 09:15:22AM +0100, Kieran Bingham wrote: > On 06/03/2019 23:23, Laurent Pinchart wrote: > > The DRM_BUS_FLAG_PIXDATA_(POS|NEG)EDGE and > > DRM_BUS_FLAG_SYNC_(POS|NEG)EDGE flags are deprecated in favour of the > > new

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

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 --- Comment #92 from Diego Viola --- (In reply to komqinxit from comment #91) > xfce4-terminal and Geany bugs seem to be this > https://bugs.freedesktop.org/show_bug.cgi?id=110355 and solved with mesa > 19.0.4. That's good to know, thanks. --

Re: [PATCH/RFC 04/15] drm: bridge: Add dual_link field to the drm_bridge_timings structure

2019-05-11 Thread Laurent Pinchart
Hi Kieran, On Wed, Apr 24, 2019 at 09:12:48AM +0100, Kieran Bingham wrote: > On 06/03/2019 23:23, Laurent Pinchart wrote: > > Extend the drm_bridge_timings structure with a new dual_link field to > > indicate that the bridge's input bus carries data on two separate > > physical links. The first

[Bug 104604] [amdgpu/radeon][regression, CIK] Prefetch the compute shader to TC L2 (4a4ff66dbe) causes GPU VM errors when running OpenCL kernels on Hawaii

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104604 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs:

[Bug 99312] Long-running OpenCL kernels cause ring stalls and GPU lockups on Kabini when radeon.lockup_timeout is enabled

2019-05-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99312 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs:

Re: [PATCH] drm/bridge: adv7511: Fix low refresh rate selection

2019-05-11 Thread Laurent Pinchart
Hi Matt, Thank you for the patch. On Wed, Apr 24, 2019 at 01:22:27PM +, Matt Redfearn wrote: > The driver currently sets register 0xfb (Low Refresh Rate) based on the > value of mode->vrefresh. Firstly, this field is specified to be in Hz, > but the magic numbers used by the code are Hz *

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-05-11 Thread Laurent Pinchart
Hi Daniel, On Tue, Apr 23, 2019 at 09:18:52PM +0200, Daniel Vetter wrote: > On Tue, Apr 23, 2019 at 5:45 PM Laurent Pinchart wrote: > > On Tue, Apr 23, 2019 at 09:25:54AM +0200, Daniel Vetter wrote: > >> On Sun, Apr 21, 2019 at 01:59:04AM +0300, Laurent Pinchart wrote: > >>> On Thu, Apr 18, 2019

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-05-11 Thread Laurent Pinchart
Hi Paul, On Tue, Apr 23, 2019 at 06:54:49PM +0200, Paul Kocialkowski wrote: > Le dimanche 21 avril 2019 à 01:40 +0300, Laurent Pinchart a écrit : > > On Thu, Apr 18, 2019 at 01:49:54PM +0200, Paul Kocialkowski wrote: > >> On Thu, 2019-04-18 at 11:02 +0200, Maxime Ripard wrote: > >>> On Thu, Apr

Re: [PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state

2019-05-11 Thread Laurent Pinchart
Hi Sean, Thank you for the patch. On Thu, May 02, 2019 at 03:49:46PM -0400, Sean Paul wrote: > From: Sean Paul > > Everyone who implements connector_helper_funcs->atomic_check reaches > into the connector state to get the atomic state. Instead of continuing > this pattern, change the callback

[PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-05-11 Thread Adam Ford
Currently the source code is compiled using hard-coded values from CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK. This patch allows this clock divider value to be moved to the device tree and be changed without having to recompile the kernel. Signed-off-by: Adam Ford diff --git

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-11 Thread Sergey Senozhatsky
On (05/10/19 11:15), Petr Mladek wrote: [..] > arch/x86/kernel/smp.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > --- a/arch/x86/kernel/smp.c > +++ b/arch/x86/kernel/smp.c > @@ -124,7 +124,8 @@ static bool smp_no_nmi_ipi = false; > */ > static void

Re: [PATCH][next] drm/amdgpu: fix return of an uninitialized value in variable ret

2019-05-11 Thread Nathan Chancellor
On Fri, May 10, 2019 at 11:08:42AM +0100, Colin King wrote: > From: Colin Ian King > > In the case where is_enable is false and lo_base_addr is non-zero the > variable ret has not been initialized and is being checked for non-zero > and potentially garbage is being returned. Fix this by not

Re: [PATCH] RFC: console: hack up console_lock more v3

2019-05-11 Thread Petr Mladek
On Thu 2019-05-09 18:43:12, Daniel Vetter wrote: > One thing to keep in mind is that the kernel is already dying, and > things will come crashing down later on This is important information. I havn't seen it mentioned earlier. > (I've seen this only in dmesg > tails capture in pstore in our CI,

Re: [PATCH] Revert "vgaarb: Keep adding VGA device in queue"

2019-05-11 Thread Aaron Ma
On 5/10/19 11:46 PM, Michel Dänzer wrote: >> Given that the bug is a bit a mess I think we need to add a bit more >> context here in the commit message. My understanding: >> >> Goal of the revert commit was to make the integrated boot device the >> primary one, if we can't detect which one is the

[PATCH] drm/nouveau: fix duplication of nv50_head_atom struct

2019-05-11 Thread Peteris Rudzusiks
nv50_head_atomic_duplicate_state() makes a copy of nv50_head_atom struct. This patch adds copying of struct member named "or", which previously was left uninitialized in the duplicated structure. Due to this bug, incorrect nhsync and nvsync values were sometimes used. In my particular case, that

[PATCH] drm/amd/display: Make two functions static

2019-05-11 Thread YueHaibing
Fix sparse warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_clk_mgr.c:260:5: warning: symbol 'dcn10_set_dispclk' was not declared. Should it be static? drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_clk_mgr.c:286:5: warning: symbol 'dcn10_set_dprefclk' was not declared.

Re: [PATCH] kernel/locking/semaphore: use wake_q in up()

2019-05-11 Thread Petr Mladek
On Thu 2019-05-09 22:06:33, Daniel Vetter wrote: > console_trylock, called from within printk, can be called from pretty > much anywhere. Including try_to_wake_up. Note that this isn't common, > usually the box is in pretty bad shape at that point already. But it > really doesn't help when then

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-11 Thread Theodore Ts'o
On Fri, May 10, 2019 at 02:12:40PM -0700, Frank Rowand wrote: > However, the reply is incorrect. Kselftest in-kernel tests (which > is the context here) can be configured as built in instead of as > a module, and built in a UML kernel. The UML kernel can boot, > running the in-kernel tests

[PATCH] drm/amd/display: remove redundant assignment to variable actual_clock

2019-05-11 Thread Colin King
From: Colin Ian King The variable actual_clock is being initialized however this is never read and later it is being reassigned to a new value. The initialization is redundant and hence can be removed. Addresses-Coverity: ("Unused Value") Signed-off-by: Colin Ian King ---

[PATCH] drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()

2019-05-11 Thread Murray McAllister
If SVGA_3D_CMD_DX_DEFINE_RENDERTARGET_VIEW is called with a surface ID of SVGA3D_INVALID_ID, the srf struct will remain NULL after vmw_cmd_res_check(), leading to a null pointer dereference in vmw_view_add(). Signed-off-by: Murray McAllister --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 4