Re: [PATCH 5/5] [RFC]drm: add syncobj timeline support v3

2018-08-29 Thread zhoucm1
On 2018年08月29日 19:42, Christian König wrote: Am 29.08.2018 um 12:44 schrieb Chunming Zhou: VK_KHR_timeline_semaphore: This extension introduces a new type of semaphore that has an integer payload identifying a point in a timeline. Such timeline semaphores support the following operations:   

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #44 from Marek Olšák --- If glxinfo picks up the correct driver, it's fine. The ddebug file should contain "Buffer list". -- You are receiving this mail because: You are the assignee for the

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #43 from CheatCodesOfLife --- (In reply to Marek Olšák from comment #42) > The file is incomplete, but I don't know why. Can you try it again? Maybe > it'll be complete next time. It's better to use the REISUB key sequence to >

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #42 from Marek Olšák --- The file is incomplete, but I don't know why. Can you try it again? Maybe it'll be complete next time. It's better to use the REISUB key sequence to reboot the machine. (put it in google) -- You are

[Bug 107744] radeonsi OpenGL fails to properly render hg_timeless demo in winehq-staging

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107744 Bug ID: 107744 Summary: radeonsi OpenGL fails to properly render hg_timeless demo in winehq-staging Product: Mesa Version: git Hardware: Other OS: All

[radeon-alex:amd-staging-drm-next 663/675] htmldocs: drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:2745: warning: Function parameter or member 'pasid' not described in 'amdgpu_vm_make_compute'

2018-08-29 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: 209dfdfaae8fa671821b778b77e8295e6d9a47d0 commit: 202571ff39473c6831c4300276127bdb8c34c6b7 [663/675] drm/amdgpu: Set pasid for compute vm reproduce: make htmldocs All warnings (new ones prefixed by >>):

[Bug 107581] Graphics Not Rendered Due to Missing 4.5 COMPAT Profile

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107581 Timothy Arceri changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

Re: [Intel-gfx] [PATCH v4] drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"

2018-08-29 Thread Rodrigo Vivi
On Wed, Aug 29, 2018 at 05:28:23PM -0400, Lyude Paul wrote: > On Wed, 2018-08-29 at 14:22 -0700, Rodrigo Vivi wrote: > > On Mon, Aug 27, 2018 at 01:39:02PM -0400, Lyude Paul wrote: > > > On Mon, 2018-08-27 at 11:43 +0300, Jani Nikula wrote: > > > > On Sat, 25 Aug 2018, Lyude Paul wrote: > > > > >

[PULL] drm-intel-fixes

2018-08-29 Thread Rodrigo Vivi
Hi Dave, Here goes drm-intel-fixes-2018-08-29: - fix for GLK and CNL watermark workaround - fix for display affecting NUCs with LSPCON - freeing an allocated write_buf on hdcp - audio hook when display is disabled - vma stop holding ppgtt reference Thanks, Rodrigo. The following changes since

[Bug 106671] Frequent lock ups for AMD RX 550 graphics card

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106671 --- Comment #7 from Alan W. Irwin --- Please remove the resolution of this bug as FIXED. The reason for this request is subsequent kernel-4.16.x use after the initial success I reported continued to show lock ups whenever this graphics card

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #41 from CheatCodesOfLife --- (In reply to Andrey Grodzovsky from comment #40) > Marek Olšák, I still don't see the expected debug output. I looked for > 'Buffer list' > CheatCodesOfLife, can you verify please you are running the

[PATCH RESEND v3 5/6] drm/nouveau: Cleanup indenting in nouveau_backlight.c

2018-08-29 Thread Lyude Paul
Still no functional changes. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c

[PATCH RESEND v3 3/6] drm/nouveau: Move backlight device into nouveau_connector

2018-08-29 Thread Lyude Paul
Currently module unloading is broken in nouveau due to a rather annoying race condition resulting from nouveau_backlight.c having gone a bit stale over time: [ 1960.791143] == [ 1960.791394] BUG: KASAN: use-after-free in

[PATCH RESEND v3 4/6] drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/

2018-08-29 Thread Lyude Paul
More consistent with the rest of the codebase, no functional changes here. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.h | 4 ++-- 3

[PATCH RESEND v3 6/6] drm/nouveau: Refactor nvXX_backlight_init()

2018-08-29 Thread Lyude Paul
There's literally no difference between any of the backlight init functions besides the backlight properties they set and the backlight callbacks that they set, so move all of the duplicated backlight init code out of there and into nouveau_backlight_init(). This gets rid of a lot of copy pasta!

[PATCH RESEND v3 2/6] drm/nouveau: Add NV_PRINTK_ONCE and variants

