Re: [PATCH v6 04/15] swiotlb: Add restricted DMA pool initialization

2021-05-11 Thread Claire Chang
On Mon, May 10, 2021 at 11:03 PM Christoph Hellwig wrote: > > > +#ifdef CONFIG_DMA_RESTRICTED_POOL > > +#include > > +#include > > +#include > > +#include > > +#include > > +#endif > > I don't think any of this belongs into swiotlb.c. Marking > swiotlb_init_io_tlb_mem non-static and having a

Re: [PATCH 1/2] drm: Fix dirtyfb stalls

2021-05-11 Thread Daniel Vetter
On Mon, May 10, 2021 at 12:06:05PM -0700, Rob Clark wrote: > On Mon, May 10, 2021 at 10:44 AM Daniel Vetter wrote: > > > > On Mon, May 10, 2021 at 6:51 PM Rob Clark wrote: > > > > > > On Mon, May 10, 2021 at 9:14 AM Daniel Vetter wrote: > > > > > > > > On Sat, May 08, 2021 at 12:56:38PM -0700, R

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 08:26:59AM -0700, Bloomfield, Jon wrote: > > -Original Message- > > From: Martin Peres > > Sent: Tuesday, May 11, 2021 1:06 AM > > To: Daniel Vetter > > Cc: Jason Ekstrand ; Brost, Matthew > > ; intel-gfx ; > > dri-devel ; Ursulin, Tvrtko > > ; Ekstrand, Jason ; >

Re: [RFC] Implicit vs explicit user fence sync

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 05:32:29PM +0200, Christian König wrote: > Am 11.05.21 um 16:23 schrieb Daniel Vetter: > > On Tue, May 11, 2021 at 09:47:56AM +0200, Christian König wrote: > > > Am 11.05.21 um 09:31 schrieb Daniel Vetter: > > > > [SNIP] > > > > > > And that's just the one ioctl I know is bi

Re: [PATCH] component: Move host device to end of device lists on binding

2021-05-11 Thread Stephen Boyd
Quoting Rafael J. Wysocki (2021-05-11 03:52:06) > On Mon, May 10, 2021 at 9:08 PM Stephen Boyd wrote: > > [cut] > > > > > > > > > > I will try it, but then I wonder about things like system wide > > > > suspend/resume too. The drm encoder chain would need to reimplement the > > > > logic for syste

Re: [PATCH RFC 1/3] drm: Add drm_plane_add_modifiers()

2021-05-11 Thread Daniel Vetter
On Mon, May 10, 2021 at 09:49:38PM -0400, Tina Zhang wrote: > Add a function to add modifiers to a plane. > > Signed-off-by: Tina Zhang For one, new functions for drivers needs kerneldoc. But the real issue here is that you're suppoed to supply the modifiers when creating the plane, not later o

Re: [PATCH] drm/i915: Add relocation exceptions for two other platforms

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:31:39AM +0200, Zbigniew Kempczyński wrote: > We have established previously we stop using relocations starting > from gen12 platforms with Tigerlake as an exception. Unfortunately > we need extend transition period and support relocations for two > other igfx platforms -

[PATCH] drm/doc/rfc: drop the i915_gem_lmem.h header

2021-05-11 Thread Matthew Auld
The proper headers have now landed in include/uapi/drm/i915_drm.h, so we can drop i915_gem_lmem.h and instead just reference the real headers for pulling in the kernel doc. Suggested-by: Daniel Vetter Signed-off-by: Matthew Auld --- Documentation/gpu/rfc/i915_gem_lmem.h | 237

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > Add lrc descriptor context lookup array which can resolve the > > intel_context from the lrc descriptor index. In addition to lookup, it > > can determine in the lrc d

Re: [PATCH 1/2] drm: Fix dirtyfb stalls

2021-05-11 Thread Rob Clark
On Tue, May 11, 2021 at 9:44 AM Daniel Vetter wrote: > > On Mon, May 10, 2021 at 12:06:05PM -0700, Rob Clark wrote: > > On Mon, May 10, 2021 at 10:44 AM Daniel Vetter wrote: > > > > > > On Mon, May 10, 2021 at 6:51 PM Rob Clark wrote: > > > > > > > > On Mon, May 10, 2021 at 9:14 AM Daniel Vetter

