Re: [Letux-kernel] [PATCH 8/8] drm/ingenic: Attach bridge chain to encoders

2021-08-10 Thread Paul Cercueil
Hi Paul, Le mar., août 10 2021 at 01:17:20 +0200, Paul Boddie a écrit : On Monday, 9 August 2021 18:22:12 CEST Paul Cercueil wrote: Le lun., août 9 2021 at 13:14:03 +0200, H. Nikolaus Schaller a écrit : > > quick feedback: our HDMI on top compiles fine after fixing 2 merge > conflicts

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-10 Thread Kasireddy, Vivek
Hi Daniel, > On Fri, Aug 06, 2021 at 07:27:13AM +, Kasireddy, Vivek wrote: > > Hi Daniel, > > > > > > > > >>> The solution: > > > > > > >>> - To ensure full framerate, the Guest compositor has to start > > > > > > >>> it's repaint > cycle > > > > > (including > > > > > > >>> the 9 ms wait) wh

Re: [PATCH] dma-buf: heaps: Set allocation limit for system heap

2021-08-10 Thread Sumit Semwal
Hi Hridya, Apologies for the delay in responding. On Wed, 4 Aug 2021 at 03:09, Hridya Valsaraju wrote: > On Mon, Aug 2, 2021 at 7:18 PM John Stultz wrote: > > > > On Thu, Jul 22, 2021 at 12:07 PM Hridya Valsaraju > wrote: > > > This patch limits the size of total memory that can be requested

Re: [PATCH] dma-buf: heaps: Set allocation limit for system heap

2021-08-10 Thread Sumit Semwal
Hi Hridya, Apologies for the delay in responding; On Wed, 4 Aug 2021 at 03:09, Hridya Valsaraju wrote: > > On Mon, Aug 2, 2021 at 7:18 PM John Stultz wrote: > > > > On Thu, Jul 22, 2021 at 12:07 PM Hridya Valsaraju wrote: > > > This patch limits the size of total memory that can be requested

Re: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 08:21:09AM +, Kasireddy, Vivek wrote: > Hi Daniel, > > > On Fri, Aug 06, 2021 at 07:27:13AM +, Kasireddy, Vivek wrote: > > > Hi Daniel, > > > > > > > > > > >>> The solution: > > > > > > > >>> - To ensure full framerate, the Guest compositor has to start > > > > > >

Re: [PATCH v2 5/5] drm/mediatek: Add support for main DDP path on MT8167

2021-08-10 Thread Matthias Brugger
On 27/10/2020 17:08, Fabien Parent wrote: > Hi Chun-Kuang, > > On Fri, Oct 23, 2020 at 5:52 PM Chun-Kuang Hu wrote: >> >> Hi, Fabien: >> >> Fabien Parent 於 2020年10月23日 週五 下午9:31寫道: >>> >>> Add the main (DSI) drm display path for MT8167. >>> >>> Signed-off-by: Fabien Parent >>> --- >>> >>> Ch

Re: [Intel-gfx] [PATCH v2] fbdev/efifb: Release PCI device's runtime PM ref during FB destroy

2021-08-10 Thread Imre Deak
Hi Kai-Heng, Alex, could you add your ack if the fix looks ok and you're ok if I push it to the i915 tree? Thanks, Imre On Mon, Aug 09, 2021 at 04:31:46PM +0300, Imre Deak wrote: > Atm the EFI FB platform driver gets a runtime PM reference for the > associated GFX PCI device during probing the E

Re: [PATCH] dma-buf: heaps: Set allocation limit for system heap

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 01:54:41PM +0530, Sumit Semwal wrote: > Hi Hridya, > > Apologies for the delay in responding. > > On Wed, 4 Aug 2021 at 03:09, Hridya Valsaraju wrote: > > > On Mon, Aug 2, 2021 at 7:18 PM John Stultz wrote: > > > > > > On Thu, Jul 22, 2021 at 12:07 PM Hridya Valsaraju

[PATCH] drm/i915/gem/ttm: prefer kernel types

2021-08-10 Thread Jani Nikula
Avoid uintXX_t types in the driver. Fixes: 213d50927763 ("drm/i915/ttm: Introduce a TTM i915 gem object backend") Cc: Thomas Hellström Cc: Matthew Auld Cc: Maarten Lankhorst Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti

Re: [Intel-gfx] [PATCH 15/46] drm/i915/guc: Introduce context parent-child relationship

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 06:44:16PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 04:37:55PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:12PM -0700, Matthew Brost wrote: > > > Introduce context parent-child relationship. Once this relationship is > > > created all pinning /

Re: [PATCH v8, 0/2] soc: mediatek: mmsys: add mt8192 mmsys support

2021-08-10 Thread Matthias Brugger
On 02/08/2021 10:59, Yongqiang Niu wrote: > base v5.14-rc1 > > Yongqiang Niu (2): > soc: mediatek: mmsys: add comp OVL_2L2/POSTMASK/RDMA4 > soc: mediatek: mmsys: Add mt8192 mmsys routing table > Series queued in v5.15-tmp/soc Thanks > drivers/soc/mediatek/mt8192-mmsys.h| 67 >