2018-08-29 Thread Lyude Paul
Since we're about to use this in nouveau_backlight.c. Same thing as DRM_WARN_ONCE, DRM_INFO_ONCE, etc... Signed-off-by: Lyude Paul Cc: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_drv.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h

[PATCH RESEND v3 1/6] drm/nouveau: Check backlight IDs are >= 0, not > 0

2018-08-29 Thread Lyude Paul
Remember, ida IDs start at 0, not 1! Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst Cc: sta...@vger.kernel.org --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c

[PATCH RESEND v3 0/6] drm/nouveau: Backlight fixes and cleanup

2018-08-29 Thread Lyude Paul
Forgot to send 6 patches instead of five since there's one new one now, whoops! No actual changes, next version of https://patchwork.freedesktop.org/series/48596/ Lyude Paul (6): drm/nouveau: Check backlight IDs are >= 0, not > 0 drm/nouveau: Add NV_PRINTK_ONCE and variants drm/nouveau:

[PATCH v3 5/5] drm/nouveau: Refactor nvXX_backlight_init()

2018-08-29 Thread Lyude Paul
There's literally no difference between any of the backlight init functions besides the backlight properties they set and the backlight callbacks that they set, so move all of the duplicated backlight init code out of there and into nouveau_backlight_init(). This gets rid of a lot of copy pasta!

[PATCH v3 2/5] drm/nouveau: Move backlight device into nouveau_connector

2018-08-29 Thread Lyude Paul
Currently module unloading is broken in nouveau due to a rather annoying race condition resulting from nouveau_backlight.c having gone a bit stale over time: [ 1960.791143] == [ 1960.791394] BUG: KASAN: use-after-free in

[PATCH v3 3/5] drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/

2018-08-29 Thread Lyude Paul
More consistent with the rest of the codebase, no functional changes here. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.h | 4 ++-- 3

[PATCH v3 4/5] drm/nouveau: Cleanup indenting in nouveau_backlight.c

2018-08-29 Thread Lyude Paul
Still no functional changes. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c

[PATCH v3 0/5] drm/nouveau: Backlight fixes and cleanup

2018-08-29 Thread Lyude Paul
Next version of https://patchwork.freedesktop.org/series/48596/ . Added NV_INFO_ONCE and made "Move backlight device into nouveau_connector" use that instead so we don't print the GMUX warning more then once. Lyude Paul (5): drm/nouveau: Add NV_PRINTK_ONCE and variants drm/nouveau: Move

[PATCH v3 1/5] drm/nouveau: Add NV_PRINTK_ONCE and variants

2018-08-29 Thread Lyude Paul
Since we're about to use this in nouveau_backlight.c. Same thing as DRM_WARN_ONCE, DRM_INFO_ONCE, etc... Signed-off-by: Lyude Paul Cc: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_drv.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h

[PATCH v2 4/5] drm/nouveau: Cleanup indenting in nouveau_backlight.c

2018-08-29 Thread Lyude Paul
Still no functional changes. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c

[PATCH v2 5/5] drm/nouveau: Refactor nvXX_backlight_init()

2018-08-29 Thread Lyude Paul
There's literally no difference between any of the backlight init functions besides the backlight properties they set and the backlight callbacks that they set, so move all of the duplicated backlight init code out of there and into nouveau_backlight_init(). This gets rid of a lot of copy pasta!

[PATCH v2 0/5] drm/nouveau: Backlight fixes and cleanup

2018-08-29 Thread Lyude Paul
Next version of https://patchwork.freedesktop.org/series/48596/ . Made some important changes to the refactoring patch, but everything else is the same. Lyude Paul (5): drm/nouveau: Check backlight IDs are >= 0, not > 0 drm/nouveau: Move backlight device into nouveau_connector drm/nouveau:

[PATCH v2 3/5] drm/nouveau: s/nouveau_backlight_exit/nouveau_backlight_fini/

2018-08-29 Thread Lyude Paul
More consistent with the rest of the codebase, no functional changes here. Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- drivers/gpu/drm/nouveau/nouveau_connector.h | 4 ++-- 3

[PATCH v2 2/5] drm/nouveau: Move backlight device into nouveau_connector

2018-08-29 Thread Lyude Paul
Currently module unloading is broken in nouveau due to a rather annoying race condition resulting from nouveau_backlight.c having gone a bit stale over time: [ 1960.791143] == [ 1960.791394] BUG: KASAN: use-after-free in

[PATCH v2 1/5] drm/nouveau: Check backlight IDs are >= 0, not > 0

2018-08-29 Thread Lyude Paul
Remember, ida IDs start at 0, not 1! Signed-off-by: Lyude Paul Reviewed-by: Karol Herbst Cc: sta...@vger.kernel.org --- drivers/gpu/drm/nouveau/nouveau_backlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c

