Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-09-06 Thread Rob Clark
On Mon, Sep 6, 2021 at 1:02 AM Amit Pundir wrote: > > On Sat, 4 Sept 2021 at 01:55, Rob Clark wrote: > > > > On Fri, Sep 3, 2021 at 12:39 PM John Stultz wrote: > > > > > > On Thu, Jul 29, 2021 at 1:49 PM Rob Clark wrote: > > > > On Thu, Jul 29, 2021 at 1:28 PM Caleb Connolly > > > > wrote: >

Re: [Intel-gfx] [PATCH] drm/i915/selftests: fixup igt_shrink_thp

2021-09-06 Thread Tvrtko Ursulin
On 06/09/2021 13:30, Matthew Auld wrote: On 06/09/2021 13:19, Tvrtko Ursulin wrote: On 06/09/2021 10:17, Matthew Auld wrote: Since the object might still be active here, the shrink_all will simply ignore it, which blows up in the test, since the pages will still be there. Currently THP is

Re: [Intel-gfx] [PATCH] drm/i915/selftests: fixup igt_shrink_thp

2021-09-06 Thread Tvrtko Ursulin
On 06/09/2021 14:48, Matthew Auld wrote: On 06/09/2021 13:53, Tvrtko Ursulin wrote: On 06/09/2021 13:30, Matthew Auld wrote: On 06/09/2021 13:19, Tvrtko Ursulin wrote: On 06/09/2021 10:17, Matthew Auld wrote: Since the object might still be active here, the shrink_all will simply ignore

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-09-06 Thread Jingwen Chen
Hi Christian/Andrey/Daniel, I read Boris's patch about ordered workqueue and I think maybe we can leverage this change. https://lore.kernel.org/dri-devel/20210625133327.2598825-2-boris.brezil...@collabora.com/ As the TDR race condition we are talking about is caused by a bailing job being

RE: [RFC PATCH v3 1/6] drm/doc: Color Management and HDR10 RFC

2021-09-06 Thread Shankar, Uma
> -Original Message- > From: sebast...@sebastianwick.net > Sent: Monday, August 16, 2021 7:07 PM > To: Harry Wentland > Cc: Brian Starkey ; Sharma, Shashank > ; amd-...@lists.freedesktop.org; dri- > de...@lists.freedesktop.org; ppaala...@gmail.com; mca...@google.com; >

Re: [PATCH 1/2] drm/nouveau/ga102-: support ttm buffer moves via copy engine

2021-09-06 Thread Karol Herbst
On Tue, Sep 7, 2021 at 1:28 AM Ben Skeggs wrote: > > On Tue, 7 Sept 2021 at 09:17, Karol Herbst wrote: > > > > ." > > > > > > On Mon, Sep 6, 2021 at 2:56 AM Ben Skeggs wrote: > > > > > > From: Ben Skeggs > > > > > > We don't currently have any kind of real acceleration on Ampere GPUs, > > >

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-09-06 Thread Rob Clark
On Mon, Sep 6, 2021 at 12:58 PM Amit Pundir wrote: > > On Mon, 6 Sept 2021 at 21:54, Rob Clark wrote: > > > > On Mon, Sep 6, 2021 at 1:02 AM Amit Pundir wrote: > > > > > > On Sat, 4 Sept 2021 at 01:55, Rob Clark wrote: > > > > > > > > On Fri, Sep 3, 2021 at 12:39 PM John Stultz > > > >

[drm:i915-display-struct-refactor 22/25] drivers/gpu/drm/i915/gvt/handlers.c:510:34: error: no member named 'dpll' in 'struct drm_i915_private'

2021-09-06 Thread kernel test robot
tree: git://people.freedesktop.org/~airlied/linux.git i915-display-struct-refactor head: e183b125871ffdd77b6de15a963e6fc8a47173c9 commit: 5b99cab055595d1b12d7425e560b5a9fcd15c9a3 [22/25] drm/i915/display: move dpll struct into display config: x86_64-randconfig-a016-20210906 (attached

[PATCH v2] drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()

2021-09-06 Thread Cai Huoqing
Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose operators ".runtime_suspend/.runtime_resume", because the SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought in to make code a little more concise. Signed-off-by: Cai Huoqing --- v1->v2: *Remove "#ifdef CONFIG_PM"

[RFC v2 22/22] drm/i915/xelpd: Enable plane gamma

2021-09-06 Thread Uma Shankar
Enable plane gamma feature in check callbacks. Decide based on the user input. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/display/skl_universal_plane.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c

Re: [PATCH 1/2] drm/nouveau/ga102-: support ttm buffer moves via copy engine

2021-09-06 Thread Karol Herbst
." On Mon, Sep 6, 2021 at 2:56 AM Ben Skeggs wrote: > > From: Ben Skeggs > > We don't currently have any kind of real acceleration on Ampere GPUs, > but the TTM memcpy() fallback paths aren't really designed to handle > copies between different devices, such as on Optimus systems, and > result

Re: [PATCH v5 01/16] dt-bindings: mediatek: add vdosys1 RDMA definition for mt8195