Re: [Intel-gfx] [PATCH 16/46] drm/i915/guc: Implement GuC parent-child context pin / unpin functions

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 06:58:23PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 05:17:34PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:13PM -0700, Matthew Brost wrote: > > > Implement GuC parent-child context pin / unpin functions in which in any > > > contexts in the rel

Re: Aw: [PATCH v8, 2/2] soc: mediatek: mmsys: Add mt8192 mmsys routing table

2021-08-10 Thread Matthias Brugger
On 04/08/2021 09:30, Frank Wunderlich wrote: > Hi > > can you please test if your device still work after applying this > > https://patchwork.kernel.org/project/linux-mediatek/patch/20210729070549.5514-1-li...@fw-web.de/ > > and > > duplicate value constants in your routes? > > e.g. changin

Re: [Intel-gfx] [PATCH 16/46] drm/i915/guc: Implement GuC parent-child context pin / unpin functions

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 10:53:37AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 06:58:23PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 05:17:34PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:13PM -0700, Matthew Brost wrote: > > > > Implement GuC parent-child

Re: [PATCH 19/46] drm/i915/guc: Assign contexts in parent-child relationship consecutive guc_ids

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:03:12PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 05:31:38PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:16PM -0700, Matthew Brost wrote: > > > Assign contexts in parent-child relationship consecutive guc_ids. This > > > is accomplished by pa

Re: [Freedreno] [PATCH 0/3] iommu/drm/msm: Allow non-coherent masters to use system cache

2021-08-10 Thread Will Deacon
On Mon, Aug 09, 2021 at 11:17:40PM +0530, Sai Prakash Ranjan wrote: > On 2021-08-09 23:10, Will Deacon wrote: > > On Mon, Aug 09, 2021 at 10:18:21AM -0700, Rob Clark wrote: > > > On Mon, Aug 9, 2021 at 10:05 AM Will Deacon wrote: > > > > On Mon, Aug 09, 2021 at 09:57:08AM -0700, Rob Clark wrote: >

Re: [PATCH 20/46] drm/i915/guc: Add hang check to GuC submit engine

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:05:58PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 05:35:25PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:17PM -0700, Matthew Brost wrote: > > > The heartbeat uses a single instance of a GuC submit engine (GSE) to do > > > the hang check. As s

[PATCH] drm/display: fix possible null-pointer dereference in dcn10_set_clock()

2021-08-10 Thread Tuo Li
The variable dc->clk_mgr is checked in: if (dc->clk_mgr && dc->clk_mgr->funcs->get_clock) This indicates dc->clk_mgr can be NULL. However, it is dereferenced in: if (!dc->clk_mgr->funcs->get_clock) To fix this possible null-pointer dereference, check dc->clk_mgr before dereferencing it. Repo

Re: [PATCH 25/46] drm/i915/guc: Update debugfs for GuC multi-lrc

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:13:11PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 06:36:44PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:22PM -0700, Matthew Brost wrote: > > > Display the workqueue status in debugfs for GuC contexts that are in > > > parent-child relationsh

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Stephen Rothwell
Hi all, On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell wrote: > > On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell > wrote: > > > > After merging the drm tree, today's linux-next build (htmldocs) produced > > these warnings: > > > > Documentation/gpu/driver-uapi.rst:2412: WARNING: Dupli

Re: [PATCH 25/46] drm/i915/guc: Update debugfs for GuC multi-lrc

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 11:23:39AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 07:13:11PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 06:36:44PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:22PM -0700, Matthew Brost wrote: > > > > Display the workqueue statu

[BUG] drm/amdgpu: possible null-pointer dereference in dce_vXX_0_afmt_setmode()

2021-08-10 Thread Tuo Li
Hello, Our static analysis tool finds some possible null-pointer dereferences in the amdgpu driver in Linux 5.14.0-rc3: In dce_v10_0.c: The variable encoder->crtc is checked in: 1591:    if (encoder->crtc) This indicates that encoder->crtc can be NULL. Then the function dce_v10_0_audio_set_dt

Re: [PATCH v2 8/8] [RFC] drm/ingenic: convert to component framework for jz4780 hdmi

2021-08-10 Thread Daniel Vetter
On Thu, Aug 05, 2021 at 06:17:32PM +0200, Paul Cercueil wrote: > Hi Nikolaus and Laurent, > > Le jeu., août 5 2021 at 18:07:20 +0200, H. Nikolaus Schaller > a écrit : > > Hi Laurent, > > > > > Am 05.08.2021 um 17:04 schrieb Laurent Pinchart > > > : > > > > > > Hi Nikolaus, > > > > > > Thank

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Daniel Vetter
On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > Hi Greg, > > Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Hartman > a écrit : > > On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: > > > Hi Greg, > > > > > > Le jeu., août 5 2021 at 21:35:34 +0200, Greg Kroah-

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Greg Kroah-Hartman
On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > Hi Greg, > > Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Hartman > a écrit : > > On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: > > > Hi Greg, > > > > > > Le jeu., août 5 2021 at 21:35:34 +0200, Greg Kroah-

Re: [Freedreno] [PATCH 0/3] iommu/drm/msm: Allow non-coherent masters to use system cache