Re: [Intel-gfx] [PATCH v4] drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"

2018-08-29 Thread Lyude Paul
On Wed, 2018-08-29 at 14:22 -0700, Rodrigo Vivi wrote: > On Mon, Aug 27, 2018 at 01:39:02PM -0400, Lyude Paul wrote: > > On Mon, 2018-08-27 at 11:43 +0300, Jani Nikula wrote: > > > On Sat, 25 Aug 2018, Lyude Paul wrote: > > > > From: Jan-Marek Glogowski > > > > > > > > This re-applies the

Re: [Intel-gfx] [PATCH v4] drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"

2018-08-29 Thread Rodrigo Vivi
On Mon, Aug 27, 2018 at 01:39:02PM -0400, Lyude Paul wrote: > On Mon, 2018-08-27 at 11:43 +0300, Jani Nikula wrote: > > On Sat, 25 Aug 2018, Lyude Paul wrote: > > > From: Jan-Marek Glogowski > > > > > > This re-applies the workaround for "some DP sinks, [which] are a > > > little nuts" from

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 Peter Wu changed: What|Removed |Added CC||pe...@lekensteyn.nl --- Comment #59 from

[Bug 200517] Vega 8/Radeon 535 hybrid graphics - amdgpu crash on modesetting

2018-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200517 Peter Wu (pe...@lekensteyn.nl) changed: What|Removed |Added CC||pe...@lekensteyn.nl ---

[Bug 107689] System freezes on shutdown. [drm:gfx_v8_0_hw_fini [amdgpu]] *ERROR* KCQ disabled failed (scratch(0xC040)=0xCAFEDEAD)

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107689 john-s...@gmx.net changed: What|Removed |Added Attachment #141300|0 |1 is obsolete|

[pull] amdgpu drm-fixes-4.19

2018-08-29 Thread Alex Deucher
Hi Dave, Fixes for 4.19: - SR-IOV fixes - Kasan and page fault fix on device removal - S3 stability fix for CZ/ST - VCE regression fixes for CIK parts - Avoid holding the mn_lock when allocating memory - DC memory leak fix - BO eviction fix The following changes since commit

Re: [Freedreno] [PATCH 3/3] drm/msm/dpu: use encoder type to identify display type

2018-08-29 Thread Jordan Crouse
On Tue, Aug 28, 2018 at 04:02:18PM -0700, Jeykumar Sankaran wrote: > With patch [1], DPU is broken since it continues to use > incorrect connector_type to identify the display type. Update > DPU to use the encoder type to get the info. > > [1] https://patchwork.kernel.org/patch/10568269/ This

