Re: [PATCH RESEND v2 08/12] dt-bindings: add binding for generic eDP panel

2019-02-03 Thread Thierry Reding
On Sun, Feb 03, 2019 at 10:54:57AM -0800, Vasily Khoruzhick wrote: > eDP panels usually have EDID EEPROM, so there's no need to define panel > width/height or any modes/timings in dts. But this panel still may have > regulator and/or backlight. > > Signed-off-by: Vasily Khoruzhick > --- > .../de

[Bug 109352] [CI] Deployment of IGT is different between CI_DRM and IGT_ runs

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109352 Jani Saarinen changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |tomi.p.sarv...@intel.com

[Bug 109375] Regression: dark notebook display (no backlight) after resume

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109375 Rafał Miłecki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

linux-next: Fixes tag needs some work in the drm tree

2019-02-03 Thread Stephen Rothwell
Hi all, In commit 4b5105036afb ("drm/amd/display: Don't leak memory when updating streams") Fixes tags Fixes: c00e0cc0fdc0 ("drm/amd/display: Call into DC once per multiplane flip") Fixes: ea39594e0855 ("drm/amd/display: Perform plane updates only when needed") have this problem: - T

[Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107261 --- Comment #15 from raxon...@gmail.com --- hey, give the following patches a try : 8c9d90eebd23b6d40ddf4ce5df5ca2b932336a06 , it helped me (MST but works for SST) - Raxondmc -- You are receiving this mail because: You are the assignee f

[Bug 107261] [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 1us * 10 tries - optc1_lock line:628

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107261 --- Comment #14 from raxon...@gmail.com --- hey, give the following patches a try : 8c9d90eebd23b6d40ddf4ce5df5ca2b932336a06 , it helped me (MST but works for SST) - Raxondmc -- You are receiving this mail because: You are the assignee f

Re: [PULL] drm-intel-next

2019-02-03 Thread Dave Airlie
On Sat, 2 Feb 2019 at 18:29, Rodrigo Vivi wrote: > > Hi Dave and Daniel, > > Here goes another pull request for 5.1. dim complained: Chris committed this without an S-O-B, now because it's all Intel this probably doesn't matter, so I'll pull it, put please try and let it not happen again. Dave.

[Bug 202445] amdgpu/dc: framerate dropping below adaptive sync range causes screen flickering

2019-02-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=202445 --- Comment #13 from Clément Guérin (li...@protonmail.com) --- YouTube refuses to show the vertical video as 1080p so I made another one here, this time horizontal: https://www.youtube.com/watch?v=CTKr4NWXXKI Also for reference, here's Unigine Va

Re: [pull] amdgpu, amdkfd, ttm, sched drm-next-5.1

2019-02-03 Thread Dave Airlie
On Mon, 4 Feb 2019 at 13:27, Dave Airlie wrote: > > On Sat, 26 Jan 2019 at 09:15, Alex Deucher wrote: > > > > Hi Dave, Daniel, > > > > New stuff for 5.1. > > amdgpu: > > - DC bandwidth formula updates > > - Support for DCC on scanout surfaces > > - Support for multiple IH rings on soc15 asics > >

Re: [PATCH] drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu

2019-02-03 Thread Dave Airlie
Alex, can you get this into next and resend the pull? I don't like adding warnings. Dave. On Fri, 1 Feb 2019 at 06:10, Kuehling, Felix wrote: > > Thank you, Nathan. I applied your patch to amd-staging-drm-next. > > Sorry for the late response. I'm catching up with my email backlog after > a va

Re: [pull] amdgpu, amdkfd, ttm, sched drm-next-5.1

2019-02-03 Thread Dave Airlie
On Sat, 26 Jan 2019 at 09:15, Alex Deucher wrote: > > Hi Dave, Daniel, > > New stuff for 5.1. > amdgpu: > - DC bandwidth formula updates > - Support for DCC on scanout surfaces > - Support for multiple IH rings on soc15 asics > - Fix xgmi locking > - Add sysfs interface to get pcie usage stats > -

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #65 from jake.hed...@yahoo.com --- Adding my PC to the pile affected by this - Ryzen 5 1600 Aorus RX 480 Debian (stretch) 2x8GB G.Skill DIMM (previously OC, but now everything in BIOS is "optimized default") ASUS ROG STRIX B350-F w

[Bug 202445] amdgpu/dc: framerate dropping below adaptive sync range causes screen flickering

2019-02-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=202445 --- Comment #12 from Clément Guérin (li...@protonmail.com) --- Here's a video of the issue shot in 1080p60: https://www.youtube.com/watch?v=yQmlqggF2I8 (sorry I had to make it vertical) The game fps counter is on the upper right, and the monitor'

[Bug 202445] amdgpu/dc: framerate dropping below adaptive sync range causes screen flickering

2019-02-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=202445 --- Comment #11 from Clément Guérin (li...@protonmail.com) --- Same issue with 5.0rc5. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list dri-d

[Bug 109462] [bisected] Latest amd-staging-drm-next vega10 MCLK stuck on lowest level

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109462 --- Comment #2 from Bas Nieuwenhuizen --- Can confirm it fixes the issue for me. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.fr

Re: [PATCH 2/2] drm: vkms: Bugfix racing hrtimer vblank handle

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > When the vblank irq happens, kernel time subsystem executes > `vkms_vblank_simulate`. In parallel or not, it prepares all stuff > necessary to the next vblank with arm, and it must flush these > stuff before the next vblank irq. However, vblank counter is ahead > w

Re: [PATCH 1/2] drm/vkms: Bugfix extra vblank frame

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > kms_flip tests are breaking on vkms when simulate vblank because vblank > event sequence count returns one extra frame after arm vblank event to > make a page flip. > > When vblank interrupt happens, userspace processes the vblank event and > issues the next page

Re: [PATCH 0/2] drm/vkms: Bugfix for igt-tests

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > This patchset contains patches to fix the extra frame bug on kms_flip > igt-test. First patch solves the extra vblank frame that breaks many > tests on kms_flip and second patch solves the race condition caused > by the solution added in the first one. > > Shayen

[Bug 109539] System freezing

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109539 Bug ID: 109539 Summary: System freezing Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium

[Bug 109462] [bisected] Latest amd-staging-drm-next vega10 MCLK stuck on lowest level

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109462 --- Comment #1 from Alex Deucher --- Should be fixed with this patch: https://patchwork.freedesktop.org/patch/282836/ -- You are receiving this mail because: You are the assignee for the bug.___ dri-

[PATCH 5/6] drm/xen: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Also remove the drm_dev_is_unplugged() check since this can't be true before drm_dev_unregister() is called which happens after the check. Cc: Oleksandr Andrushchenko Signed-off-by: Noralf Trønne

[PATCH 3/6] drm/amd: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 6/6] drm/drv: Remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
There are no users left. Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_drv.c | 17 - include/drm/drm_drv.h | 1 - 2 files changed, 18 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index e0941200edc6..87210d4a9e53 100644 --- a/driver

[PATCH 2/6] drm/drv: Prepare to remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
The only thing now that makes drm_dev_unplug() special is that it sets drm_device->unplugged. Move this code to drm_dev_unregister() so that we can remove drm_dev_unplug(). Signed-off-by: Noralf Trønnes --- Maybe s/unplugged/unregistered/ ? I looked at drm_device->registered, but using that wou

[PATCH 1/6] drm: Fix drm_release() and device unplug

2019-02-03 Thread Noralf Trønnes
If userspace has open fd(s) when drm_dev_unplug() is run, it will result in drm_dev_unregister() being called twice. First in drm_dev_unplug() and then later in drm_release() through the call to drm_put_dev(). Since userspace already holds a ref on drm_device through the drm_minor, it's not necess

[PATCH 0/6] drm/drv: Remove drm_dev_unplug()

2019-02-03 Thread Noralf Trønnes
This series removes drm_dev_unplug() and moves the unplugged state setting to drm_dev_unregister(). All drivers will now have access to the unplugged state if they so desire. The drm_device ref handling wrt to the last fd closed after unregister have been simplified, which also fixed a double drm_

[PATCH 4/6] drm/udl: Use drm_dev_unregister()

2019-02-03 Thread Noralf Trønnes
drm_dev_unplug() has been stripped down and is going away. Open code its 2 remaining function calls. Cc: Dave Airlie Cc: Sean Paul Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/udl/udl_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/udl/udl_drv.c

Re: [PATCH v2 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-03 Thread Paweł Chmiel
On piątek, 1 lutego 2019 22:36:07 CET Sam Ravnborg wrote: > Hi Paweł > > Looks good, thanks for addressing all the review feedback. > > On Fri, Feb 01, 2019 at 06:28:52PM +0100, Paweł Chmiel wrote: > > This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over > > spi. It's based on

[PATCH 0/5] TV norms limit and TVP5150 implementation

2019-02-03 Thread Marco Felsch
Hi, in short this series adds the support to limit the tv norms on an analog-connector. I recognized that all drivers dealing with connectors implemented their own parsing routine due to the lack of a generic one. A generic parsing routine needs a connector container which contain common data and

[PATCH 1/5] dt-bindings: connector: analog: add tv norms property

2019-02-03 Thread Marco Felsch
Some connectors no matter if in- or output supports only a limited range of tv norms. It doesn't matter if the hardware behind that connector supports more than the listed formats since the users are restriced by a label e.g. to plug only a camera into this connector which uses the PAL format. Thi

[PATCH 6/8] Documentation: fb: sm712fb: add information mainly about 2D.

2019-02-03 Thread Yifeng Li
This commits add information about 32-bit color, 2D acceleration, as well as adding additional, general information about the hardware and many existing problems of the sm712fb driver. Signed-off-by: Yifeng Li --- Documentation/fb/sm712fb.txt | 123 +++ 1 file cha

[PATCH 4/5] media: tvp5150: make use of generic connector parsing

2019-02-03 Thread Marco Felsch
Drop the driver specific connector parsing since we can use the generic parsing provided by the v4l2-fwnode core. Signed-off-by: Marco Felsch --- drivers/media/i2c/tvp5150.c | 75 ++--- 1 file changed, 20 insertions(+), 55 deletions(-) diff --git a/drivers/media/

[PATCH v3 1/2] dt-bindings: drm: panel: Add Samsung s6e63m0 panel documentation

2019-02-03 Thread Paweł Chmiel
From: Jonathan Bakker This commit adds documentation for Samsung s6e63m0 AMOLED LCD panel driver. Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel --- Changes from v1: - Add missing subject prefix - Rename reset-gpio to reset-gpios - Add link to spi properites documentation. Th

[PATCH] drm/amd/display: Use memset to initialize variables in fill_plane_dcc_attributes

2019-02-03 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:2314:38: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct dc_surface_dcc_cap output = {0}; ^

Re: [PATCH 9/9] [DO NOT MERGE] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2019-02-03 Thread Vasily Khoruzhick
On Thu, Oct 18, 2018 at 4:31 AM Laurent Pinchart wrote: > Given that the tolerance is a property of the panel or bridge, I agree with > Daniel that it should be implemented there, or at least in cooperation with > drm_panel and drm_bridge. Clock tolerance is not specified in ANX6345 datasheet.

[PATCH 2/8] fbdev: sm712fb: use type "u8" for 8-bit I/O.

2019-02-03 Thread Yifeng Li
This commit converts "unsigned int" and "int" in I/O wrappers to "u8". It improves readability since it's consistent with the prototypes of readb() and writeb(). More importantly, it reduces readers' confusion, since the upcoming 2D acceleration code will use a different wordsize. Signed-off-by: Y

[PATCH 5/8] fbdev: sm712fb: add 32-bit color modes, drops some other modes.

2019-02-03 Thread Yifeng Li
The modesetting in sm712fb is an ugly hack. First, all the registers are programmed by hardcoded register arrays, which makes it difficult to support different variations of color depths, refresh rates, CRT/LCD panel, etc of the same resolution. Second, it means the standard fb_find_mode() cannot b

[PATCH] drm/amd/display: Use memset to initialize variable in wait_for_training_aux_rd_interval

2019-02-03 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:50:57: warning: suggest braces around initialization of subobject [-Wmissing-braces] union training_aux_rd_interval training_rd_interval = {0}; ^

[PATCH 3/5] media: v4l2-fwnode: add initial connector parsing support

2019-02-03 Thread Marco Felsch
The patch adds the initial connector parsing code, so we can move from a driver specific parsing code to a generic one. Currently only the generic fields and the analog-connector specific fields are parsed. Parsing the other connector specific fields can be added by a simple callbacks. Signed-off-

[PATCH 3/8] fbdev: sm712fb: add 2D-related I/O headers and functions.

2019-02-03 Thread Yifeng Li
This commit adds I/O macros and functions related to 2D opeartions. A hunk of hardware register definitions are taken verbatim from OpenBSD. In addition, a utility function pad_to_dword() is added to help padding data for the 2D engine. It accepts 3, 2, or 1 byte(s) of data, and pads it to a 32-b

[PATCH 2/5] media: v4l2-fwnode: add v4l2_fwnode_connector

2019-02-03 Thread Marco Felsch
Currently every driver needs to parse the connector endpoints by it self. This is the initial work to make this generic. The generic connector has some common fields and some connector specific parts. The generic one includes: - type - label - remote_port (the port where the connector is conn

[PATCH 7/8] fbdev: sm712fb: Kconfig: add information about docs.

2019-02-03 Thread Yifeng Li
This commits update the Kconfig description of sm712fb, and inform the user about the existence of documentation. Signed-off-by: Yifeng Li --- drivers/video/fbdev/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index ae771

[PATCH 1/8] fbdev: sm712fb: update copyright headers.

2019-02-03 Thread Yifeng Li
My implementation of 2D acceleration used the original buggy code in the staging tree (which had been removed due to a critical bug soon after its submission), also, OpenBSD's smfb.c driver written by Miodrag Vallat was another important source of reference, a hunk of hardware register definitions

[PATCH 5/5] media: tvp5150: add support to limit tv norms on connector

2019-02-03 Thread Marco Felsch
The tvp5150 accepts NTSC(M,J,4.43), PAL (B,D,G,H,I,M,N) and SECAM video data and is able to auto-detect the input signal. The auto-detection does not work if the connector does not receive an input signal and the tvp5150 might not be configured correctly. This misconfiguration leads into wrong deco

[PATCH] drm/amd/display: Use memset to initialize variables in amdgpu_dm_atomic_commit_tail

2019-02-03 Thread Nathan Chancellor
Clang warns: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5089:60: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct dc_surface_update dummy_updates[MAX_SURFACES] = { 0 };

[PATCH 8/8] MAINTAINERS: sm712fb: list myself as one maintainer.

2019-02-03 Thread Yifeng Li
I have working on the sm712fb driver for a while and have some familiarity with this hardware, I'll be helping working on and testing problems of this driver, so add myself to the MAINTAINERS file. Signed-off-by: Yifeng Li --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINT

[PATCH 0/8] fbdev: sm712fb: implement 2D acceleration w/ cleanups.

2019-02-03 Thread Yifeng Li
Previously, in staging/sm7xxfb (now fbdev/sm712fb), 2D acceleration was implemented, but after its submission, a critical bug that causes total system hang was discovered, as a stopgap measure, 2D ops was completele removed in commit 3af805735a25 ("staging: sm7xx: remove the buggy 2D acceleration s

[PATCH 4/8] fbdev: sm712fb: support 2D acceleration on SM712 w/ Little-Endian CPU.

2019-02-03 Thread Yifeng Li
Previously, in staging/sm7xxfb (now fbdev/sm712fb), 2D acceleration was implemented, but after its submission, a critical bug that causes total system hang was discovered, as a stopgap measure, 2D ops was completele removed in commit 3af805735a25 ("staging: sm7xx: remove the buggy 2D acceleration s

[PATCH v3 2/2] drm/panel: Add driver for Samsung S6E63M0 panel

2019-02-03 Thread Paweł Chmiel
This patch adds Samsung S6E63M0 AMOLED LCD panel driver, connected over spi. It's based on already removed, non dt s6e63m0 driver and panel-samsung-ld9040. It can be found for example in some of Samsung Aries based phones. Signed-off-by: Paweł Chmiel Reviewed-by: Sam Ravnborg --- Changes from v2

[Bug 109538] VAAPI HEVC encoding is unstable and produces garbled output

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109538 Bug ID: 109538 Summary: VAAPI HEVC encoding is unstable and produces garbled output Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All)

[Bug 105145] vaExportSurfaceHandle interaction with surface interlaced flag prevents switching on vaapi deinterlacing dynamically

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105145 --- Comment #14 from tempel.jul...@gmail.com --- Unfortunately, VAAPI deinterlacing inside mpv --vo=gpu still doesn't work because this is still missing. :( -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 60879] [radeonsi] Tahiti LE: GFX block is not functional, CP is okay

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #178 from MAD --- Created attachment 143279 --> https://bugs.freedesktop.org/attachment.cgi?id=143279&action=edit Xorg-amdgpu-4.20.6.log -- You are receiving this mail because: You are the assignee for the bug.

[Bug 60879] [radeonsi] Tahiti LE: GFX block is not functional, CP is okay

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #177 from MAD --- Created attachment 143278 --> https://bugs.freedesktop.org/attachment.cgi?id=143278&action=edit journalctl-b0-amdgpu-4.20.6.log -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 60879] [radeonsi] Tahiti LE: GFX block is not functional, CP is okay

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #176 from MAD --- Created attachment 143277 --> https://bugs.freedesktop.org/attachment.cgi?id=143277&action=edit Xorg-radeonsi-4.20.6.log -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 60879] [radeonsi] Tahiti LE: GFX block is not functional, CP is okay

2019-02-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #175 from MAD --- Created attachment 143276 --> https://bugs.freedesktop.org/attachment.cgi?id=143276&action=edit journalctl-b0-radeonsi-4.20.6.log -- You are receiving this mail because: You are the assignee for the bug._

Re: [PATCH v2 3/3] phy: Add driver for mixel dphy found on imx8

2019-02-03 Thread kbuild test robot
Hi Guido, Thank you for the patch! Yet something to improve: [auto build test ERROR on phy/next] [also build test ERROR on next-20190201] [cannot apply to v5.0-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0da

Re: [PATCH] dt-bindings: display: add binding for Innolux ee101ia-01d panel

2019-02-03 Thread Heiko Stuebner
Am Dienstag, 29. Januar 2019, 17:45:50 CET schrieb Daniel Vetter: > On Tue, Jan 29, 2019 at 02:37:23PM +0100, Heiko Stübner wrote: > > Hi Thierry, > > > > Am Dienstag, 13. November 2018, 13:42:05 CET schrieb Heiko Stuebner: > > > From: Heiko Stuebner > > > > > > This is a panel handled through t