Re: [PATCH 2/2] ARM: tegra: Move panels to AUX bus

2022-03-06 Thread Thierry Reding
On Sun, Mar 06, 2022 at 08:59:13PM +0300, Dmitry Osipenko wrote: > 22.12.2021 22:30, Dmitry Osipenko пишет: > > 20.12.2021 13:48, Thierry Reding пишет: > >> From: Thierry Reding > >> > >> Move the eDP panel on Venice 2 and Nyan boards into the corresponding > >> AUX bus device tree node. This

Re: [PATCH v2] drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP

2022-03-06 Thread Thorsten Leemhuis
[CCing Dave and Daniel] Hi, this is your Linux kernel regression tracker. On 23.02.22 20:06, Thomas Zimmermann wrote: > Am 23.02.22 um 17:11 schrieb Doug Anderson: >> On Tue, Feb 22, 2022 at 1:31 AM Geert Uytterhoeven >> wrote: >>> On Tue, Feb 8, 2022 at 10:39 AM Geert Uytterhoeven >>> wrote:

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Chen-Yu Tsai
On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > Hello Xin, > > (Question for Rob below, and I'm afraid this is urgent as we need to > merge a fix in v5.17). > > On Fri, Nov 05, 2021 at 11:19:03AM +0800, Xin Ji wrote: > > The basic anx7625 driver only support MIPI DSI rx

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Xin Ji
On Mon, Mar 07, 2022 at 01:17:44PM +0800, Hsin-Yi Wang wrote: > On Mon, Mar 7, 2022 at 1:09 PM Xin Ji wrote: > > > > On Mon, Mar 07, 2022 at 06:47:44AM +0200, Laurent Pinchart wrote: > > > Hello Xin, > > > > > > On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > > > > On Mon, Mar 07, 2022

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Hsin-Yi Wang
On Mon, Mar 7, 2022 at 1:09 PM Xin Ji wrote: > > On Mon, Mar 07, 2022 at 06:47:44AM +0200, Laurent Pinchart wrote: > > Hello Xin, > > > > On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > > > On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > > > > On Mon, Mar 07, 2022 at

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Laurent Pinchart
Hello Xin, On Mon, Mar 07, 2022 at 01:09:45PM +0800, Xin Ji wrote: > On Mon, Mar 07, 2022 at 06:47:44AM +0200, Laurent Pinchart wrote: > > On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > > > On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > > > > On Mon, Mar 07, 2022

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Xin Ji
On Mon, Mar 07, 2022 at 06:47:44AM +0200, Laurent Pinchart wrote: > Hello Xin, > > On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > > On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > > > On Mon, Mar 07, 2022 at 11:22:48AM +0800, Xin Ji wrote: > > > > On Sun, Mar 06,

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Laurent Pinchart
Hello Xin, On Mon, Mar 07, 2022 at 12:32:49PM +0800, Xin Ji wrote: > On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > > On Mon, Mar 07, 2022 at 11:22:48AM +0800, Xin Ji wrote: > > > On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > > > > Hello Xin, > > > > >

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Xin Ji
On Mon, Mar 07, 2022 at 05:30:09AM +0200, Laurent Pinchart wrote: > Hello Xin, > > On Mon, Mar 07, 2022 at 11:22:48AM +0800, Xin Ji wrote: > > On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > > > Hello Xin, > > > > > > (Question for Rob below, and I'm afraid this is urgent as

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Laurent Pinchart
Hello Xin, On Mon, Mar 07, 2022 at 11:22:48AM +0800, Xin Ji wrote: > On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > > Hello Xin, > > > > (Question for Rob below, and I'm afraid this is urgent as we need to > > merge a fix in v5.17). > > > > On Fri, Nov 05, 2021 at

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Xin Ji
On Sun, Mar 06, 2022 at 07:13:30PM +0200, Laurent Pinchart wrote: > Hello Xin, > > (Question for Rob below, and I'm afraid this is urgent as we need to > merge a fix in v5.17). > > On Fri, Nov 05, 2021 at 11:19:03AM +0800, Xin Ji wrote: > > The basic anx7625 driver only support MIPI DSI rx

Re: Report 2 in ext4 and journal based on v5.17-rc1

2022-03-06 Thread Byungchul Park
On Sat, Mar 05, 2022 at 03:05:23PM +, Joel Fernandes wrote: > On Sat, Mar 05, 2022 at 11:15:38PM +0900, Byungchul Park wrote: > > Almost all you've been blaming at Dept are totally non-sense. Based on > > what you're saying, I'm conviced that you don't understand how Dept > > works even 1%.

Re: [PATCH RESEND] drm/self_refresh: Don't trigger the entry timer for self refresh work if CRTC state is inactive

2022-03-06 Thread Liu Ying
On Mon, 2022-02-07 at 13:46 +0800, Liu Ying wrote: > If the CRTC state is already inactive, it doesn't make sense to trigger > the entry timer for self refresh work to make the display enter self > refresh mode, because the disabled CRTC hints that either the entire > display pipeline is disabled

Re: [PATCH RFC v2] mm: Add f_ops->populate()

2022-03-06 Thread Dave Hansen
On 3/6/22 15:24, Andrew Morton wrote: > On Sun, 6 Mar 2022 05:26:55 +0200 Jarkko Sakkinen wrote: > >> Sometimes you might want to use MAP_POPULATE to ask a device driver to >> initialize the device memory in some specific manner. SGX driver can use >> this to request more memory by issuing

Re: [PATCH RFC v2] mm: Add f_ops->populate()

2022-03-06 Thread Andrew Morton
On Sun, 6 Mar 2022 05:26:55 +0200 Jarkko Sakkinen wrote: > Sometimes you might want to use MAP_POPULATE to ask a device driver to > initialize the device memory in some specific manner. SGX driver can use > this to request more memory by issuing ENCLS[EAUG] x86 opcode for each > page in the

[PATCH v7 1/2] drm/i915/guc: Add fetch of hwconfig blob

2022-03-06 Thread Jordan Justen
From: John Harrison Implement support for fetching the hardware description table from the GuC. The call is made twice - once without a destination buffer to query the size and then a second time to fill in the buffer. The table is stored in the GT structure so that it can be fetched once at

[PATCH v7 2/2] drm/i915/uapi: Add query for hwconfig blob

2022-03-06 Thread Jordan Justen
From: Rodrigo Vivi In this interface i915 is returning a blob of data which it receives from the guc software. This blob provides some useful data about the hardware for drivers. The format of this blob will be documented in the Programmer Reference Manuals when released. Cc: Tvrtko Ursulin

[PATCH v7 0/2] GuC HWCONFIG with documentation

2022-03-06 Thread Jordan Justen
Now with 100% less documentation. (See v7 notes.) This is John/Rodrigo's 2 patches with some changes. There are various changes suggested by Michal in John's "fetch" patch. The table terminology was also changed to "blob" as requested by Joonas. Dropped these 2 patches (which were in v1-v6): *

Re: [PATCH v5 4/7] drm/i915/gt: create per-tile sysfs interface

2022-03-06 Thread Andi Shyti
Hi Andrzej, [...] > > +bool is_object_gt(struct kobject *kobj) > > +{ > > + return !strncmp(kobj->name, "gt", 2); > > +} > > It looks quite fragile, at the moment I do not have better idea:) maybe > after reviewing the rest of the patches. yeah... it's not pretty, I agree, but I couldn't

Re: [PATCH RFC 1/3] mm: Add f_ops->populate()

2022-03-06 Thread Matthew Wilcox
On Sun, Mar 06, 2022 at 07:02:57PM +0200, Jarkko Sakkinen wrote: > So can I conclude from this that in general having populate available for > device memory is something horrid, or just the implementation path? You haven't even attempted to explain what the problem is you're trying to solve.

[PATCH 07/10] drm/gma500: Cleanup GTT uninit and error handling

2022-03-06 Thread Thomas Zimmermann
Replace psb_gtt_takedown() with finalizer function that is only called for unloading the driver. Use roll-back pattern for error handling in psb_gtt_init() and _resume(). Also fixes a bug where vmap_addr was never unmapped. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c |

[PATCH 08/10] drm/gma500: Split GTT init/resume/fini into GTT and GEM functions

2022-03-06 Thread Thomas Zimmermann
The GTT init, fini and resume functions contain both, GTT and GEM, code. Split each into a separate GTT and a GEM function. The GEM code is responsible for mmap_mutex and the stolen memory area. The rest of the functionality is left in GTT functions. Signed-off-by: Thomas Zimmermann ---

[PATCH 06/10] drm/gma500: Move GTT resume logic out of psb_gtt_init()

2022-03-06 Thread Thomas Zimmermann
The current implementation of psb_gtt_init() also does resume handling. Move the resume code into its own helper. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c | 122 ++- drivers/gpu/drm/gma500/gtt.h | 2 +-

[PATCH 10/10] drm/gma500: Move GEM memory management functions to gem.c

2022-03-06 Thread Thomas Zimmermann
Move GEM functions from gtt.c to gem.c. Adapt some names. No functional changes. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gem.c | 133 +++ drivers/gpu/drm/gma500/gem.h | 12 +++ drivers/gpu/drm/gma500/gtt.c | 127

[PATCH 02/10] drm/gma500: Acquire reservation lock for GEM objects

2022-03-06 Thread Thomas Zimmermann
Protect concurrent access to struct psb_gem_object by acquiring the GEM object's reservation lock; as it's supposed to be. The use of the GTT mutex can now be moved into GTT code. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gem.c | 12 1 file changed, 12

[PATCH 01/10] drm/gma500: Remove struct psb_gem_object.npage

2022-03-06 Thread Thomas Zimmermann
Calculate the number of pages in the BO's backing storage from the size. Remove the npage field. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gem.c | 9 + drivers/gpu/drm/gma500/gem.h | 1 - drivers/gpu/drm/gma500/gma_display.c | 8 +++- 3 files

[PATCH 09/10] drm/gma500: Inline psb_gtt_restore()

2022-03-06 Thread Thomas Zimmermann
Inline psb_gtt_restore() into its only caller in power.c. Perform the GTT restoration in psb_gem_mm_resume(). The restoration step is part of GEM anyway and will be moved over at some point. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c | 15 ++-

[PATCH 04/10] drm/gma500: Remove struct psb_gtt.sem sempahore

2022-03-06 Thread Thomas Zimmermann
The semaphore at struct psb_mmu_driver.sem protects access to the MMU fields. Additional locking with struct psb_gtt.sem is unnecessary. Remove the field and related code. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c | 7 --- drivers/gpu/drm/gma500/gtt.h | 1 -

[PATCH 03/10] drm/gma500: Move GTT locking into GTT helpers

2022-03-06 Thread Thomas Zimmermann
Acquire the GTT mutex in psb_gtt_{insert,remove}_pages(). Remove locking from callers. Also remove the GTT locking around the resume code. Resume does not run concurrently with other GTT operations. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gem.c | 11 ++-

[PATCH 05/10] drm/gma500: Move GTT setup and restoration into helper funtions

2022-03-06 Thread Thomas Zimmermann
The GTT init and restore functions contain logic to populate the GTT entries. Move the code into helper functions. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c | 115 +-- 1 file changed, 68 insertions(+), 47 deletions(-) diff --git

[PATCH 00/10] drm/gma500: Various cleanups to GEM code

2022-03-06 Thread Thomas Zimmermann
Refactor and simplify various parts of the memory management. This includes locking, initialization and finalizer functions, and code organization. Tested on Atom N2800 hardware. Thomas Zimmermann (10): drm/gma500: Remove struct psb_gem_object.npage drm/gma500: Acquire reservation lock for

Re: [PATCH] drm: Drop commas after SoC match table sentinels

2022-03-06 Thread Martin Blumenstingl
On Thu, Mar 3, 2022 at 1:45 PM Geert Uytterhoeven wrote: > > It does not make sense to have a comma after a sentinel, as any new > elements must be added before the sentinel. agreed, thanks for taking care of this! > Signed-off-by: Geert Uytterhoeven > --- > drivers/gpu/drm/bridge/nwl-dsi.c |

Re: [Intel-gfx] [PATCH v5 3/7] drm/i915/gt: add gt_is_root() helper

2022-03-06 Thread Andi Shyti
Hi Andrzej and Michal, > > > The "gt_is_root(struct intel_gt *gt)" helper return true if the > > > gt is the root gt, which means that its id is 0. Return false > > > otherwise. > > > > > > Suggested-by: Michal Wajdeczko > > > Signed-off-by: Andi Shyti > > > --- > > >

Re: [PATCH v5 2/7] drm/i915: Prepare for multiple GTs

2022-03-06 Thread Andi Shyti
Hi Andrzej, [...] > > -int intel_gt_probe_lmem(struct intel_gt *gt) > > +static int intel_gt_probe_lmem(struct intel_gt *gt) > > { > > struct drm_i915_private *i915 = gt->i915; > > + unsigned int instance = gt->info.id; > > struct intel_memory_region *mem; > > int id; > > int

Re: [PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types

2022-03-06 Thread Laurent Pinchart
On Sun, Mar 06, 2022 at 07:39:03PM +0200, Laurent Pinchart wrote: > Add a new dt-bindings/media/video-interfaces.h header that defines > macros corresponding to the bus types from media/video-interfaces.yaml. > This allows avoiding hardcoded constants in device tree sources. > > Signed-off-by:

Re: [PATCH 2/2] ARM: tegra: Move panels to AUX bus

2022-03-06 Thread Dmitry Osipenko
22.12.2021 22:30, Dmitry Osipenko пишет: > 20.12.2021 13:48, Thierry Reding пишет: >> From: Thierry Reding >> >> Move the eDP panel on Venice 2 and Nyan boards into the corresponding >> AUX bus device tree node. This allows us to avoid a nasty circular >> dependency that would otherwise be

[PATCH v2 3/3] ARM: dts: Use new media bus type macros

2022-03-06 Thread Laurent Pinchart
Now that a header exists with macros for the media interface bus-type values, replace hardcoding numerical constants with the corresponding macros in the DT sources. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 4 +++-

[PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types

2022-03-06 Thread Laurent Pinchart
Add a new dt-bindings/media/video-interfaces.h header that defines macros corresponding to the bus types from media/video-interfaces.yaml. This allows avoiding hardcoded constants in device tree sources. Signed-off-by: Laurent Pinchart --- Changes since v1: - Dual-license under GPL-2.0-only or

[PATCH v2 2/3] dt-bindings: Use new video interface bus type macros in examples

2022-03-06 Thread Laurent Pinchart
Now that a header exists with macros for the media interface bus-type values, replace hardcoding numerical constants with the corresponding macros in the DT binding examples. Signed-off-by: Laurent Pinchart --- Changes since v1: - Rename PARALLEL to BT601 ---

[PATCH v2 0/3] dt-bindings: Add macros for video interface bus types

2022-03-06 Thread Laurent Pinchart
Hello, This small patch series is the result of me getting a bus-type numerical value wrong in a device tree file and spending too long debugging the issue. Hopefully there's nothing controversial here. Compared to v1, the PARALLEL bus type has been renamed to BT601, and patch 3/3 now converts

Re: [PATCH v12 3/4] drm/bridge: anx7625: add MIPI DPI input feature

2022-03-06 Thread Laurent Pinchart
Hello Xin, (Question for Rob below, and I'm afraid this is urgent as we need to merge a fix in v5.17). On Fri, Nov 05, 2021 at 11:19:03AM +0800, Xin Ji wrote: > The basic anx7625 driver only support MIPI DSI rx signal input. > This patch add MIPI DPI rx input configuration support, after apply >

Re: [PATCH RFC 1/3] mm: Add f_ops->populate()

2022-03-06 Thread Jarkko Sakkinen
On Sun, Mar 06, 2022 at 07:03:00PM +0200, Jarkko Sakkinen wrote: > On Sun, Mar 06, 2022 at 11:01:36AM +0100, Greg Kroah-Hartman wrote: > > On Sun, Mar 06, 2022 at 07:32:05AM +0200, Jarkko Sakkinen wrote: > > > Sometimes you might want to use MAP_POPULATE to ask a device driver to > > > initialize

Re: [PATCH RFC 1/3] mm: Add f_ops->populate()

2022-03-06 Thread Jarkko Sakkinen
On Sun, Mar 06, 2022 at 11:01:36AM +0100, Greg Kroah-Hartman wrote: > On Sun, Mar 06, 2022 at 07:32:05AM +0200, Jarkko Sakkinen wrote: > > Sometimes you might want to use MAP_POPULATE to ask a device driver to > > initialize the device memory in some specific manner. SGX driver can use > > this to

Re: [PATCH RFC 0/3] MAP_POPULATE for device memory

2022-03-06 Thread 'Jarkko Sakkinen'
On Sun, Mar 06, 2022 at 08:30:14AM +, David Laight wrote: > From: Jarkko Sakkinen > > Sent: 06 March 2022 05:32 > > > > For device memory (aka VM_IO | VM_PFNMAP) MAP_POPULATE does nothing. Allow > > to use that for initializing the device memory by providing a new callback > >

Re: Report 2 in ext4 and journal based on v5.17-rc1

2022-03-06 Thread Theodore Ts'o
On Sun, Mar 06, 2022 at 07:51:42PM +0900, Byungchul Park wrote: > > > > Users of DEPT must not have to understand how DEPT works in order to > > Users must not have to understand how Dept works for sure, and haters > must not blame things based on what they guess wrong. For the record, I don't

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2022-03-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 zccrs (zc...@live.com) changed: What|Removed |Added CC||zc...@live.com --- Comment #32

Re: [PATCH RFC 0/3] MAP_POPULATE for device memory

2022-03-06 Thread Matthew Wilcox
On Sun, Mar 06, 2022 at 07:32:04AM +0200, Jarkko Sakkinen wrote: > For device memory (aka VM_IO | VM_PFNMAP) MAP_POPULATE does nothing. Allow > to use that for initializing the device memory by providing a new callback > f_ops->populate() for the purpose. As I said, NAK.

Re: Report 2 in ext4 and journal based on v5.17-rc1

2022-03-06 Thread Byungchul Park
Ted wrote: > On Sat, Mar 05, 2022 at 11:55:34PM +0900, Byungchul Park wrote: > > > that is why some of the DEPT reports were completely incomprehensible > > > > It's because you are blinded to blame at it without understanding how > > Dept works at all. I will fix those that must be fixed. Don't

Re: [PATCH RFC 1/3] mm: Add f_ops->populate()

2022-03-06 Thread Greg Kroah-Hartman
On Sun, Mar 06, 2022 at 07:32:05AM +0200, Jarkko Sakkinen wrote: > Sometimes you might want to use MAP_POPULATE to ask a device driver to > initialize the device memory in some specific manner. SGX driver can use > this to request more memory by issuing ENCLS[EAUG] x86 opcode for each > page in

RE: [PATCH RFC 0/3] MAP_POPULATE for device memory

2022-03-06 Thread David Laight
From: Jarkko Sakkinen > Sent: 06 March 2022 05:32 > > For device memory (aka VM_IO | VM_PFNMAP) MAP_POPULATE does nothing. Allow > to use that for initializing the device memory by providing a new callback > f_ops->populate() for the purpose. > > SGX patches are provided to show the callback in