Re: [PATCH RESEND v6 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-08-29 Thread Linus Walleij
On Wed, Aug 29, 2018 at 12:39 AM Abhinav Kumar wrote: > From: "abhin...@codeaurora.org" > > Add the device tree bindings for Truly NT35597 panel driver. > This panel driver supports both single DSI and dual DSI. > > However, this patch series supports only dual DSI. > > Changes in v6: > -

Re: [Intel-gfx] [PATCH v7 2/2] drm/i915: Adding YUV444 packed format(DRM_FORMAT_XYUV) support.

2018-08-29 Thread Dhinakaran Pandiyan
On Wed, 2018-08-29 at 21:10 +0300, Ville Syrjälä wrote: > On Wed, Aug 29, 2018 at 02:28:47PM +0300, Stanislav Lisovskiy wrote: > > PLANE_CTL_FORMAT_AYUV is already supported, according to hardware > > specification. > > > > v2: Edited commit message, removed redundant whitespaces. > > > > v3:

Re: [PATCH 2/2] ARM: dts: exynos: arndale: fix HDMI-HPD line handling

2018-08-29 Thread Krzysztof Kozlowski
On Thu, Jul 26, 2018 at 12:12:28PM +0200, Andrzej Hajda wrote: > HDMI-HPD was set active low, moreover by default pincontrol > chip sets pull-down on the pin. As a result HDMI driver > assumes TV is always connected regardless of actual state. > The patch fixes it. > > Signed-off-by: Andrzej

Re: [PATCH v2 1/2] ARM: dts: exynos: arndale: use i2c-gpio for HDMI-DDC

2018-08-29 Thread Krzysztof Kozlowski
On Thu, Jul 26, 2018 at 03:22:09PM +0200, Andrzej Hajda wrote: > HDMI-DDC for unknown reasons doesn't work with Exynos I2C > controllers. Fortunately i2c-gpio comes to the rescue. > > Signed-off-by: Andrzej Hajda > --- > arch/arm/boot/dts/exynos5250-arndale.dts | 28 --- >

Re: [PATCH v5 7/9] ARM: dts: exynos5250-arndale: add DSI and panel nodes

2018-08-29 Thread Krzysztof Kozlowski
On Wed, Jul 25, 2018 at 05:46:42PM +0200, Andrzej Hajda wrote: > The patch adds bridge and panel nodes. > It adds also DSI properties specific for arndale board and > regulators required by the bridge. > > Signed-off-by: Andrzej Hajda > Signed-off-by: Maciej Purski > --- >

[Bug 200621] Freezing with amdgpu driver

2018-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200621 --- Comment #9 from Jon (jon...@gmail.com) --- Thanks for your input, I appreciate you taking the time to look into this. This system was 100% stable for months, but somewhere around 4.17.X the issue started and has persisted through several

Re: How to gracefully handle pci remove

2018-08-29 Thread Deucher, Alexander
Take a look at what the udl drm driver does. It's a usb display chip. Alex From: amd-gfx on behalf of Andrey Grodzovsky Sent: Wednesday, August 29, 2018 2:28:42 PM To: Daniel Vetter; Noralf Trønnes Cc: Dave Airlie; amd-...@lists.freedesktop.org; ML

Re: [PATCH v5 6/9] ARM: dts: exynos5250: add DSI node

2018-08-29 Thread Krzysztof Kozlowski
On Wed, Jul 25, 2018 at 05:46:41PM +0200, Andrzej Hajda wrote: > The patch adds common part of DSI node for Exynos5250 platforms > and a required mipi-phy node. > > Signed-off-by: Andrzej Hajda > Signed-off-by: Maciej Purski > --- > arch/arm/boot/dts/exynos5250.dtsi | 21 +

Re: How to gracefully handle pci remove

2018-08-29 Thread Andrey Grodzovsky
Actually, I've just spotted this drm_dev_unplug, does it make sense to use it in our pci_driver.remove hook instead of explicitly doing drm_dev_unregister and drm_dev_put(dev) ? This way at least any following IOCTL will fail with ENODEV. Andrey On 08/29/2018 11:07 AM, Daniel Vetter wrote:

Re: [Intel-gfx] [PATCH v7 2/2] drm/i915: Adding YUV444 packed format(DRM_FORMAT_XYUV) support.

2018-08-29 Thread Ville Syrjälä
On Wed, Aug 29, 2018 at 02:28:47PM +0300, Stanislav Lisovskiy wrote: > PLANE_CTL_FORMAT_AYUV is already supported, according to hardware > specification. > > v2: Edited commit message, removed redundant whitespaces. > > v3: Fixed fallthrough logic for the format switch cases. > > v4: Yet again

[PATCH v3] drm/msm: dpu: Allow planes to extend past active display

2018-08-29 Thread Sean Paul
From: Sean Paul The atomic_check is a bit too aggressive with respect to planes which leave the active area. This caused a bunch of log spew when the cursor got to the edge of the screen and stopped it from going all the way. This patch removes the conservative bounds checks from atomic and

Re: DRM MSM initialization problem

2018-08-29 Thread Sean Paul
On Wed, Aug 29, 2018 at 04:34:13PM +, Dima Antonets wrote: > Hi all, > Hi Dmitriy, I don't have an answer for you, but I've Cc'd the msm lists in case someone there does. Sean > I need an advice for the following DRM MSM initialization problem: > drm/msm/msm_drv.c msm_pdev_probe() fails

Re: [PATCH RESEND v6 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-08-29 Thread abhinavk
Hi Sam Yes, looks like I missed Philip's comments. Will reply to his mail and fix them in v7. Thanks for pointing it out. Abhinav On 2018-08-28 21:34, Sam Ravnborg wrote: Hi Abhinav. On Tue, Aug 28, 2018 at 03:39:46PM -0700, Abhinav Kumar wrote: From: "abhin...@codeaurora.org" Add

DRM MSM initialization problem

2018-08-29 Thread Dima Antonets
Hi all, I need an advice for the following DRM MSM initialization problem: drm/msm/msm_drv.c msm_pdev_probe() fails with the following message (screenshot below) [ 54.833779] irq: no irq domain found for /soc/mdss@1a0 ! [ 54.839019] CPU: 6 PID: 1132 Comm: modprobe Tainted: GW

Re: [PATCH libdrm v2 4/5] intel: make gen9 use generic gen macro

2018-08-29 Thread Lucas De Marchi
On Wed, Aug 29, 2018 at 11:32:35AM +0100, Chris Wilson wrote: > Quoting Lucas De Marchi (2018-08-29 01:35:31) > > The 2 PCI IDs that are used for the command line overrid mechanism > > were left defined. > > What makes them so special? Why not just match on the override devid? because it's a

[Bug 107652] amdgpu couldn't resume after suspend

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107652 --- Comment #10 from mikhail.v.gavri...@gmail.com --- Created attachment 141348 --> https://bugs.freedesktop.org/attachment.cgi?id=141348=edit dmesg (4.19.0-0.rc1.git0.1) -- You are receiving this mail because: You are the assignee for the

Re: How to gracefully handle pci remove

2018-08-29 Thread Andrey Grodzovsky
Thanks. Andrey On 08/29/2018 11:07 AM, Daniel Vetter wrote: On Wed, Aug 29, 2018 at 4:43 PM, Andrey Grodzovsky wrote: Just another ping... Daniel, Dave - maybe you could give some advise on that ? P.S I tried with Intel card (i915) driver on 4.18.1 kernel to do the same to get some

[Bug 99857] Radeon R7 M260/M265 *ERROR* amdgpu asic reset failed - Suspending notebook freezes it

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99857 --- Comment #7 from Andrey Grodzovsky --- Well, your dmesg shows 4.9 kernel which is really old, so I would give a try. If you still have it on 4.18 a new log can be more useful to look at. I think you can always just manually install *.deb

Re: How to gracefully handle pci remove

2018-08-29 Thread Daniel Vetter
On Wed, Aug 29, 2018 at 4:43 PM, Andrey Grodzovsky wrote: > Just another ping... > > Daniel, Dave - maybe you could give some advise on that ? > > P.S I tried with Intel card (i915) driver on 4.18.1 kernel to do the same to > get some reference point, but it just hanged. drm_device hot-unplug is

[Bug 99857] Radeon R7 M260/M265 *ERROR* amdgpu asic reset failed - Suspending notebook freezes it

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99857 --- Comment #6 from copperly --- I am running 4.15.0-33-generic, which is up to date with cinnamon's repositories. Should I really try to upgrade? I beleive when I was on kubuntu and having the same problem I was running 4.17 or 4.18. -- You

Re: [libdrm patch] Fix build with -std=c11

2018-08-29 Thread Eric Engestrom
On Tuesday, 2018-07-31 16:30:12 -0700, Tom Anderson wrote: > Ping. Hey, sorry this one almost fell through the cracks. I believe this patch is correct, so it has my Reviewed-by: Eric Engestrom I'll run a couple build tests just to make sure and push it later :) > Please let me know if there's

Re: How to gracefully handle pci remove

2018-08-29 Thread Andrey Grodzovsky
Just another ping... Daniel, Dave - maybe you could give some advise on that ? P.S I tried with Intel card (i915) driver on 4.18.1 kernel to do the same to get some reference point, but it just hanged. Andrey On 08/27/2018 12:04 PM, Andrey Grodzovsky wrote: Hi everybody , I am trying to

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #40 from Andrey Grodzovsky --- Marek Olšák, I still don't see the expected debug output. I looked for 'Buffer list' CheatCodesOfLife, can you verify please you are running the patched version of MESA ? We tested yesterday the new

Re: [PATCH libdrm v2 5/5] intel: get gen once for gen >= 9

2018-08-29 Thread Chris Wilson
Quoting Lucas De Marchi (2018-08-29 01:35:32) > We don't need to call IS_GEN() for each gen >= 9: we can rather use the > new intel_is_genx() helper to iterate the pciids array once. > > Signed-off-by: Lucas De Marchi > --- > intel/intel_bufmgr_gem.c | 8 +--- > intel/intel_decode.c | 8

[Bug 104362] GPU fault detected on wine-nine Path of Exile

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104362 --- Comment #6 from Andrey Grodzovsky --- Did you do pm-hibernate before the hang happened ? I see a hibernate print just before the hang in the previous log ? In latest log i see no prints of hang. -- You are receiving this mail because: You

[Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 --- Comment #12 from Luigi Laurini --- I've to rectify my last affirmation about the patch. I've patched the 4.18.5 kernel, compiled and rebooted the guest without rebooting the host. The guest vm was already in a bad state (300 MHz (MCLK)).

Re: [PATCH v2] drm/msm: dpu: Allow planes to extend past active display

2018-08-29 Thread Sean Paul
On Tue, Aug 28, 2018 at 05:01:13PM -0700, Jeykumar Sankaran wrote: > On 2018-08-28 15:52, Sean Paul wrote: > > On Tue, Aug 28, 2018, 6:04 PM Jeykumar Sankaran > > wrote: > > > > > On 2018-08-28 13:50, Sean Paul wrote: > > > > From: Sean Paul > > > > > > > > The atomic_check is a bit too

[PATCH 1/2] drm/virtio: add virtio_gpu_object_detach() function

2018-08-29 Thread Gerd Hoffmann
The new function balances virtio_gpu_object_attach(). Also make virtio_gpu_cmd_resource_inval_backing() static and switch call sites to the new virtio_gpu_object_attach() function. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.h | 4 ++--

[PATCH 2/2] drm/virtio: add iommu support.

2018-08-29 Thread Gerd Hoffmann
Use the dma mapping api and properly add iommu mappings for objects, unless virtio is in iommu quirk mode. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_drv.h | 1 + drivers/gpu/drm/virtio/virtgpu_vq.c | 46 +--- 2 files changed, 38

[PATCH 0/2] drm/virtio: add iommu support.

2018-08-29 Thread Gerd Hoffmann
Gerd Hoffmann (2): drm/virtio: add virtio_gpu_object_detach() function drm/virtio: add iommu support. drivers/gpu/drm/virtio/virtgpu_drv.h | 5 ++-- drivers/gpu/drm/virtio/virtgpu_fb.c | 2 +- drivers/gpu/drm/virtio/virtgpu_ttm.c | 3 +-- drivers/gpu/drm/virtio/virtgpu_vq.c | 52

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Andrzej Hajda
On 29.08.2018 13:00, Liviu Dudau wrote: > On Wed, Aug 29, 2018 at 12:23:18PM +0200, Andrzej Hajda wrote: >> On 29.08.2018 12:01, Liviu Dudau wrote: >>> On Wed, Aug 29, 2018 at 11:58:20AM +0200, Andrzej Hajda wrote: On 28.08.2018 15:45, Linus Walleij wrote: > On Mon, Aug 27, 2018 at 1:53

Re: [PATCH v5 1/2] devicetree/bindings: display: Add document for rockchip RGB output

2018-08-29 Thread Heiko Stuebner
Hi Michal, Am Dienstag, 28. August 2018, 10:31:15 CEST schrieb Michal Vokáč: > On 28.8.2018 10:12, Sandy Huang wrote: > > This path add support rv1108 and px30 rgb output interface driver. > > Hi Sandy, > Seems like you forgot to address Rob's comment regarding the "driver" word. > Also fix the

Re: [PATCH] drm/rockchip: vop: fix some register define error for px30

2018-08-29 Thread Heiko Stuebner
Am Dienstag, 28. August 2018, 10:32:30 CEST schrieb Sandy Huang: > 1. interrupt register define error lead to enable interrupt failed; > 2. px30 unsupport hdmi output; > 3. there are some hardware designed bug, we must swap win2 gate and >enable offset, otherwise will appear vop iommu

Re: [PATCH v2] drm/msm: dpu: Allow planes to extend past active display

2018-08-29 Thread Ville Syrjälä
On Tue, Aug 28, 2018 at 04:50:37PM -0400, Sean Paul wrote: > From: Sean Paul > > The atomic_check is a bit too aggressive with respect to planes which > leave the active area. This caused a bunch of log spew when the cursor > got to the edge of the screen and stopped it from going all the way. >

Re: [PATCH 5/5] [RFC]drm: add syncobj timeline support v3

2018-08-29 Thread Christian König
Am 29.08.2018 um 12:44 schrieb Chunming Zhou: VK_KHR_timeline_semaphore: This extension introduces a new type of semaphore that has an integer payload identifying a point in a timeline. Such timeline semaphores support the following operations: * CPU query - A host operation that allows

Re: [PATCH] drm/rockchip: Use struct_size() in devm_kzalloc()

2018-08-29 Thread Heiko Stuebner
Am Sonntag, 26. August 2018, 20:47:12 CEST schrieb Gustavo A. R. Silva: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > >

[PATCH v7 2/2] drm/i915: Adding YUV444 packed format(DRM_FORMAT_XYUV) support.

2018-08-29 Thread Stanislav Lisovskiy
PLANE_CTL_FORMAT_AYUV is already supported, according to hardware specification. v2: Edited commit message, removed redundant whitespaces. v3: Fixed fallthrough logic for the format switch cases. v4: Yet again fixed fallthrough logic, to reuse code from other case labels. v5: Started to

[PATCH v7 1/2] drm: Introduce new DRM_FORMAT_XYUV

2018-08-29 Thread Stanislav Lisovskiy
v5: This is YUV444 packed format same as AYUV, but without alpha, as supported by i915. v6: Removed unneeded initializer for new XYUV format. v7: Added is_yuv field initialization according to latest drm_fourcc format structure initialization changes. Signed-off-by: Stanislav Lisovskiy

[PATCH v7 0/2] Add XYUV format support

2018-08-29 Thread Stanislav Lisovskiy
Introduced new XYUV scan-in format for framebuffer and added support for it to i915 driver. Stanislav Lisovskiy (2): drm: Introduce new DRM_FORMAT_XYUV drm/i915: Adding YUV444 packed format(DRM_FORMAT_XYUV) support. drivers/gpu/drm/drm_fourcc.c | 1 +

Re: [PATCH v2] drm/rockchip: fix coding style and incorrect description

2018-08-29 Thread Heiko Stuebner
Am Dienstag, 28. August 2018, 09:44:55 CEST schrieb Sandy Huang: > Align with other drivers, tab + 2 space key for description. > and edp/hdmi/dsi can be used on both rk3288 and rk3399. > > Signed-off-by: Sandy Huang applied to drm-misc ___

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Liviu Dudau
On Wed, Aug 29, 2018 at 12:23:18PM +0200, Andrzej Hajda wrote: > On 29.08.2018 12:01, Liviu Dudau wrote: > > On Wed, Aug 29, 2018 at 11:58:20AM +0200, Andrzej Hajda wrote: > >> On 28.08.2018 15:45, Linus Walleij wrote: > >>> On Mon, Aug 27, 2018 at 1:53 PM Andrzej Hajda wrote: > >>> > On

Re: [PATCH 2/2] drm/tinydrm: Switch from CMA to shmem buffers

2018-08-29 Thread kbuild test robot
Hi Noralf, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.19-rc1 next-20180829] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH] drm/i915/icl: GEN11 supports 6 sprite planes

2018-08-29 Thread Jani Nikula
On Wed, 29 Aug 2018, vsrini4 wrote: > GEN11 supports 6 sprite planes. Making the change > in intel_device_info.c accordingly > > Signed-off-by: vsrini4 Please fix your git name. It's supposed to be your real name, not username. Thanks, Jani. > --- > drivers/gpu/drm/i915/intel_device_info.c |

[PATCH 4/5] drm: expand replace_fence to support timeline point v2

2018-08-29 Thread Chunming Zhou
we can place a fence to a timeline point after expanded. v2: change func parameter order Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 14 --

[PATCH 5/5] [RFC]drm: add syncobj timeline support v3

2018-08-29 Thread Chunming Zhou
VK_KHR_timeline_semaphore: This extension introduces a new type of semaphore that has an integer payload identifying a point in a timeline. Such timeline semaphores support the following operations: * CPU query - A host operation that allows querying the payload of the timeline semaphore.

[PATCH 2/5] drm: rename null fence to stub fence in syncobj

2018-08-29 Thread Chunming Zhou
stub fence will be used by timeline syncobj as well. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand Reviewed-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/drm_syncobj.c

[PATCH 1/5] drm: fix syncobj null_fence_enable_signaling

2018-08-29 Thread Chunming Zhou
That is certainly totally nonsense. dma_fence_enable_sw_signaling() is the function who is calling this callback. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand Reviewed-by: Christian König Acked-by: Daniel Vetter --- drivers/gpu/drm/drm_syncobj.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 3/5] drm: expand drm_syncobj_find_fence to support timeline point v2