Re: [PATCH] Documentation: gpu: Mention the requirements for new properties

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 05:55:12PM +0200, Maxime Ripard wrote: > New KMS properties come with a bunch of requirements to avoid each > driver from running their own, inconsistent, set of properties, > eventually leading to issues like property conflicts, inconsistencies > between drivers and semanti

Re: [PATCH] drm: fix semicolon.cocci warnings

2021-05-11 Thread Daniel Vetter
On Wed, May 12, 2021 at 12:11:23AM +0800, kernel test robot wrote: > From: kernel test robot > > drivers/gpu/drm/kmb/kmb_dsi.c:284:3-4: Unneeded semicolon > drivers/gpu/drm/kmb/kmb_dsi.c:304:3-4: Unneeded semicolon > drivers/gpu/drm/kmb/kmb_dsi.c:321:3-4: Unneeded semicolon > drivers/gpu/drm/kmb/

Re: [PATCH] component: Move host device to end of device lists on binding

2021-05-11 Thread Stephen Boyd
Quoting Daniel Vetter (2021-05-11 06:39:36) > On Tue, May 11, 2021 at 12:52 PM Rafael J. Wysocki wrote: > > > > On Mon, May 10, 2021 at 9:08 PM Stephen Boyd wrote: > > > > [cut] > > > > > > > > > > > > > > I will try it, but then I wonder about things like system wide > > > > > suspend/resume too

Re: [Intel-gfx] [RFC PATCH 74/97] drm/i915/guc: Capture error state on context reset

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 06:28:25PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:14:28PM -0700, Matthew Brost wrote: > > We receive notification of an engine reset from GuC at its > > completion. Meaning GuC has potentially cleared any HW state > > we may have been interested in capturin

Re: [PATCH] component: Move host device to end of device lists on binding

2021-05-11 Thread Rafael J. Wysocki
On Tue, May 11, 2021 at 7:00 PM Stephen Boyd wrote: > > Quoting Rafael J. Wysocki (2021-05-11 03:52:06) > > On Mon, May 10, 2021 at 9:08 PM Stephen Boyd wrote: > > > > [cut] > > > > > > > > > > > > > > I will try it, but then I wonder about things like system wide > > > > > suspend/resume too. Th

Re: [PATCH 1/2] drm: Fix dirtyfb stalls

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:19:57AM -0700, Rob Clark wrote: > On Tue, May 11, 2021 at 9:44 AM Daniel Vetter wrote: > > > > On Mon, May 10, 2021 at 12:06:05PM -0700, Rob Clark wrote: > > > On Mon, May 10, 2021 at 10:44 AM Daniel Vetter wrote: > > > > > > > > On Mon, May 10, 2021 at 6:51 PM Rob Clar

Re: [PATCH] component: Move host device to end of device lists on binding

2021-05-11 Thread Stephen Boyd
Quoting Russell King - ARM Linux admin (2021-05-11 07:42:37) > On Sat, May 08, 2021 at 12:41:18AM -0700, Stephen Boyd wrote: > > Within the component device framework this usually isn't that bad > > because the real driver work is done at bind time via > > component{,master}_ops::bind(). It becomes

Re: [PATCH] component: Move host device to end of device lists on binding

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:19:09AM -0700, Stephen Boyd wrote: > Quoting Daniel Vetter (2021-05-11 06:39:36) > > On Tue, May 11, 2021 at 12:52 PM Rafael J. Wysocki > > wrote: > > > > > > On Mon, May 10, 2021 at 9:08 PM Stephen Boyd wrote: > > > > > > [cut] > > > > > > > > > > > > > > > > > > I wi

Re: [PATCH] drm/doc/rfc: drop the i915_gem_lmem.h header

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 06:03:56PM +0100, Matthew Auld wrote: > The proper headers have now landed in include/uapi/drm/i915_drm.h, so we > can drop i915_gem_lmem.h and instead just reference the real headers for > pulling in the kernel doc. > > Suggested-by: Daniel Vetter > Signed-off-by: Matthew