2021-09-06 Thread Chun-Kuang Hu
Hi, Nancy: Nancy.Lin 於 2021年9月6日 週一 下午3:15寫道: > > Add vdosys1 RDMA definition. > > Signed-off-by: Nancy.Lin > --- > .../display/mediatek/mediatek,mdp-rdma.yaml | 77 +++ > 1 file changed, 77 insertions(+) > create mode 100644 >

RE: [PATCH v2 1/2] drm/ttm: Fix a deadlock if the target BO is not idle during swap

2021-09-06 Thread Pan, Xinhui
[AMD Official Use Only] It is the internal staging drm-next. -Original Message- From: Koenig, Christian Sent: 2021年9月6日 19:26 To: Pan, Xinhui ; amd-...@lists.freedesktop.org Cc: Deucher, Alexander ; che...@uniontech.com; dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 1/2]

[PATCH] drm/bridge: ti-sn65dsi83: Implement .detach callback

2021-09-06 Thread Marek Vasut
Move detach implementation from sn65dsi83_remove() to dedicated .detach callback. There is no functional change to the code, but that detach is now in the correct location. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Laurent Pinchart Cc: Linus Walleij Cc: Robert Foss Cc: Sam Ravnborg Cc:

[PATCH] drm: mxsfb: Fix NULL pointer dereference crash on unload

2021-09-06 Thread Marek Vasut
The mxsfb->crtc.funcs may already be NULL when unloading the driver, in which case calling mxsfb_irq_disable() via drm_irq_uninstall() from mxsfb_unload() leads to NULL pointer dereference. Since all we care about is masking the IRQ and mxsfb->base is still valid, just use that to clear and mask

[resend PATCH] drm/ttm: Fix a deadlock if the target BO is not idle during swap

2021-09-06 Thread xinhui pan
The ret value might be -EBUSY, caller will think lru lock is still locked but actually NOT. So return -ENOSPC instead. Otherwise we hit list corruption. ttm_bo_cleanup_refs might fail too if BO is not idle. If we return 0, caller(ttm_tt_populate -> ttm_global_swapout ->ttm_device_swapout) will be

Re: [PATCH] drm/msm: Disable frequency clamping on a630

2021-09-06 Thread Rob Clark
On Mon, Sep 6, 2021 at 1:50 PM Rob Clark wrote: > > On Mon, Sep 6, 2021 at 12:58 PM Amit Pundir wrote: > > > > On Mon, 6 Sept 2021 at 21:54, Rob Clark wrote: > > > > > > On Mon, Sep 6, 2021 at 1:02 AM Amit Pundir wrote: > > > > > > > > On Sat, 4 Sept 2021 at 01:55, Rob Clark wrote: > > > > >

Re: [PATCH 1/2] drm/nouveau/ga102-: support ttm buffer moves via copy engine

2021-09-06 Thread Ben Skeggs
On Tue, 7 Sept 2021 at 09:17, Karol Herbst wrote: > > ." > > > On Mon, Sep 6, 2021 at 2:56 AM Ben Skeggs wrote: > > > > From: Ben Skeggs > > > > We don't currently have any kind of real acceleration on Ampere GPUs, > > but the TTM memcpy() fallback paths aren't really designed to handle > >

Re: [PATCH 1/2] drm/nouveau/ga102-: support ttm buffer moves via copy engine

2021-09-06 Thread Ben Skeggs
On Tue, 7 Sept 2021 at 10:28, Karol Herbst wrote: > > On Tue, Sep 7, 2021 at 1:28 AM Ben Skeggs wrote: > > > > On Tue, 7 Sept 2021 at 09:17, Karol Herbst wrote: > > > > > > ." > > > > > > > > > On Mon, Sep 6, 2021 at 2:56 AM Ben Skeggs wrote: > > > > > > > > From: Ben Skeggs > > > > > > > >

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-09-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #53 from Anthony Rabbito (ted...@gmail.com) --- Thanks for chiming in James! Few things I've observed since adding 'pci=noats' the graphic artifacts seem to happen way less. I did observe one lockup which required me to hard shut down

[PATCH] drm/bridge: ti-sn65dsi83: Check link status register after enabling the bridge

2021-09-06 Thread Marek Vasut
In rare cases, the bridge may not start up correctly, which usually leads to no display output. In case this happens, warn about it in the kernel log. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Laurent Pinchart Cc: Linus Walleij Cc: Robert Foss Cc: Sam Ravnborg Cc:

Re: [PATCH 2/2] drm/nouveau/kms/tu102-: delay enabling cursor until after assign_windows

2021-09-06 Thread Karol Herbst
On Mon, Sep 6, 2021 at 2:56 AM Ben Skeggs wrote: > > From: Ben Skeggs > > Prevent NVD core channel error code 67 occuring and hanging display, > managed to reproduce on GA102 while testing suspend/resume scenarios. > > Required extension of earlier commit to fix interactions with EFI. >

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2021-09-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #52 from James Zhu (jam...@amd.com) --- Created attachment 298691 --> https://bugzilla.kernel.org/attachment.cgi?id=298691=edit Fix for S3 hung issue Hi Jerome and kolAflash, I think iommu device init is put at wrong place during

<    1   2