2018-08-29 Thread Chunming Zhou
we can fetch timeline point fence after expanded. v2: The parameter fence is the result of the function and should come last. Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 5 +++--

Re: [PATCH libdrm v2 4/5] intel: make gen9 use generic gen macro

2018-08-29 Thread Chris Wilson
Quoting Lucas De Marchi (2018-08-29 01:35:31) > The 2 PCI IDs that are used for the command line overrid mechanism > were left defined. What makes them so special? Why not just match on the override devid? -Chris ___ dri-devel mailing list

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Andrzej Hajda
On 29.08.2018 12:01, Liviu Dudau wrote: > On Wed, Aug 29, 2018 at 11:58:20AM +0200, Andrzej Hajda wrote: >> On 28.08.2018 15:45, Linus Walleij wrote: >>> On Mon, Aug 27, 2018 at 1:53 PM Andrzej Hajda wrote: >>> On 24.08.2018 14:23, Linus Walleij wrote: > This adds bindings for a virtual

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Liviu Dudau
On Wed, Aug 29, 2018 at 11:58:20AM +0200, Andrzej Hajda wrote: > On 28.08.2018 15:45, Linus Walleij wrote: > > On Mon, Aug 27, 2018 at 1:53 PM Andrzej Hajda wrote: > > > >> On 24.08.2018 14:23, Linus Walleij wrote: > >>> This adds bindings for a virtual display to be used with displays > >>>

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Andrzej Hajda
On 28.08.2018 15:45, Linus Walleij wrote: > On Mon, Aug 27, 2018 at 1:53 PM Andrzej Hajda wrote: > >> On 24.08.2018 14:23, Linus Walleij wrote: >>> This adds bindings for a virtual display to be used with displays >>> inside entirely virtual environments which do not emulate things >>> like