Re: [PATCH] drm/doc/rfc: drop the i915_gem_lmem.h header

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 07:28:08PM +0200, Daniel Vetter wrote: > On Tue, May 11, 2021 at 06:03:56PM +0100, Matthew Auld wrote: > > The proper headers have now landed in include/uapi/drm/i915_drm.h, so we > > can drop i915_gem_lmem.h and instead just reference the real headers for > > pulling in the

Re: [PATCH 1/2] drm: Fix dirtyfb stalls

2021-05-11 Thread Rob Clark
On Tue, May 11, 2021 at 10:21 AM Daniel Vetter wrote: > > On Tue, May 11, 2021 at 10:19:57AM -0700, Rob Clark wrote: > > On Tue, May 11, 2021 at 9:44 AM Daniel Vetter wrote: > > > > > > On Mon, May 10, 2021 at 12:06:05PM -0700, Rob Clark wrote: > > > > On Mon, May 10, 2021 at 10:44 AM Daniel Vett

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:01:28AM -0700, Matthew Brost wrote: > On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > > Add lrc descriptor context lookup array which can resolve the > > > intel_context from the lrc des

Re: [Intel-gfx] [RFC PATCH 74/97] drm/i915/guc: Capture error state on context reset

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:12:32AM -0700, Matthew Brost wrote: > On Tue, May 11, 2021 at 06:28:25PM +0200, Daniel Vetter wrote: > > On Thu, May 06, 2021 at 12:14:28PM -0700, Matthew Brost wrote: > > > We receive notification of an engine reset from GuC at its > > > completion. Meaning GuC has poten

Re: [PATCH 1/2] drm: Fix dirtyfb stalls

2021-05-11 Thread Daniel Vetter
On Tue, May 11, 2021 at 10:42:58AM -0700, Rob Clark wrote: > On Tue, May 11, 2021 at 10:21 AM Daniel Vetter wrote: > > > > On Tue, May 11, 2021 at 10:19:57AM -0700, Rob Clark wrote: > > > On Tue, May 11, 2021 at 9:44 AM Daniel Vetter wrote: > > > > > > > > On Mon, May 10, 2021 at 12:06:05PM -0700

Re: [PATCH v6 10/16] drm/amdgpu: Guard against write accesses after device removal

2021-05-11 Thread Andrey Grodzovsky
On 2021-05-11 2:50 a.m., Christian König wrote: Am 10.05.21 um 18:36 schrieb Andrey Grodzovsky: This should prevent writing to memory or IO ranges possibly already allocated for other uses after our device is removed. v5: Protect more places wher memcopy_to/form_io takes place Protect IB sub

Re: [Intel-gfx] [RFC PATCH 2/5] drm/doc/rfc: i915 new parallel submission uAPI plan

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 04:49:58PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 10:30:46AM -0700, Matthew Brost wrote: > > Add entry fpr i915 new parallel submission uAPI plan. > > > > Cc: Tvrtko Ursulin > > Cc: Tony Ye > > CC: Carl Zhang > > Cc: Daniel Vetter > > Cc: Jason Ekstrand

Re: [RFC PATCH 32/97] drm/i915: Introduce i915_sched_engine object

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:18:22PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:13:46PM -0700, Matthew Brost wrote: > > Introduce i915_sched_engine object which is lower level data structure > > that i915_scheduler / generic code can operate on without touching > > execlist specific str

Re: [RFC PATCH 20/97] drm/i915/guc: Introduce unified HXG messages

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:16:38PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:13:34PM -0700, Matthew Brost wrote: > > From: Michal Wajdeczko > > > > New GuC firmware will unify format of MMIO and CTB H2G messages. > > Introduce their definitions now to allow gradual transition of >

Re: [Intel-gfx] [RFC PATCH 5/5] drm/i915: Update execbuf IOCTL to accept N BBs

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:13:54PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 10:30:49AM -0700, Matthew Brost wrote: > > Add I915_EXEC_NUMBER_BB_* to drm_i915_gem_execbuffer2.flags which allows > > submitting N BBs per IOCTL. > > > > Cc: Tvrtko Ursulin > > Cc: Tony Ye > > CC: Carl Zha