2021-08-10 Thread Sai Prakash Ranjan
On 2021-08-10 14:46, Will Deacon wrote: On Mon, Aug 09, 2021 at 11:17:40PM +0530, Sai Prakash Ranjan wrote: On 2021-08-09 23:10, Will Deacon wrote: > On Mon, Aug 09, 2021 at 10:18:21AM -0700, Rob Clark wrote: > > On Mon, Aug 9, 2021 at 10:05 AM Will Deacon wrote: > > > On Mon, Aug 09, 2021 at 0

Re: [PATCH v2] drm/drv: Remove initialization of static variables

2021-08-10 Thread Daniel Vetter
On Fri, Aug 06, 2021 at 10:30:47AM +0800, zhaoxiao wrote: > Address the following checkpatch errors: > ERROR: do not initialise statics to false > > FILE: :drivers/gpu/drm/msm/msm_drv.c:21: > -static bool reglog = false; > > FILE: :drivers/gpu/drm/msm/msm_drv.c:31: > -bool dumpstate = false; > >

Re: Proposal for allowing more Nouveau contributors to merge patches

2021-08-10 Thread Daniel Vetter
On Fri, Aug 06, 2021 at 06:53:06PM +0200, Karol Herbst wrote: > Hey everybody, > > so, here is a proposal of what we could change in order to allow > patches to land faster, more reliably and to increase the overall bus > factor in terms of nouveau kernel maintenance. Yay! > But let's start with

Re: [PATCH] drm/i915: Release ctx->syncobj on final put, not on ctx close

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 08:47:14PM +0200, Daniel Vetter wrote: > On Sun, Aug 8, 2021 at 2:56 AM Jason Ekstrand wrote: > > > > On August 6, 2021 15:18:59 Daniel Vetter wrote: > > > >> gem context refcounting is another exercise in least locking design it > >> seems, where most things get destroyed

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 07:26:36PM +1000, Stephen Rothwell wrote: > Hi all, > > On Thu, 8 Jul 2021 12:20:48 +1000 Stephen Rothwell > wrote: > > > > On Thu, 3 Jun 2021 19:32:42 +1000 Stephen Rothwell > > wrote: > > > > > > After merging the drm tree, today's linux-next build (htmldocs) produced

Re: [PATCH v2 1/3] drm/panel: seperate panel power control from panel prepare/unprepare

2021-08-10 Thread Daniel Vetter
On Sun, Aug 08, 2021 at 08:52:16PM +0800, Jitao Shi wrote: > Some dsi panels require the dsi lanes keeping low before panel power > on. So seperate the panel power control and the communication with panel. > > And put the power control in drm_panel_prepare_power and > drm_panel_unprepare_power. Pu

Re: [PATCH 3/8] drm/ingenic: Use standard drm_atomic_helper_commit_tail

2021-08-10 Thread Daniel Vetter
On Sun, Aug 08, 2021 at 03:45:21PM +0200, Paul Cercueil wrote: > By making the CRTC's .vblank_enable() function return an error when it > is known that the hardware won't deliver a VBLANK, we can drop the > ingenic_drm_atomic_helper_commit_tail() function and use the standard > drm_atomic_helper_co

Re: [PATCH] dma-buf: Fix a few typos in dma-buf documentation

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 08:49:16AM -0700, Randy Dunlap wrote: > On 8/9/21 5:22 AM, Gal Pressman wrote: > > Fix a few typos in the documentation: > > - Remove an extraneous 'or' > > - 'unpins' -> 'unpin' > > - 'braket' -> 'bracket' > > - 'mappinsg' -> 'mappings' > > - 'fullfills' -> 'fulfills' > >

Re: [Intel-gfx] [PATCH] drm/i915/gem/ttm: prefer kernel types

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 11:41:28AM +0300, Jani Nikula wrote: > Avoid uintXX_t types in the driver. > > Fixes: 213d50927763 ("drm/i915/ttm: Introduce a TTM i915 gem object backend") > Cc: Thomas Hellström > Cc: Matthew Auld > Cc: Maarten Lankhorst > Signed-off-by: Jani Nikula > --- > drivers/g

Re: [PATCH 1/3] drm/i915/guc: Fix several issues related to resets / request cancelation

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:35:22PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 03:35:26PM +0200, Daniel Vetter wrote: > > On Sun, Aug 08, 2021 at 11:07:55AM -0700, Matthew Brost wrote: > > > Resets are notoriously hard to get fully working and notoriously racey, > > > especially with self

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Paul Cercueil
Hi Daniel, Le mar., août 10 2021 at 11:35:43 +0200, Daniel Vetter a écrit : On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: Hi Greg, Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Hartman a écrit : > On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: > >

Re: [Intel-gfx] [PATCH 2/3] drm/i915/selftests: Fix memory corruption in live_lrc_isolation

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:37:39PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 03:38:38PM +0200, Daniel Vetter wrote: > > On Sun, Aug 08, 2021 at 11:07:56AM -0700, Matthew Brost wrote: > > > GuC submission has exposed an existing memory corruption in > > > live_lrc_isolation. We believe t

Re: [Intel-gfx] [PATCH 3/3] drm/i915/selftests: Add initial GuC selftest for scrubbing lost G2H

