[PATCH] drm: i915: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/nothign/nothing/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c index

Re: [PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-18 Thread Huang Rui
On Thu, Mar 18, 2021 at 08:47:19PM +0800, Christian König wrote: > Instead of having a global lock. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 8 ++--- > drivers/gpu/drm/qxl/qxl_release.c | 5 +-- > drivers/gpu/drm/ttm/ttm_bo.c | 49

Re: [PATCH 2/3] drm/ttm: remove swap LRU v3

2021-03-18 Thread Huang Rui
On Thu, Mar 18, 2021 at 08:47:18PM +0800, Christian König wrote: > Instead evict round robin from each devices SYSTEM and TT domain. > > v2: reorder num_pages access reported by Dan's script > v3: fix rebase fallout, num_pages should be 32bit > > Signed-off-by: Christian König Reviewed-by:

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread Huang Rui
On Thu, Mar 18, 2021 at 08:47:17PM +0800, Christian K�nig wrote: > Move the iteration of the global lru into the new function > ttm_global_swapout() and use that instead in drivers. > > v2: consistently return int > > Signed-off-by: Christian K?nig Reviewed-by: Huang Rui > --- >

Re: [PATCH] scsi: csiostor: Assign boolean values to a bool variable

2021-03-18 Thread Martin K. Petersen
On Tue, 9 Mar 2021 17:37:48 +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./drivers/scsi/csiostor/csio_scsi.c:150:9-10: WARNING: return of 0/1 in > function 'csio_scsi_itnexus_loss_error' with return type bool. Applied to 5.13/scsi-queue, thanks! [1/1] scsi:

Re: [PATCH 00/30] [Set 1] Rid W=1 warnings in SCSI

2021-03-18 Thread Martin K. Petersen
On Wed, 3 Mar 2021 14:46:01 +, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > Lee Jones (30): > scsi: megaraid: megaraid_mm: Fix incorrect function name in

Re: [PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Alex Deucher
Applied both patches. Thanks! Alex On Thu, Mar 18, 2021 at 7:20 PM Bhaskar Chowdhury wrote: > > > s/proces/process/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] dma-buf: use wake_up_process() instead of wake_up_state()

2021-03-18 Thread Wang Qing
Using wake_up_process() is more simpler and friendly, and it is more convenient for analysis and statistics Signed-off-by: Wang Qing --- drivers/dma-buf/dma-fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c

Re: [PATCH] drm/radeon/ttm: Fix memory leak userptr pages

2021-03-18 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Mar 18, 2021 at 5:00 AM Koenig, Christian wrote: > > Reviewed-by: Christian König > > Von: Daniel Gomez > Gesendet: Donnerstag, 18. März 2021 09:32 > Cc: dag...@gmail.com ; Daniel Gomez ; > Deucher, Alexander ; Koenig, Christian

Re: [PATCH] drm/amdgpu/ttm: Fix memory leak userptr pages

2021-03-18 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Mar 17, 2021 at 12:09 PM Daniel Gomez wrote: > > If userptr pages have been pinned but not bounded, > they remain uncleared. > > Signed-off-by: Daniel Gomez > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3

Re: [PATCH v4 2/2] drm/bridge: anx7625: disable regulators when power off

2021-03-18 Thread Xin Ji
On Thu, Mar 18, 2021 at 12:26:25PM +0800, Hsin-Yi Wang wrote: > On Wed, Feb 24, 2021 at 2:14 PM Hsin-Yi Wang wrote: > > > > When suspending the driver, anx7625_power_standby() will be called to > > turn off reset-gpios and enable-gpios. However, power supplies are not > > disabled. To save power,

[PATCH v5 5/5] drm/bridge: anx7625: add HDMI audio function

2021-03-18 Thread Xin Ji
Add audio HDMI codec function support, enable it through device true flag "analogix,audio-enable". Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 227 ++ drivers/gpu/drm/bridge/analogix/anx7625.h | 5 + 2 files changed, 232 insertions(+)

[PATCH v5 4/5] drm/bridge: anx7625: add HDCP support

2021-03-18 Thread Xin Ji
Add HDCP feature, enable HDCP function through chip internal key and downstream's capability. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 147 ++ drivers/gpu/drm/bridge/analogix/anx7625.h | 36 2 files changed, 183 insertions(+)

[PATCH v5 3/5] drm/bridge: anx7625: add MIPI DPI input feature support

2021-03-18 Thread Xin Ji
Add MIPI rx DPI input support. Reported-by: kernel test robot Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 243 ++ drivers/gpu/drm/bridge/analogix/anx7625.h | 18 ++- 2 files changed, 201 insertions(+), 60 deletions(-) diff --git

[PATCH v5 2/5] drm/bridge: anx7625: fix not correct return value

2021-03-18 Thread Xin Ji
At some time, the original code may return non zero value, force return 0 if operation finished. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c

[PATCH v5 1/5] dt-bindings:drm/bridge:anx7625:add vendor define flags

2021-03-18 Thread Xin Ji
Add 'bus-type' and 'data-lanes' define for port0. Define DP tx lane0, lane1 swing register array define, and audio enable flag. Signed-off-by: Xin Ji --- .../bindings/display/bridge/analogix,anx7625.yaml | 58 +- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git

[PATCH v5 0/5] Add MIPI rx DPI support

2021-03-18 Thread Xin Ji
Hi all, this patch series implement MIPI rx DPI feature. Please help to review. This is the v5 version, any mistakes, please let me know, I'll fix it in the next series. Change history: v5: Fix Rob Herring, Hsin-Yi, Robert Foss comments - Rebase code on the branch 'drm-misc-next', refer

[PATCH] drm: xlnx: Update dependencies for ZynqMP DP

2021-03-18 Thread Laurent Pinchart
From: Dylan Yip ZynqMP DP requires the ZynqMP PHY and DPDMA to operate properly. So depend on both the PHY and DPDMA. Signed-off-by: Dylan Yip Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/xlnx/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/xlnx/Kconfig

Re: [PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-18 Thread Dario Binacchi
> Il 17/03/2021 09:19 Tomi Valkeinen ha scritto: > > > On 14/03/2021 17:13, Dario Binacchi wrote: > > As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency > > is obtained by dividing LCD_CLK, the LCD controller reference clock, > > for CLKDIV: > > > > LCD_PCLK = LCD_CLK /

Re: [PATCH 1/3] dma-buf: add dma_fence_array_for_each (v2)

2021-03-18 Thread Jason Ekstrand
On March 18, 2021 08:13:41 Daniel Vetter wrote: On Thu, Mar 18, 2021 at 10:38:11AM +0100, Christian König wrote: Am 17.03.21 um 23:19 schrieb Jason Ekstrand: From: Christian König Add a helper to iterate over all fences in a dma_fence_array object. v2 (Jason Ekstrand) - Return NULL from

Re: [git pull] drm fixes for 5.12-rc4

2021-03-18 Thread pr-tracker-bot
The pull request you sent on Fri, 19 Mar 2021 10:53:29 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-03-19 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8b12a62a4e3ed4ae99c715034f557eb391d6b196 Thank you! -- Deet-doot-dot, I am a bot.

[git pull] drm fixes for 5.12-rc4

2021-03-18 Thread Dave Airlie
Hi Linus, Regular fixes pull, pretty small set of fixes, a couple of i915 and amdgpu, one ttm, one nouveau and one omap. Probably smaller than usual for this time, so we'll see if something pops up next week or if this will continue to stay small. Dave. drm-fixes-2021-03-19: drm fixes for

Re: [PATCH v4 1/2] dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

2021-03-18 Thread Laurent Pinchart
Hi Parshuram, Thank you for the patch. On Thu, Mar 18, 2021 at 07:45:30AM +0100, Parshuram Thombare wrote: > Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding. > > Signed-off-by: Parshuram Thombare > --- > .../display/bridge/cdns,mhdp8546.yaml | 24 +++

[PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/proces/process/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index bf3857867f51..c1d5a3085bae 100644 ---

Re: [PATCH] drm/dp_mst: Enhance DP MST topology logging

2021-03-18 Thread Lyude Paul
(going to try to take a look at this tomorrow JFYI) On Thu, 2021-03-18 at 11:55 -0400, Eryk Brol wrote: > [why] > MST topology print was missing fec logging and pdt printed > as an int wasn't clear. vcpi and payload info were also logged as an > arbitrary series of ints which require the user to

[PATCH v2] drm/nouveau/kms/nv50-: Correct size checks for cursors

2021-03-18 Thread Lyude Paul
Found this while trying to make some changes to the kms_cursor_crc test. curs507a_acquire checks that the width and height of the cursor framebuffer are equal (asyw->image.{w,h}). This isn't entirely correct though, as the height of the cursor can be larger than the size of the cursor, as long as

Re: [PATCH] drm/atomic: Add the crtc to affected crtc only if uapi.enable = true

2021-03-18 Thread Navare, Manasi
So basically we see this warning only in case of bigjoiner when drm_atomic_check gets called without setting the state->allow_modeset flag. So do you think that in i915, in intel_atomic_check_bigjoiner() we should only steal the crtc when allow_modeset flag is set in state? If we add this check

Re: [Nouveau] [PATCH] drm/nouveau/kms/nv50-: Check plane size for cursors, not fb size

2021-03-18 Thread Lyude Paul
On Thu, 2021-03-18 at 18:13 -0400, Ilia Mirkin wrote: > On Thu, Mar 18, 2021 at 5:56 PM Lyude Paul wrote: > > > > Found this while trying to make some changes to the kms_cursor_crc test. > > curs507a_acquire checks that the width and height of the cursor framebuffer > > are equal

Re: [Nouveau] [PATCH] drm/nouveau/kms/nv50-: Check plane size for cursors, not fb size

2021-03-18 Thread Ilia Mirkin
On Thu, Mar 18, 2021 at 5:56 PM Lyude Paul wrote: > > Found this while trying to make some changes to the kms_cursor_crc test. > curs507a_acquire checks that the width and height of the cursor framebuffer > are equal (asyw->image.{w,h}). This is actually wrong though, as we only > want to be

[PATCH] drm/nouveau/kms/nv50-: Check plane size for cursors, not fb size

2021-03-18 Thread Lyude Paul
Found this while trying to make some changes to the kms_cursor_crc test. curs507a_acquire checks that the width and height of the cursor framebuffer are equal (asyw->image.{w,h}). This is actually wrong though, as we only want to be concerned that the actual width/height of the plane are the same.

[PATCH V2] drm/amdgpu: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/traing/training/ ...Plus the entire sentence construction for better readability. Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Alex and Randy's suggestions incorporated. drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
On 14:12 Thu 18 Mar 2021, Alex Deucher wrote: On Thu, Mar 18, 2021 at 2:08 PM Randy Dunlap wrote: On 3/18/21 4:33 AM, Bhaskar Chowdhury wrote: > > s/traing/training/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- > 1 file changed, 1 insertion(+),

[PATCH v2] gpu/drm/msm: fix shutdown hook in case GPU components failed to bind

2021-03-18 Thread Dmitry Baryshkov
if GPU components have failed to bind, shutdown callback would fail with the following backtrace. Add safeguard check to stop that oops from happening and allow the board to reboot. [ 66.617046] Unable to handle kernel NULL pointer dereference at virtual address [ 66.626066]

[PATCH] gpu/drm/msm: fix shutdown hook in case GPU components failed to bind

2021-03-18 Thread Dmitry Baryshkov
if GPU components have failed to bind, shutdown callback would fail with the following backtrace. Add safeguard check to stop that oops from happening and allow the board to reboot. [ 66.617046] Unable to handle kernel NULL pointer dereference at virtual address [ 66.626066]

Re: [PATCH] gpu/drm/msm: fix shutdown hook in case GPU components failed to bind

2021-03-18 Thread Dmitry Baryshkov
On 17/03/2021 19:25, Rob Clark wrote: On Mon, Mar 1, 2021 at 1:41 PM Dmitry Baryshkov wrote: if GPU components have failed to bind, shutdown callback would fail with the following backtrace. Add safeguard check to stop that oops from happening and allow the board to reboot. [skipped] diff

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread Nirmoy
On 3/18/21 4:26 PM, Christian König wrote: Am 18.03.21 um 15:43 schrieb Nirmoy: Hi Christian, On 3/18/21 1:47 PM, Christian König wrote:   /**    * ttm_bo_uses_embedded_gem_object - check if the given bo uses the diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h

Re: [RFC PATCH 8/9] drm/gem: Associate GEM objects with drm cgroup

2021-03-18 Thread Brian Welty
On 3/18/2021 3:16 AM, Daniel Vetter wrote: > On Sat, Mar 6, 2021 at 1:44 AM Brian Welty wrote: >> >> >> On 2/11/2021 7:34 AM, Daniel Vetter wrote: >>> On Wed, Feb 10, 2021 at 02:00:57PM -0800, Brian Welty wrote: On 2/9/2021 2:54 AM, Daniel Vetter wrote: > On Tue, Jan 26, 2021 at

Re: Re: [PATCH 02/18] drm/bridge: Add HDMI output fmt helper

2021-03-18 Thread Jernej Škrabec
Dne sreda, 17. marec 2021 ob 17:08:07 CET je Neil Armstrong napisal(a): > On 17/03/2021 16:43, Maxime Ripard wrote: > > The atomic_get_output_bus_fmts bridge callback is there to list the > > available formats for output by decreasing order of preference. > > > > On HDMI controllers, we have a

Re: [PATCH] drm/msm/dp: Fixed couple of typos

2021-03-18 Thread Randy Dunlap
On 3/17/21 11:26 PM, Bhaskar Chowdhury wrote: > s/modueles/modules/ two different places > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/msm/dp/dp_power.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH] drm/meson: Fix few typo

2021-03-18 Thread Randy Dunlap
On 3/18/21 4:00 AM, Bhaskar Chowdhury wrote: > > s/initialy/initially/ > s/desined/designed/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/meson/meson_venc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 00/18] drm/vc4: hdmi: Add Support for the YUV output

2021-03-18 Thread Jernej Škrabec
Hi! Dne sreda, 17. marec 2021 ob 16:43:34 CET je Maxime Ripard napisal(a): > Hi, > > Here's an attempt at support the HDMI YUV output on the BCM2711 SoC found on > the RaspberryPi4. > > I took the same approach than what dw-hdmi did already, turning a bunch of > functions found in that driver

Re: [PATCH] drm/i915/gt: A typo fix

2021-03-18 Thread Randy Dunlap
On 3/18/21 3:19 AM, Bhaskar Chowdhury wrote: > > s/bariers/barriers/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/i915/gt/intel_timeline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread kernel test robot
Hi "Christian, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [also build test ERROR on next-20210318] [cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next linus/master v5.12-rc3] [If your patch is applied to the wrong git tree, k

Re: [PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Alex Deucher
On Thu, Mar 18, 2021 at 2:08 PM Randy Dunlap wrote: > > On 3/18/21 4:33 AM, Bhaskar Chowdhury wrote: > > > > s/traing/training/ > > > > Signed-off-by: Bhaskar Chowdhury > > --- > > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff

Re: [PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Randy Dunlap
On 3/18/21 4:33 AM, Bhaskar Chowdhury wrote: > > s/traing/training/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c >

Re: [PATCH] drm: Few typo fixes

2021-03-18 Thread Randy Dunlap
On 3/18/21 7:25 AM, Joe Perches wrote: > On Thu, 2021-03-18 at 16:07 +0530, Bhaskar Chowdhury wrote: >> s/instatiated/instantiated/ >> s/unreference/unreferenced/ > > []> diff --git a/drivers/gpu/drm/drm_property.c > b/drivers/gpu/drm/drm_property.c > [] >> @@ -644,7 +644,7 @@

Re: [PATCH] drm/i915/dpcd_bl: Don't try vesa interface unless specified by VBT

2021-03-18 Thread Lyude Paul
Actually-NAK this. I just realized I've been misreading the bug and that this doesn't actually seem to be fixed. Will resend once I figure out what's going on On Thu, 2021-03-18 at 13:02 -0400, Lyude Paul wrote: > Looks like that there actually are another subset of laptops on the market > that

[PATCH 6/6] drm/i915: Allow configuring default request expiry via modparam

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Module parameter is added (request_timeout_ms) to allow configuring the default request/fence expiry. Default value is inherited from CONFIG_DRM_I915_REQUEST_TIMEOUT. Signed-off-by: Tvrtko Ursulin Cc: Daniel Vetter Acked-by: Daniel Vetter ---

[PATCH 5/6] drm/i915: Fail too long user submissions by default

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin A new Kconfig option CONFIG_DRM_I915_REQUEST_TIMEOUT is added, defaulting to 20s, and this timeout is applied to all users contexts using the previously added watchdog facility. Result of this is that any user submission will simply fail after this timeout, either causing a

[PATCH 4/6] drm/i915: Request watchdog infrastructure

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Prepares the plumbing for setting request/fence expiration time. All code is put in place but is never activeted due yet missing ability to actually configure the timer. Outline of the basic operation: A timer is started when request is ready for execution. If the request

[PATCH 3/6] drm/i915: Handle async cancellation in sentinel assert

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With the watchdog cancelling requests asynchronously to preempt-to-busy we need to relax one assert making it apply only to requests not in error. v2: * Check against the correct request! Signed-off-by: Tvrtko Ursulin ---

[PATCH 2/6] drm/i915: Restrict sentinel requests further

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Disallow sentinel requests follow previous sentinels to make request cancellation work better when faced with a chain of requests which have all been marked as in error. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 +- 1 file

[PATCH 1/6] drm/i915: Individual request cancellation

2021-03-18 Thread Tvrtko Ursulin
From: Chris Wilson Currently, we cancel outstanding requests within a context when the context is closed. We may also want to cancel individual requests using the same graceful preemption mechanism. v2 (Tvrtko): * Cancel waiters carefully considering no timeline lock and RCU. * Fixed

[PATCH v3 0/6] Default request/fence expiry + watchdog

2021-03-18 Thread Tvrtko Ursulin
From: Tvrtko Ursulin "Watchdog" aka "restoring hangcheck" aka default request/fence expiry - second post of a somewhat controversial feature, now upgraded to patch status. I quote the "watchdog" becuase in classical sense watchdog would allow userspace to ping it and so remain alive. I quote

[PATCH] drm/i915/dpcd_bl: Don't try vesa interface unless specified by VBT

2021-03-18 Thread Lyude Paul
Looks like that there actually are another subset of laptops on the market that don't support the Intel HDR backlight interface, but do advertise support for the VESA DPCD backlight interface despite the fact it doesn't seem to work. Note though I'm not entirely clear on this - on one of the

[Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212333 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

[Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212333 --- Comment #2 from Timo Valtoaho (timo.valto...@gmail.com) --- Created attachment 295927 --> https://bugzilla.kernel.org/attachment.cgi?id=295927=edit lspci -- You may reply to this email to add a comment. You are receiving this mail

[Bug 212333] Bisected: 5.11.7 breaks amdgpu resume from S3

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212333 --- Comment #1 from Timo Valtoaho (timo.valto...@gmail.com) --- Created attachment 295923 --> https://bugzilla.kernel.org/attachment.cgi?id=295923=edit git bisect log -- You may reply to this email to add a comment. You are receiving this

[Bug 212333] New: Bisected: 5.11.7 breaks amdgpu resume from S3

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212333 Bug ID: 212333 Summary: Bisected: 5.11.7 breaks amdgpu resume from S3 Product: Drivers Version: 2.5 Kernel Version: 5.11.7 Hardware: x86-64 OS: Linux Tree:

Re: [PATCH v3] drm/scheduler re-insert Bailing job to avoid memleak

2021-03-18 Thread Andrey Grodzovsky
On 2021-03-18 6:41 a.m., Zhang, Jack (Jian) wrote: [AMD Official Use Only - Internal Distribution Only] Hi, Andrey Let me summarize the background of this patch: In TDR resubmit step “amdgpu_device_recheck_guilty_jobs, It will submit first jobs of each ring and do guilty job re-check. At

[PATCH 1/3] drm/vc4: plane: Fix typo in scaler width and height

2021-03-18 Thread Maxime Ripard
The vc4_plane_mode_set function still accesses the scaler target width and height using the older register layout while it was updated with the BCM2711, and the proper defines got introduced when we started to support it. Fixes: c54619b0bfb3 ("drm/vc4: Add support for the BCM2711 HVS5")

[PATCH 3/3] drm/vc4: crtc: Reduce PV fifo threshold on hvs4

2021-03-18 Thread Maxime Ripard
From: Dom Cobley Experimentally have found PV on hvs4 reports fifo full error with expected settings and does not with one less This appears as: [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:82:crtc-3] flip_done timed out with bit 10 of PV_STAT set "HVS driving pixels when the PV

[PATCH 2/3] drm/vc4: plane: Remove redundant assignment

2021-03-18 Thread Maxime Ripard
The vc4_plane_atomic_async_update function assigns twice in a row the src_h field in the drm_plane_state structure to the same value. Remove the second one. Reviewed-by: Dave Stevenson Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_plane.c | 1 - 1 file changed, 1 deletion(-) diff

[PATCH] drm/dp_mst: Enhance DP MST topology logging

2021-03-18 Thread Eryk Brol
[why] MST topology print was missing fec logging and pdt printed as an int wasn't clear. vcpi and payload info were also logged as an arbitrary series of ints which require the user to know the ordering of the prints, making the logs difficult to use. [how] -add fec logging -add pdt parsing into

Re: [PULL] drm-misc-fixes

2021-03-18 Thread Maarten Lankhorst
Op 18-03-2021 om 13:31 schreef Daniel Vetter: > On Thu, Mar 18, 2021 at 12:33 PM Maarten Lankhorst > wrote: >> drm-misc-fixes-2021-03-18: >> drm-misc-fixes for v5.12-rc4: >> - Make ttm_bo_unpin() not wraparound on too many unpins. >> - Fix coccicheck warning in omap. > Still missing the 2 patches

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread Christian König
Am 18.03.21 um 15:43 schrieb Nirmoy: Hi Christian, On 3/18/21 1:47 PM, Christian König wrote:   /**    * ttm_bo_uses_embedded_gem_object - check if the given bo uses the diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h index 035bbc044a3b..6a0b267d4fe6 100644 ---

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread kernel test robot
Hi "Christian, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [also build test ERROR on next-20210318] [cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master drm/drm-next v5.12-rc3] [If your

[Bug 212281] AMDGPU warning stack trace in dmesg (dcn20_validate_bandwidth_fp)

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212281 --- Comment #3 from Tomas Sandven (tomas@sandven.email) --- (In reply to Alex Deucher from comment #1) > Please attach your full dmesg output and xorg log (if using X). I added full dmesg output. I have rebooted since the first error, so the two

[Bug 212281] AMDGPU warning stack trace in dmesg (dcn20_validate_bandwidth_fp)

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212281 --- Comment #2 from Tomas Sandven (tomas@sandven.email) --- Created attachment 295919 --> https://bugzilla.kernel.org/attachment.cgi?id=295919=edit Full dmesg output -- You may reply to this email to add a comment. You are receiving this

Re: [PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread Nirmoy
Hi Christian, On 3/18/21 1:47 PM, Christian König wrote: /** * ttm_bo_uses_embedded_gem_object - check if the given bo uses the diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h index 035bbc044a3b..6a0b267d4fe6 100644 --- a/include/drm/ttm/ttm_device.h +++

[Bug 212137] kernel NULL pointer dereference, black screen when using two graphics cards

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212137 Dennis Foster (m...@dennisfoster.us) changed: What|Removed |Added Status|NEW |RESOLVED

Re: [PATCH] drm: Few typo fixes

2021-03-18 Thread Joe Perches
On Thu, 2021-03-18 at 16:07 +0530, Bhaskar Chowdhury wrote: > s/instatiated/instantiated/ > s/unreference/unreferenced/ []> diff --git a/drivers/gpu/drm/drm_property.c b/drivers/gpu/drm/drm_property.c [] > @@ -644,7 +644,7 @@ EXPORT_SYMBOL(drm_property_blob_get); >   * @id: id of the blob

[Bug 212327] i915 / Kernel Mode Setting - Distorts Screen

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212327 --- Comment #1 from RK (ros...@rkarim.xyz) --- Created attachment 295915 --> https://bugzilla.kernel.org/attachment.cgi?id=295915=edit image of screen issue -- You may reply to this email to add a comment. You are receiving this mail

[Bug 212327] New: i915 / Kernel Mode Setting - Distorts Screen

2021-03-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212327 Bug ID: 212327 Summary: i915 / Kernel Mode Setting - Distorts Screen Product: Drivers Version: 2.5 Kernel Version: 5.12.0-rc3 Hardware: Intel OS: Linux Tree:

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Disable pread/pwrite ioctl's for future platforms (v3)

2021-03-18 Thread Daniel Vetter
On Wed, Mar 17, 2021 at 06:40:12PM -0500, Jason Ekstrand wrote: > From: Ashutosh Dixit > > The rationale for this change is roughly as follows: > > 1. The functionality can be done entirely in userspace with a > combination of mmap + memcpy > > 2. The only reason anyone in userspace is

Re: [PATCH] drm: Few typo fixes

2021-03-18 Thread Daniel Vetter
On Thu, Mar 18, 2021 at 04:07:39PM +0530, Bhaskar Chowdhury wrote: > > s/instatiated/instantiated/ > s/unreference/unreferenced/ > > Signed-off-by: Bhaskar Chowdhury Queued for 5.13 in drm-misc-next, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_property.c | 4 ++-- > 1 file

Re: [RESEND 00/53] Rid GPU from W=1 warnings

2021-03-18 Thread Daniel Vetter
On Wed, Mar 17, 2021 at 9:32 PM Daniel Vetter wrote: > > On Wed, Mar 17, 2021 at 9:17 AM Lee Jones wrote: > > > > On Thu, 11 Mar 2021, Lee Jones wrote: > > > > > On Thu, 11 Mar 2021, Daniel Vetter wrote: > > > > > > > On Mon, Mar 08, 2021 at 09:19:32AM +, Lee Jones wrote: > > > > > On Fri,

Re: [PATCH 1/3] dma-buf: add dma_fence_array_for_each (v2)

2021-03-18 Thread Daniel Vetter
On Thu, Mar 18, 2021 at 10:38:11AM +0100, Christian König wrote: > Am 17.03.21 um 23:19 schrieb Jason Ekstrand: > > From: Christian König > > > > Add a helper to iterate over all fences in a dma_fence_array object. > > > > v2 (Jason Ekstrand) > > - Return NULL from dma_fence_array_first if

[PATCH 2/3] drm/ttm: remove swap LRU v3

2021-03-18 Thread Christian König
Instead evict round robin from each devices SYSTEM and TT domain. v2: reorder num_pages access reported by Dan's script v3: fix rebase fallout, num_pages should be 32bit Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c| 29 --

[PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-18 Thread Christian König
Instead of having a global lock. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 8 ++--- drivers/gpu/drm/qxl/qxl_release.c | 5 +-- drivers/gpu/drm/ttm/ttm_bo.c | 49 -- drivers/gpu/drm/ttm/ttm_device.c | 12 +++

[PATCH 1/3] drm/ttm: move swapout logic around v2

2021-03-18 Thread Christian König
Move the iteration of the global lru into the new function ttm_global_swapout() and use that instead in drivers. v2: consistently return int Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c| 57 - drivers/gpu/drm/ttm/ttm_device.c| 29

[PATCH V5 1/2] backlight: qcom-wled: Fix FSC update issue for WLED5

2021-03-18 Thread Kiran Gunda
Currently, for WLED5, the FSC (Full scale current) setting is not updated properly due to driver toggling the wrong register after an FSC update. On WLED5 we should only toggle the MOD_SYNC bit after a brightness update. For an FSC update we need to toggle the SYNC bits instead. Fix it by

[PATCH V5 0/2] Fix WLED FSC Sync and brightness Sync settings

2021-03-18 Thread Kiran Gunda
This patch series has the following two WLED fixes 1. As per the current implementation, for WLED5, after the FSC (Full Scale Current) update the driver is incorrectly toggling the MOD_SYNC register instead of toggling the SYNC register. The patch 1/2 fixes this by toggling the SYNC

[PATCH V5 2/2] backlight: qcom-wled: Correct the sync_toggle sequence

2021-03-18 Thread Kiran Gunda
As per the current implementation, after FSC (Full Scale Current) and brightness update the sync bits are set-then-cleared. But, the FSC and brightness sync takes place when the sync bits are set (e.g. on a rising edge). So the hardware team recommends a clear-then-set approach in order to

Re: [PULL] drm-misc-fixes

2021-03-18 Thread Daniel Vetter
On Thu, Mar 18, 2021 at 12:33 PM Maarten Lankhorst wrote: > > drm-misc-fixes-2021-03-18: > drm-misc-fixes for v5.12-rc4: > - Make ttm_bo_unpin() not wraparound on too many unpins. > - Fix coccicheck warning in omap. Still missing the 2 patches from drm-misc-next-fixes, and those being left out

[PULL] drm-intel-fixes

2021-03-18 Thread Jani Nikula
Hi Dave & Daniel - Covering for Rodrigo during his absence this week. drm-intel-fixes-2021-03-18: drm/i915 fixes for v5.12-rc4: - Workaround async flip + VT-d frame corruption on HSW/BDW - Fix NMI watchdog crash due to uninitialized OA buffer use on gen12+ BR, Jani. The following changes

[PATCH] drm/amdgpu: Fix a typo

2021-03-18 Thread Bhaskar Chowdhury
s/traing/training/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index c325d6f53a71..db18e4f6cf5f 100644 ---

[PULL] drm-misc-fixes

2021-03-18 Thread Maarten Lankhorst
drm-misc-fixes-2021-03-18: drm-misc-fixes for v5.12-rc4: - Make ttm_bo_unpin() not wraparound on too many unpins. - Fix coccicheck warning in omap. The following changes since commit de066e116306baf3a6a62691ac63cfc0b1dabddb: drm/compat: Clear bounce structures (2021-03-11 11:11:33 +0100) are

[PATCH] drm/meson: Fix few typo

2021-03-18 Thread Bhaskar Chowdhury
s/initialy/initially/ s/desined/designed/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/meson/meson_venc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index 5e2236ec189f..3c55ed003359

Re: [PATCH v2 08/10] drm/simpledrm: Acquire clocks from DT device node

2021-03-18 Thread Thomas Zimmermann
Hi Am 18.03.21 um 11:39 schrieb Geert Uytterhoeven: Hi Thomas, On Thu, Mar 18, 2021 at 11:29 AM Thomas Zimmermann wrote: Make sure required hardware clocks are enabled while the firmware framebuffer is in use. The basic code has been taken from the simplefb driver and adapted to DRM. Clocks

[PATCH] drm/msm/dpu: enable DPU_SSPP_QOS_8LVL for SM8250

2021-03-18 Thread Dmitry Baryshkov
SM8250 platform has a 8-Levels VIG QoS setting. This setting was missed due to bad interaction with b8dab65b5ac3 ("drm/msm/dpu: Move DPU_SSPP_QOS_8LVL bit to SDM845 and SC7180 masks"), which was applied in parallel. Fixes: d21fc5dfc3df ("drm/msm/dpu1: add support for qseed3lite used on sm8250")

RE: [PATCH v3] drm/scheduler re-insert Bailing job to avoid memleak

2021-03-18 Thread Zhang, Jack (Jian)
[AMD Official Use Only - Internal Distribution Only] Hi, Andrey Let me summarize the background of this patch: In TDR resubmit step “amdgpu_device_recheck_guilty_jobs, It will submit first jobs of each ring and do guilty job re-check. At that point, We had to make sure each job is in the mirror

[PATCH] drm: Few typo fixes

2021-03-18 Thread Bhaskar Chowdhury
s/instatiated/instantiated/ s/unreference/unreferenced/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/drm_property.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_property.c b/drivers/gpu/drm/drm_property.c index 6ee04803c362..27c824a6eb60

Re: [PATCH v2 08/10] drm/simpledrm: Acquire clocks from DT device node

2021-03-18 Thread Geert Uytterhoeven
Hi Thomas, On Thu, Mar 18, 2021 at 11:29 AM Thomas Zimmermann wrote: > Make sure required hardware clocks are enabled while the firmware > framebuffer is in use. > > The basic code has been taken from the simplefb driver and adapted > to DRM. Clocks are released automatically via devres helpers.

Re: [PATCH v16 1/2] drm/tegra: dc: Support memory bandwidth management

2021-03-18 Thread Dmitry Osipenko
18.03.2021 12:31, Michał Mirosław пишет: >> static const struct tegra_windowgroup_soc tegra194_dc_wgrps[] = { >> @@ -2430,6 +2781,7 @@ static const struct tegra_dc_soc_info >> tegra194_dc_soc_info = { >> .has_nvdisplay = true, >> .wgrps = tegra194_dc_wgrps, >> .num_wgrps =

[PATCH v2 09/10] drm/simpledrm: Acquire regulators from DT device node

2021-03-18 Thread Thomas Zimmermann
Make sure required hardware regulators are enabled while the firmware framebuffer is in use. The basic code has been taken from the simplefb driver and adapted to DRM. Regulators are released automatically via devres helpers. v2: * use strscpy() Signed-off-by: Thomas Zimmermann

[PATCH v2 07/10] drm/simpledrm: Initialize framebuffer data from device-tree node

2021-03-18 Thread Thomas Zimmermann
A firmware framebuffer might also be specified via device-tree files. If no device platform data is given, try the DT device node. v2: * add Device Tree match table * clean-up parser wrappers Signed-off-by: Thomas Zimmermann Tested-by: nerdopolis ---

[PATCH v2 10/10] drm/simpledrm: Acquire memory aperture for framebuffer

2021-03-18 Thread Thomas Zimmermann
We register the simplekms device with the DRM platform helpers. A native driver for the graphics hardware will kick-out the simpledrm driver before taking over the device. v2: * adapt to aperture changes * use drm_dev_unplug() and drm_dev_enter/exit() * don't split error

[PATCH v2 03/10] drm/aperture: Move fbdev conflict helpers into drm_aperture.h

2021-03-18 Thread Thomas Zimmermann
Fbdev's helpers for handling conflicting framebuffers are related to framebuffer apertures, not console emulation. Therefore move them into a drm_aperture.h, which will contain the interfaces for the new aperture helpers. Signed-off-by: Thomas Zimmermann Tested-by: nerdopolis ---

[PATCH v2 08/10] drm/simpledrm: Acquire clocks from DT device node

2021-03-18 Thread Thomas Zimmermann
Make sure required hardware clocks are enabled while the firmware framebuffer is in use. The basic code has been taken from the simplefb driver and adapted to DRM. Clocks are released automatically via devres helpers. Signed-off-by: Thomas Zimmermann Tested-by: nerdopolis ---

  1   2   >