[Bug 105251] [Vega10] GPU lockup on boot: VMC page fault

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105251 --- Comment #39 from CheatCodesOfLife --- Created attachment 141342 --> https://bugs.freedesktop.org/attachment.cgi?id=141342=edit logs after building the patched mesa Hi, Thanks for the logging patch. I have applied patched that into the

[Bug 107518] polaris powerplay init fails: There must be 1 or more PCIE levels defined in PPTable

2018-08-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107518 --- Comment #11 from Luigi Laurini --- Same bug present in amd64 architecture under kvm guest with RX 480 passed through. The first time i boot the guest the performance are ok, but if i reboot the guest without rebooting the host, the messages

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Liviu Dudau
On Wed, Aug 29, 2018 at 10:16:34AM +0200, Andrzej Hajda wrote: > On 28.08.2018 16:35, Liviu Dudau wrote: > > Hi Andrzej, > > > > Chirping in, as it was originally my work that Linus is adopting. > > > > On Mon, Aug 27, 2018 at 01:53:00PM +0200, Andrzej Hajda wrote: > >> On 24.08.2018 14:23, Linus

[Bug 200621] Freezing with amdgpu driver

2018-08-29 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200621 --- Comment #8 from Michel Dänzer (mic...@daenzer.net) --- Comment 4 looks similar to the following reports, both of which have comments saying current kernels work better: https://bugs.freedesktop.org/105684 https://bugs.freedesktop.org/106225