Re: [v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-05-11 Thread rajeevny
On 01-05-2021 03:08, Doug Anderson wrote: Hi, On Fri, Apr 30, 2021 at 8:10 AM wrote: On 30-04-2021 02:33, Doug Anderson wrote: > Hi, > > On Thu, Apr 29, 2021 at 11:04 AM Rob Herring wrote: >> >> On Mon, Apr 26, 2021 at 11:29:15AM +0530, Rajeev Nandan wrote: >> > Add bindings for DisplayPort

Re: [PATCH v3] drm/i915: Invoke another _DSM to enable MUX on HP Workstation laptops

2021-05-11 Thread Ville Syrjälä
On Mon, Apr 26, 2021 at 11:24:10PM +0800, Kai-Heng Feng wrote: > On HP Fury G7 Workstations, graphics output is re-routed from Intel GFX > to discrete GFX after S3. This is not desirable, because userspace will > treat connected display as a new one, losing display settings. > > The expected behav

Re: [PATCH] drm: fix semicolon.cocci warnings

2021-05-11 Thread Geert Uytterhoeven
On Tue, May 11, 2021 at 7:17 PM Daniel Vetter wrote: > On Wed, May 12, 2021 at 12:11:23AM +0800, kernel test robot wrote: > > From: kernel test robot > > > > drivers/gpu/drm/kmb/kmb_dsi.c:284:3-4: Unneeded semicolon > > drivers/gpu/drm/kmb/kmb_dsi.c:304:3-4: Unneeded semicolon > > drivers/gpu/drm

Re: [Intel-gfx] [RFC PATCH 4/5] drm/i915: Introduce 'set parallel submit' extension

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 05:11:44PM +0200, Daniel Vetter wrote: > On Thu, May 06, 2021 at 10:30:48AM -0700, Matthew Brost wrote: > > i915_drm.h updates for 'set parallel submit' extension. > > > > Cc: Tvrtko Ursulin > > Cc: Tony Ye > > CC: Carl Zhang > > Cc: Daniel Vetter > > Cc: Jason Ekstrand

Re: [RFC] Implicit vs explicit user fence sync

2021-05-11 Thread Christian König
Am 11.05.21 um 18:48 schrieb Daniel Vetter: [SNIP] Why? If you allow implicit fencing then you can end up with - an implicit userspace fence as the in-fence - but an explicit dma_fence as the out fence Which is not allowed. So there's really no way to make this work, except if you stall in the

Re: [RFC PATCH 43/97] drm/i915/guc: Add lrc descriptor context lookup array

2021-05-11 Thread Matthew Brost
On Tue, May 11, 2021 at 07:43:30PM +0200, Daniel Vetter wrote: > On Tue, May 11, 2021 at 10:01:28AM -0700, Matthew Brost wrote: > > On Tue, May 11, 2021 at 05:26:34PM +0200, Daniel Vetter wrote: > > > On Thu, May 06, 2021 at 12:13:57PM -0700, Matthew Brost wrote: > > > > Add lrc descriptor context

Re: [PATCH v2] drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected

2021-05-11 Thread Alex Deucher
On Mon, May 10, 2021 at 11:33 PM Kai-Heng Feng wrote: > > On Fri, Apr 30, 2021 at 12:57 PM Kai-Heng Feng > wrote: > > > > Screen flickers rapidly when two 4K 60Hz monitors are in use. This issue > > doesn't happen when one monitor is 4K 60Hz (pixelclock 594MHz) and > > another one is 4K 30Hz (pix

RE: [PATCH 1/3] virtio-gpu uapi: Add VIRTIO_GPU_F_EXPLICIT_FLUSH feature

2021-05-11 Thread Kasireddy, Vivek
Hi Gerd, > On Tue, May 11, 2021 at 01:36:08AM -0700, Vivek Kasireddy wrote: > > This feature enables the Guest to wait until a flush has been > > performed on a buffer it has submitted to the Host. > > This needs a virtio-spec update documenting the new feature. [Kasireddy, Vivek] Yes, I was plan

Re: [RFC PATCH 20/97] drm/i915/guc: Introduce unified HXG messages

2021-05-11 Thread Michal Wajdeczko
On 11.05.2021 17:16, Daniel Vetter wrote: > On Thu, May 06, 2021 at 12:13:34PM -0700, Matthew Brost wrote: >> From: Michal Wajdeczko >> >> New GuC firmware will unify format of MMIO and CTB H2G messages. >> Introduce their definitions now to allow gradual transition of >> our code to match new

Re: [v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-05-11 Thread Laurent Pinchart
Hi Rajeevny, On Tue, May 11, 2021 at 11:41:57PM +0530, rajee...@codeaurora.org wrote: > On 01-05-2021 03:08, Doug Anderson wrote: > > On Fri, Apr 30, 2021 at 8:10 AM wrote: > >> On 30-04-2021 02:33, Doug Anderson wrote: > >> > On Thu, Apr 29, 2021 at 11:04 AM Rob Herring wrote: > >> >> On Mon, A

Re: [v3 1/2] dt-bindings: backlight: add DisplayPort aux backlight

2021-05-11 Thread Doug Anderson
Hi, On Tue, May 11, 2021 at 11:12 AM wrote: > > On 01-05-2021 03:08, Doug Anderson wrote: > > Hi, > > > > On Fri, Apr 30, 2021 at 8:10 AM wrote: > >> > >> On 30-04-2021 02:33, Doug Anderson wrote: > >> > Hi, > >> > > >> > On Thu, Apr 29, 2021 at 11:04 AM Rob Herring wrote: > >> >> > >> >> On Mo

linux-next: manual merge of the amdgpu tree with the drm-misc tree

2021-05-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the amdgpu tree got a conflict in: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c between commit: c777dc9e7933 ("drm/ttm: move the page_alignment into the BO v2") from the drm-misc tree and commit: dd03daec0ff1 ("drm/amdgpu: restructure amdgpu_vram_mgr_

linux-next: manual merge of the drm-intel tree with Linus' tree

2021-05-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/intel_pm.c between commit: e7c6e405e171 ("Fix misc new gcc warnings") from Linus' tree and commit: c6deb5e97ded ("drm/i915/pm: Make the wm parameter of print_wm_latency a pointer") from the

[Bug 212957] [radeon] kernel NULL pointer dereference during system boot

2021-05-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212957 --- Comment #3 from Dennis Foster (m...@dennisfoster.us) --- (In reply to Alex Deucher from comment #1) > Can you bisect? 0575ff3d33cd62123991d2a5d0d8459d72592388 is the first bad commit commit 0575ff3d33cd62123991d2a5d0d8459d72592388 Author: Chr

[Bug 212957] [radeon] kernel NULL pointer dereference during system boot

2021-05-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212957 --- Comment #4 from Dennis Foster (m...@dennisfoster.us) --- Created attachment 296723 --> https://bugzilla.kernel.org/attachment.cgi?id=296723&action=edit journalctl - bad commit Attached is a part of the system log after checking out the bise

linux-next: build failure after merge of the drm-misc tree

2021-05-11 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/nouveau/nouveau_connector.c: In function 'nouveau_connector_of_detect': drivers/gpu/drm/nouveau/nouveau_connector.c:463:59: error: 'struct drm_device' has no member named '

Re: [PATCH 1/1] drm/mediatek: Remove redundant error printing in mtk_cec_probe()

2021-05-11 Thread Baruch Siach
Hi Zhen Lei, On Tue, May 11 2021, Zhen Lei wrote: > When devm_ioremap_resource() fails, a clear enough error message will be > printed by its subfunction __devm_ioremap_resource(). The error > information contains the device name, failure cause, and possibly resource > information. > > Therefore,

[PATCH] dt-bindings: display: convert faraday,tve200 to YAML

2021-05-11 Thread Corentin Labbe
Converts display/faraday,tve200.txt to yaml. Signed-off-by: Corentin Labbe --- .../bindings/display/faraday,tve200.txt | 54 --- .../bindings/display/faraday,tve200.yaml | 92 +++ 2 files changed, 92 insertions(+), 54 deletions(-) delete mode 100644 Documentat

Re: [PATCH] linux-firmware: update firmware for mhdp8546

2021-05-11 Thread Josh Boyer
Applied and pushed out. josh On Fri, May 7, 2021 at 2:00 AM Parshuram Thombare wrote: > > This patch updates mhdp8546 firmware to 2.1.0 > Fix memory leak in HDCP state machine. > > Signed-off-by: Parshuram Thombare > --- > WHENCE |2 +- > cadence/mhdp8546.bin | Bin 131072 ->

Re: [PATCH v5 4/6] drm/sprd: add Unisoc's drm display controller driver

2021-05-11 Thread Chunyan Zhang
On Sun, 25 Apr 2021 at 20:36, Kevin Tang wrote: > > Adds DPU(Display Processor Unit) support for the Unisoc's display > subsystem. > It's support multi planes, scaler, rotation, PQ(Picture Quality) and more. > > v2: > - Use drm_xxx to replace all DRM_XXX. > - Use kzalloc to replace devm_kzallo

Re: [RFC PATCH 00/97] Basic GuC submission support in the i915

2021-05-11 Thread Martin Peres
On 11/05/2021 19:39, Matthew Brost wrote: On Tue, May 11, 2021 at 08:26:59AM -0700, Bloomfield, Jon wrote: -Original Message- From: Martin Peres Sent: Tuesday, May 11, 2021 1:06 AM To: Daniel Vetter Cc: Jason Ekstrand ; Brost, Matthew ; intel-gfx ; dri-devel ; Ursulin, Tvrtko ; Ekstran

[PATCH -next] drm/bridge: lt9611: Add missing MODULE_DEVICE_TABLE

2021-05-11 Thread Zou Wei
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/gpu/drm/bridge/lontium-lt9611.c | 1 + 1 file changed, 1 insertion(+)

Re: [Nouveau] [PATCH v2 2/2] drm/nouveau: Fix error return code in nouveau_backlight_init()

2021-05-11 Thread Pierre Moreau
Reviewed-by: Pierre Moreau On 2021-05-11 — 16:28, Zhen Lei wrote: > Fix to return a negative error code from the error handling case instead > of 0, as done elsewhere in this function. > > Fixes: db1a0ae21461 ("drm/nouveau/bl: Assign different names to interfaces") > Suggested-by: Pierre Moreau

Re: [Nouveau] [PATCH v2 1/2] drm/nouveau: Fix ida leak

2021-05-11 Thread Pierre Moreau
Why remove the const modifier on `nb`? On 2021-05-11 — 16:28, Zhen Lei wrote: > When the 'nb' value allocated from 'bl_ida' is greater than or equal to > 100, it will not be released. In fact, we can simplify operations by > limiting the range of idas that can be applied for. > > By the way, dele

Re: [PATCH 1/3] virtio-gpu uapi: Add VIRTIO_GPU_F_EXPLICIT_FLUSH feature

2021-05-11 Thread Gerd Hoffmann
Hi, > However, as part of this feature (explicit flush), I'd like to make the Guest > wait until > the current resource (as specified by resource_flush or set_scanout) is > flushed or > synchronized. But for a different feature I am thinking of (explicit sync), > I'd like to > make the Guest

Re: [Nouveau] [PATCH v2 1/2] drm/nouveau: Fix ida leak

2021-05-11 Thread Leizhen (ThunderTown)
On 2021/5/12 14:39, Pierre Moreau wrote: > Why remove the const modifier on `nb`? A non-pointer local variable, I don't think it's necessary to add const modifier to make the syntax too complicated. > > On 2021-05-11 — 16:28, Zhen Lei wrote: >> When the 'nb' value allocated from 'bl_ida' is g

Re: [PATCH 6/7] drm/i915/ttm, drm/ttm: Introduce a TTM i915 gem object backend

2021-05-11 Thread Christian König
Am 11.05.21 um 16:28 schrieb Thomas Hellström: On 5/11/21 4:09 PM, Christian König wrote: Am 11.05.21 um 16:06 schrieb Thomas Hellström (Intel): On 5/11/21 3:58 PM, Christian König wrote: Am 11.05.21 um 15:25 schrieb Thomas Hellström: Most logical place to introduce TTM buffer objects is

<    1   2