2021-08-10 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:41:29PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 04:03:28PM +0200, Daniel Vetter wrote: > > On Sun, Aug 08, 2021 at 11:07:57AM -0700, Matthew Brost wrote: > > > While debugging an issue with full GT resets I went down a rabbit hole > > > thinking the scrubbin

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Stephen Rothwell
Hi Daniel, On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter wrote: > > Matt Auld is on vacation, and the other issue is that the tree where this > is from isn't in linux-next. So will take a bit to get sorted in > linux-next. Those warnings are now coming from Linus' tree (some time before v5.14

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Paul Cercueil
Hi Greg, Le mar., août 10 2021 at 11:47:32 +0200, Greg Kroah-Hartman a écrit : On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: Hi Greg, Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Hartman a écrit : > On Thu, Aug 05, 2021 at 10:05:27PM +0200, Paul Cercueil wrote: >

Re: [PATCH 3/8] drm/ingenic: Use standard drm_atomic_helper_commit_tail

2021-08-10 Thread Paul Cercueil
Hi Daniel, Le mar., août 10 2021 at 12:20:38 +0200, Daniel Vetter a écrit : On Sun, Aug 08, 2021 at 03:45:21PM +0200, Paul Cercueil wrote: By making the CRTC's .vblank_enable() function return an error when it is known that the hardware won't deliver a VBLANK, we can drop the ingenic_drm_

[PATCH v3] drm/msm: Remove initialization of static variables

2021-08-10 Thread zhaoxiao
Address the following checkpatch errors: ERROR: do not initialise statics to false FILE: :drivers/gpu/drm/msm/msm_drv.c:21: -static bool reglog = false; FILE: :drivers/gpu/drm/msm/msm_drv.c:31: -bool dumpstate = false; Signed-off-by: zhaoxiao --- v3: Subject should start out with drm/msm, not d

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 08:38:59PM +1000, Stephen Rothwell wrote: > Hi Daniel, > > On Tue, 10 Aug 2021 12:14:38 +0200 Daniel Vetter wrote: > > > > Matt Auld is on vacation, and the other issue is that the tree where this > > is from isn't in linux-next. So will take a bit to get sorted in > > lin

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 12:40:39PM +0200, Paul Cercueil wrote: > Hi Greg, > > Le mar., août 10 2021 at 11:47:32 +0200, Greg Kroah-Hartman > a écrit : > > On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > > > Hi Greg, > > > > > > Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah

Re: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-10 Thread Michel Dänzer
On 2021-08-10 10:30 a.m., Daniel Vetter wrote: > On Tue, Aug 10, 2021 at 08:21:09AM +, Kasireddy, Vivek wrote: >>> On Fri, Aug 06, 2021 at 07:27:13AM +, Kasireddy, Vivek wrote: >>> >>> Hence my gut feeling reaction that first we need to get these two >>> compositors aligned in t

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 12:33:04PM +0200, Paul Cercueil wrote: > Hi Daniel, > > Le mar., août 10 2021 at 11:35:43 +0200, Daniel Vetter a > écrit : > > On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > > > Hi Greg, > > > > > > Le ven., août 6 2021 at 12:17:55 +0200, Greg Kroah-Ha

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Stephen Rothwell
Hi Daniel, On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter wrote: > > Uh that's not good, I missed that. I'll look into it. Thanks. -- Cheers, Stephen Rothwell pgpp4QKBUEKCV.pgp Description: OpenPGP digital signature

Re: [PATCH v2] drm/drv: Remove initialization of static variables

2021-08-10 Thread zhaoxiao
Thanks for you advice, and I modify the patch according to your suggestions. 在 2021/8/10 下午5:59, Daniel Vetter 写道: On Fri, Aug 06, 2021 at 10:30:47AM +0800, zhaoxiao wrote: Address the following checkpatch errors: ERROR: do not initialise statics to false FILE: :drivers/gpu/drm/msm/msm_drv.c:2

Re: Proposal for allowing more Nouveau contributors to merge patches

2021-08-10 Thread Karol Herbst
On Tue, Aug 10, 2021 at 12:11 PM Daniel Vetter wrote: > > On Fri, Aug 06, 2021 at 06:53:06PM +0200, Karol Herbst wrote: > > Hey everybody, > > > > so, here is a proposal of what we could change in order to allow > > patches to land faster, more reliably and to increase the overall bus > > factor i

Re: [PATCH v8] drm/bridge: add it6505 driver

2021-08-10 Thread Hsin-Yi Wang
On Tue, Aug 10, 2021 at 7:31 PM allen wrote: > > This adds support for the iTE IT6505. > This device can convert DPI signal to DP output. > > From: Allen Chen > Tested-by: Hsin-yi Wang > Signed-off-by: Hermes Wu > Signed-off-by: Allen Chen > --- <-- Add this line next time. Add the change log

Re: [Intel-gfx] [PATCH] drm/i915/gem/ttm: prefer kernel types

2021-08-10 Thread Jani Nikula
On Tue, 10 Aug 2021, Daniel Vetter wrote: > On Tue, Aug 10, 2021 at 11:41:28AM +0300, Jani Nikula wrote: >> Avoid uintXX_t types in the driver. >> >> Fixes: 213d50927763 ("drm/i915/ttm: Introduce a TTM i915 gem object backend") >> Cc: Thomas Hellström >> Cc: Matthew Auld >> Cc: Maarten Lankhors

Re: linux-next: manual merge of the drm tree with the drm-fixes tree

2021-08-10 Thread Geert Uytterhoeven
Hi Mark, Stephen, On Fri, Aug 6, 2021 at 6:11 PM Mark Brown wrote: > Today's linux-next merge of the drm tree got a conflict in: > > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > > between commit: > > e00f543d3596 ("drm/amdgpu: add DID for beige goby") > > from the drm-fixes tree and commit: > >

Re: [PATCH 2/2] gpu/drm: ingenic: Add workaround for disabled drivers

2021-08-10 Thread Paul Cercueil
Hi Daniel, Le mar., août 10 2021 at 12:59:53 +0200, Daniel Vetter a écrit : On Tue, Aug 10, 2021 at 12:33:04PM +0200, Paul Cercueil wrote: Hi Daniel, Le mar., août 10 2021 at 11:35:43 +0200, Daniel Vetter a écrit : > On Fri, Aug 06, 2021 at 01:01:33PM +0200, Paul Cercueil wrote: > >

Re: linux-next: build failure after merge of the driver-core tree

2021-08-10 Thread Geert Uytterhoeven
On Fri, Jul 23, 2021 at 7:35 AM Uwe Kleine-König wrote: > On Fri, Jul 23, 2021 at 03:09:44PM +1000, Stephen Rothwell wrote: > > After merging the driver-core tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > drivers/gpu/drm/drm_dp_aux_bus.c:106:13: error: initia

Re: Proposal for allowing more Nouveau contributors to merge patches

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 01:38:27PM +0200, Karol Herbst wrote: > On Tue, Aug 10, 2021 at 12:11 PM Daniel Vetter wrote: > > > > On Fri, Aug 06, 2021 at 06:53:06PM +0200, Karol Herbst wrote: > > > Hey everybody, > > > > > > so, here is a proposal of what we could change in order to allow > > > patche

[PATCH] drm/doc/rfc: drop lmem uapi section

2021-08-10 Thread Daniel Vetter
We still have quite a bit more work to do with overall reworking of the ttm-based dg1 code, but the uapi stuff is now finalized with the latest pull. So remove that. This also fixes kerneldoc build warnings because we've included the same headers in two places, resulting in sphinx complaining abou

[PATCH v8] drm/bridge: add it6505 driver

2021-08-10 Thread allen
This adds support for the iTE IT6505. This device can convert DPI signal to DP output. From: Allen Chen Tested-by: Hsin-yi Wang Signed-off-by: Hermes Wu Signed-off-by: Allen Chen v7->v8: fixed "checkpatch --strict" error remove unused variable *edid remove mode_set() callback Documenting the

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 1:01 PM Stephen Rothwell wrote: > Hi Daniel, > > On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter wrote: > > > > Uh that's not good, I missed that. I'll look into it. > > Thanks. Doc build is taking absolutely forever here, but I think I have the right patch for you. t-b/

Re: [PATCH] drivers/firmware: fix sysfb depends to prevent build failures

2021-08-10 Thread Linus Walleij
On Thu, Jul 22, 2021 at 6:42 AM Javier Martinez Canillas wrote: > The Generic System Framebuffers support is built when the COMPILE_TEST > option is enabled. But this wrongly assumes that all the architectures > declare a struct screen_info. > > This is true for most architectures, but at least t

Re: linux-next: manual merge of the drm tree with the drm-fixes tree

2021-08-10 Thread Stephen Rothwell
Hi Geert, On Tue, 10 Aug 2021 13:56:12 +0200 Geert Uytterhoeven wrote: > > On Fri, Aug 6, 2021 at 6:11 PM Mark Brown wrote: > > Today's linux-next merge of the drm tree got a conflict in: > > > > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > > > > between commit: > > > > e00f543d3596 ("drm/amdg

[PATCH] drm/i915: Use locked access to ctx->engines in set_priority

2021-08-10 Thread Daniel Vetter
This essentially reverts commit 89ff76bf9b3b0b86e6bbe344bd6378d8661303fc Author: Chris Wilson Date: Thu Apr 2 13:42:18 2020 +0100 drm/i915/gem: Utilize rcu iteration of context engines Note that the other use of __context_engines_await have disappeard in the following commits: ccbc1b9794

Re: linux-next: build warnings after merge of the drm tree

2021-08-10 Thread Stephen Rothwell
Hi Daniel, On Tue, 10 Aug 2021 14:39:17 +0200 Daniel Vetter wrote: > > On Tue, Aug 10, 2021 at 1:01 PM Stephen Rothwell > wrote: > > Hi Daniel, > > > > On Tue, 10 Aug 2021 12:50:55 +0200 Daniel Vetter wrote: > > > > > > Uh that's not good, I missed that. I'll look into it. > > > > Thanks.

RE: [PATCH] drm/display: fix possible null-pointer dereference in dcn10_set_clock()

2021-08-10 Thread Chen, Guchun
[Public] Thanks for your patch. I suggest moving the check of function pointer dc->clk_mgr->funcs->get_clock earlier, and return early if it's NULL, as if it's NULL, it's meaningless to continue the clock setting. if (!dc->clk_mgr || !dc->clk_mgr->funcs->get_clock) return DC_FAIL_

[PULL] drm-intel-next

2021-08-10 Thread Jani Nikula
Hi Dave & Daniel - drm-intel-next-2021-08-10-1: drm/i915 changes for v5.15: Features: - Basic DG2 platform enabling (Matt, Animesh, Gwan-gyeong, José) - Add PSF GV point support for display bandwidth calculation (Stan) - Add platform release id version support (Lucas) - Add support for forcing

Re: [PATCH] drm/display: fix possible null-pointer dereference in dcn10_set_clock()

2021-08-10 Thread Tuo Li
Thanks for your feedback. We will prepare a V2 patch according to your advice. Best wishes, Tuo Li On 2021/8/10 21:38, Chen, Guchun wrote: [Public] Thanks for your patch. I suggest moving the check of function pointer dc->clk_mgr->funcs->get_clock earlier, and return early if it's NULL, as

Re: [syzbot] general protection fault in udmabuf_create

2021-08-10 Thread Pavel Skripkin
On 8/10/21 4:47 PM, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:7999516e20bd Add linux-next specific files for 20210806 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10f15f8e30 kernel config: https://syzkaller.appspot.com

Re: [PATCH] drm/amd/display: remove variable backlight

2021-08-10 Thread Alex Deucher
On Mon, Aug 9, 2021 at 9:24 PM zhaoxiao wrote: > > The variable backlight is being initialized with a value that > is never read, it is being re-assigned immediately afterwards. I don't think this comment really matches the code. I think you can drop it. Alex > Clean up the code by removing th

[PATCH AUTOSEL 5.13 12/24] drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.

2021-08-10 Thread Sasha Levin
From: Yifan Zhang [ Upstream commit 1c0539a6fc8a4a4b77278e35d763073890de96b9 ] If GC has entered CGPG, ringing doorbell > first page doesn't wakeup GC. Enlarge CP_MEC_DOORBELL_RANGE_UPPER to workaround this issue. Signed-off-by: Yifan Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deuche

[PATCH AUTOSEL 5.13 22/24] drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X

2021-08-10 Thread Sasha Levin
From: Bing Guo [ Upstream commit 06050a0f01dbac2ca33145ef19a72041206ea983 ] Why: In DCN2x, HW doesn't automatically divide MASTER_UPDATE_LOCK_DB_X by the number of pipes ODM Combined. How: Set MASTER_UPDATE_LOCK_DB_X to the value that is adjusted by the number of pipes ODM Combined. Reviewed-b

[PATCH AUTOSEL 5.13 23/24] drm/amd/display: workaround for hard hang on HPD on native DP

2021-08-10 Thread Sasha Levin
From: Qingqing Zhuo [ Upstream commit c4152b297d56d3696ad0a9003169bc5b98ad7b72 ] [Why] HPD disable and enable sequences are not mutually exclusive on Linux. For HPDs that spans over 1s (i.e. HPD low = 1s), part of the disable sequence (specifically, a request to SMU to lower refclk) could come r

[PATCH AUTOSEL 5.10 12/20] drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir.

2021-08-10 Thread Sasha Levin
From: Yifan Zhang [ Upstream commit 1c0539a6fc8a4a4b77278e35d763073890de96b9 ] If GC has entered CGPG, ringing doorbell > first page doesn't wakeup GC. Enlarge CP_MEC_DOORBELL_RANGE_UPPER to workaround this issue. Signed-off-by: Yifan Zhang Reviewed-by: Alex Deucher Signed-off-by: Alex Deuche

[PATCH AUTOSEL 5.10 19/20] drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X

2021-08-10 Thread Sasha Levin
From: Bing Guo [ Upstream commit 06050a0f01dbac2ca33145ef19a72041206ea983 ] Why: In DCN2x, HW doesn't automatically divide MASTER_UPDATE_LOCK_DB_X by the number of pipes ODM Combined. How: Set MASTER_UPDATE_LOCK_DB_X to the value that is adjusted by the number of pipes ODM Combined. Reviewed-b

[PATCH AUTOSEL 5.10 20/20] drm/amd/display: workaround for hard hang on HPD on native DP

2021-08-10 Thread Sasha Levin
From: Qingqing Zhuo [ Upstream commit c4152b297d56d3696ad0a9003169bc5b98ad7b72 ] [Why] HPD disable and enable sequences are not mutually exclusive on Linux. For HPDs that spans over 1s (i.e. HPD low = 1s), part of the disable sequence (specifically, a request to SMU to lower refclk) could come r

[PATCH AUTOSEL 5.4 13/13] drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X

2021-08-10 Thread Sasha Levin
From: Bing Guo [ Upstream commit 06050a0f01dbac2ca33145ef19a72041206ea983 ] Why: In DCN2x, HW doesn't automatically divide MASTER_UPDATE_LOCK_DB_X by the number of pipes ODM Combined. How: Set MASTER_UPDATE_LOCK_DB_X to the value that is adjusted by the number of pipes ODM Combined. Reviewed-b

Re: [PATCH] drm/doc/rfc: drop lmem uapi section

2021-08-10 Thread Jason Ekstrand
Acked-by: Jason Ekstrand On Tue, Aug 10, 2021 at 7:34 AM Daniel Vetter wrote: > > We still have quite a bit more work to do with overall reworking of > the ttm-based dg1 code, but the uapi stuff is now finalized with the > latest pull. So remove that. > > This also fixes kerneldoc build warnings

Re: [Intel-gfx] [PATCH v2] fbdev/efifb: Release PCI device's runtime PM ref during FB destroy

2021-08-10 Thread Alex Deucher
On Tue, Aug 10, 2021 at 4:36 AM Imre Deak wrote: > > Hi Kai-Heng, Alex, > > could you add your ack if the fix looks ok and you're ok if I push it to > the i915 tree? > Acked-by: Alex Deucher > Thanks, > Imre > > On Mon, Aug 09, 2021 at 04:31:46PM +0300, Imre Deak wrote: > > Atm the EFI FB platf

Re: [syzbot] general protection fault in udmabuf_create

2021-08-10 Thread Dan Carpenter
On Tue, Aug 10, 2021 at 05:10:56PM +0300, Pavel Skripkin wrote: > On 8/10/21 4:47 PM, syzbot wrote: > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit:7999516e20bd Add linux-next specific files for 20210806 > > git tree: linux-next > > console output: https://sy

[PATCH] drm/doc/rfc: drop lmem uapi section

2021-08-10 Thread Daniel Vetter
We still have quite a bit more work to do with overall reworking of the ttm-based dg1 code, but the uapi stuff is now finalized with the latest pull. So remove that. This also fixes kerneldoc build warnings because we've included the same headers in two places, resulting in sphinx complaining abou

Re: [Intel-gfx] [PATCH v2] fbdev/efifb: Release PCI device's runtime PM ref during FB destroy

2021-08-10 Thread Kai-Heng Feng
On Tue, Aug 10, 2021 at 10:49 PM Alex Deucher wrote: > > On Tue, Aug 10, 2021 at 4:36 AM Imre Deak wrote: > > > > Hi Kai-Heng, Alex, > > > > could you add your ack if the fix looks ok and you're ok if I push it to > > the i915 tree? > > > > Acked-by: Alex Deucher Acked-by: Kai-Heng Feng > > >

[PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Kuogee Hsieh
Changes in V2: -- correct Fixes text -- drop commit text Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of debugging") Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/gpu/drm/msm

Re: [PATCH v2 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-08-10 Thread Thierry Reding
On Fri, Aug 06, 2021 at 03:34:48PM +0300, Mikko Perttunen wrote: > Convert the original Host1x bindings to YAML and add new bindings for > NVDEC, now in a more appropriate location. The old text bindings > for Host1x and engines are still kept at display/tegra/ since they > encompass a lot more eng

[syzbot] general protection fault in udmabuf_create

2021-08-10 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7999516e20bd Add linux-next specific files for 20210806 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=10f15f8e30 kernel config: https://syzkaller.appspot.com/x/.config?x=2f518e910b029c31 dashbo

Re: [PATCH v2 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-08-10 Thread Thierry Reding
On Tue, Aug 10, 2021 at 05:43:26PM +0200, Thierry Reding wrote: > On Fri, Aug 06, 2021 at 03:34:48PM +0300, Mikko Perttunen wrote: [...] > > diff --git > > a/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra210-nvdec.yaml > > b/Documentation/devicetree/bindings/gpu/host1x/nvidia,tegra210-

Re: [PATCH v3 2/4] drm: rcar-du: lvds: Convert to DRM panel bridge helper

2021-08-10 Thread Geert Uytterhoeven
Hi Laurent, On Thu, May 20, 2021 at 8:51 AM Laurent Pinchart wrote: > Replace the manual panel handling with usage of the DRM panel bridge > helper. This simplifies the driver, and brings support for > DRM_BRIDGE_ATTACH_NO_CONNECTOR as an added bonus. > > Signed-off-by: Laurent Pinchart Thanks

Re: [PATCH v2 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-08-10 Thread Mikko Perttunen
On 10.8.2021 18.43, Thierry Reding wrote: On Fri, Aug 06, 2021 at 03:34:48PM +0300, Mikko Perttunen wrote: Convert the original Host1x bindings to YAML and add new bindings for NVDEC, now in a more appropriate location. The old text bindings for Host1x and engines are still kept at display/tegra

Re: [PATCH v3 2/4] drm: rcar-du: lvds: Convert to DRM panel bridge helper

2021-08-10 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Aug 10, 2021 at 5:47 PM Geert Uytterhoeven wrote: > On Thu, May 20, 2021 at 8:51 AM Laurent Pinchart > wrote: > > Replace the manual panel handling with usage of the DRM panel bridge > > helper. This simplifies the driver, and brings support for > > DRM_BRIDGE_ATTACH_NO_CONNE

Re: [PATCH v2 3/3] drm/tegra: Add NVDEC driver

2021-08-10 Thread Thierry Reding
On Fri, Aug 06, 2021 at 03:34:50PM +0300, Mikko Perttunen wrote: > Add support for booting and using NVDEC on Tegra210, Tegra186 > and Tegra194 to the Host1x and TegraDRM drivers. Booting in > secure mode is not currently supported. > > Signed-off-by: Mikko Perttunen > --- > v2: > * Use devm_plat

Re: [PATCH v2 1/3] dt-bindings: Add YAML bindings for Host1x and NVDEC

2021-08-10 Thread Thierry Reding
On Tue, Aug 10, 2021 at 06:50:26PM +0300, Mikko Perttunen wrote: > On 10.8.2021 18.43, Thierry Reding wrote: > > On Fri, Aug 06, 2021 at 03:34:48PM +0300, Mikko Perttunen wrote: > > > Convert the original Host1x bindings to YAML and add new bindings for > > > NVDEC, now in a more appropriate locati

[PATCH] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver

2021-08-10 Thread xiazhengqiao
Hi, could you help to review this patch? This patch has been applied to our devices which use INX 2081101qfh032011-53g 1200x1920 video panel and it works well. thanks.

How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-10 Thread John Cox
Hi all I am on a Raspberry Pi, I want to display fullscreen video and have a couple of overlay planes to display controls / subtitles etc. The h/w can certainly do this. I need to be able to do this from a starting point where X is running. I can successfully find X's output & crtc and grab that

Re: [PATCH 25/46] drm/i915/guc: Update debugfs for GuC multi-lrc

2021-08-10 Thread Matthew Brost
On Tue, Aug 10, 2021 at 11:27:31AM +0200, Daniel Vetter wrote: > On Tue, Aug 10, 2021 at 11:23:39AM +0200, Daniel Vetter wrote: > > On Mon, Aug 09, 2021 at 07:13:11PM +, Matthew Brost wrote: > > > On Mon, Aug 09, 2021 at 06:36:44PM +0200, Daniel Vetter wrote: > > > > On Tue, Aug 03, 2021 at 03:

[PATCH 5.13 059/175] drm/i915: fix i915_globals_exit() section mismatch error

2021-08-10 Thread Greg Kroah-Hartman
From: Randy Dunlap [ Upstream commit a07296453bf2778952a09b6244a695bf7607babb ] Fix modpost Section mismatch error in i915_globals_exit(). Since both an __init function and an __exit function can call i915_globals_exit(), any function that i915_globals_exit() calls should not be marked as __init

[PATCH 5.13 081/175] drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled

2021-08-10 Thread Greg Kroah-Hartman
From: Randy Dunlap commit 5706cb3c910cc8283f344bc37a889a8d523a2c6d upstream. 'pm_suspend_target_state' is only available when CONFIG_PM_SLEEP is set/enabled. OTOH, when both SUSPEND and HIBERNATION are not set, PM_SLEEP is not set, so this variable cannot be used. ../drivers/gpu/drm/amd/amdgpu/

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-10 08:29:22) > Changes in V2: > -- correct Fixes text > -- drop commit text > > Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of > debugging") > Signed-off-by: Kuogee Hsieh > --- Reviewed-by: Stephen Boyd

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-08-10 08:29:22) > Changes in V2: > -- correct Fixes text > -- drop commit text > > Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of > debugging") > Signed-off-by: Kuogee Hsieh > --- > drivers/gpu/drm/msm/dp/dp_display.c | 13 + > 1 fi

[Bug 214029] New: [NAVI] Several memory leaks in amdgpu and ttm

2021-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214029 Bug ID: 214029 Summary: [NAVI] Several memory leaks in amdgpu and ttm Product: Drivers Version: 2.5 Kernel Version: 5.14-rc5 Hardware: All OS: Linux Tree: Mai

[Bug 214029] [NAVI] Several memory leaks in amdgpu and ttm

2021-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214029 --- Comment #1 from Erhard F. (erhar...@mailbox.org) --- Created attachment 298267 --> https://bugzilla.kernel.org/attachment.cgi?id=298267&action=edit output of kmemleak (kernel 5.14-rc5, AMD FX-8370) -- You may reply to this email to add a c

[Bug 214029] [NAVI] Several memory leaks in amdgpu and ttm

2021-08-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214029 --- Comment #2 from Erhard F. (erhar...@mailbox.org) --- Created attachment 298269 --> https://bugzilla.kernel.org/attachment.cgi?id=298269&action=edit kernel .config (kernel 5.14-rc5, AMD FX-8370) -- You may reply to this email to add a comme

Re: [PATCH 07/11] treewide: Replace the use of mem_encrypt_active() with prot_guest_has()

2021-08-10 Thread Kuppuswamy, Sathyanarayanan
On 7/27/21 3:26 PM, Tom Lendacky wrote: diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index de01903c3735..cafed6456d45 100644 --- a/arch/x86/kernel/head64.c +++ b/arch/x86/kernel/head64.c @@ -19,7 +19,7 @@ #include #include #include -#include +#include #include

Re: [PATCH v2] drm/msm/dp: add drm debug logs to dp_pm_resume/suspend

2021-08-10 Thread khsieh
On 2021-08-10 11:33, Stephen Boyd wrote: Quoting Kuogee Hsieh (2021-08-10 08:29:22) Changes in V2: -- correct Fixes text -- drop commit text Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of debugging") Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.

  1   2   >