Re: [PATCH 1/2] drm/bridge: Add virtual display DT bindings

2018-08-29 Thread Andrzej Hajda
On 28.08.2018 16:35, Liviu Dudau wrote: > Hi Andrzej, > > Chirping in, as it was originally my work that Linus is adopting. > > On Mon, Aug 27, 2018 at 01:53:00PM +0200, Andrzej Hajda wrote: >> On 24.08.2018 14:23, Linus Walleij wrote: >>> This adds bindings for a virtual display to be used with

Re: [PATCH v2] drm/vkms: Use new return type vm_fault_t

2018-08-29 Thread Souptick Joarder
On Tue, Jul 31, 2018 at 12:05 AM Gustavo Padovan wrote: > > Hi Souptick, > > On Thu, Jul 26, 2018 at 08:15:49PM +0530, Souptick Joarder wrote: > > Use new return type vm_fault_t for fault handler. > > > > Signed-off-by: Souptick Joarder > > --- > > v2: Updated patch title > > > >

Re: [PATCH V5 5/8] backlight: qcom-wled: Restructure the driver for WLED3

2018-08-29 Thread kgunda
On 2018-08-27 15:39, Pavel Machek wrote: On Fri 2018-08-24 15:57:44, Kiran Gunda wrote: Restructure the driver to add the support for new WLED peripherals. Signed-off-by: Kiran Gunda Acked-by: Daniel Thompson --- Changes from V3: - This is the new patch after splitting the

[PATCH v3 1/5] drm/rockchip: prepare common code for cdns and rk dpi/dp driver

2018-08-29 Thread Damian Kos
- Extracted common fields from cdn_dp_device to a new cdns_mhdp_device structure which will be used by two separate drivers later on. - Moved some datatypes (audio_format, audio_info, vic_pxl_encoding_format, video_info) from cdn-dp-core.c to cdn-dp-reg.h. - Changed prefixes from cdn_dp to

[PATCH v3 3/5] drm/dp: make dp_link_status and dp_get_lane_status usable from outside of the core

2018-08-29 Thread Damian Kos
From: Quentin Schulz dp_link_status and dp_get_lane_status are pretty generic and can be used for other means, so let's make it "public". This adds drm_dp_link_status and drm_dp_get_lane_status to the header file and add the appropriate EXPORT_SYMBOL for it so that it can be used by other

Re: [PATCH v5 1/2] devicetree/bindings: display: Add document for rockchip RGB output

2018-08-29 Thread Michal Vokáč
On 28.8.2018 10:12, Sandy Huang wrote: This path add support rv1108 and px30 rgb output interface driver. Hi Sandy, Seems like you forgot to address Rob's comment regarding the "driver" word. Also fix the typo: s/path/patch The subject could be improved as well:

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

2018-08-29 Thread Vivek Gautam
Hi Jordan, On Mon, Aug 27, 2018 at 8:42 PM Jordan Crouse wrote: > > Add the nodes to describe the Adreno GPU and GMU devices. > > Signed-off-by: Jordan Crouse > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 121 +++ > 1 file changed, 121 insertions(+) > > diff --git

  1   2   >