RE: [PATCH v1] drm/dp/mst: fix missing modeset unlock for MST port detect

2023-09-28 Thread Ramya SR
Hi All , Please review the reply comment. Regards, Ramya SR -Original Message- From: Ramya SR Sent: Thursday, September 28, 2023 7:55 AM To: 'Alex Deucher' ; 'imre.d...@intel.com' Cc: 'Lyude Paul' ; 'Jani Nikula' ; 'Jeff Layton' ; 'linux-ker...@vger.kernel.org' ;

Re: [PATCH 1/3] drm: Spelling s/hardward/hardware/g

2023-09-28 Thread Neil Armstrong
Le 28/09/2023 à 14:16, Geert Uytterhoeven a écrit : Fix misspellings of "hardware". Signed-off-by: Geert Uytterhoeven --- include/drm/drm_bridge.h | 2 +- include/drm/drm_modeset_helper_vtables.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 2/2] drm/panel: Add driver for BOE RM692E5 AMOLED panel

2023-09-28 Thread Neil Armstrong
Le 29/09/2023 à 02:02, Konrad Dybcio a écrit : On 29.09.2023 00:00, Jessica Zhang wrote: Hi Konrad, On 9/27/2023 6:19 AM, Konrad Dybcio wrote: Add support for the 2700x1224 AMOLED BOE panel bundled with a RM692E5 driver IC, as found on the Fairphone 5 smartphone. Co-developed-by: Luca Weiss

[git pull] drm fixes for 6.6-rc4

2023-09-28 Thread Dave Airlie
Hey Linus, Regular pull, this feel suspiciously light so I expect next week might be a bit heavier? lets see how we go. This is from a code point of view ivpu and i915 fixes. The only other patch is adding Danilo Krummrich to the nouveau maintainers, he's agreed to take on more of the roll after

Re: [PATCH v3 6/7] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-09-28 Thread Abhinav Kumar
On 9/27/2023 3:01 PM, Stephen Boyd wrote: Quoting Kuogee Hsieh (2023-09-25 09:07:18) On 9/22/2023 6:35 PM, Abhinav Kumar wrote: Doing link training when we get hpd instead of atomic_enable() is a design choice we have been following for a while because for the case when link training

Re: [PATCH 2/2] drm/panel: Add driver for BOE RM692E5 AMOLED panel

2023-09-28 Thread Konrad Dybcio
On 29.09.2023 00:00, Jessica Zhang wrote: > Hi Konrad, > > On 9/27/2023 6:19 AM, Konrad Dybcio wrote: >> Add support for the 2700x1224 AMOLED BOE panel bundled with a RM692E5 >> driver IC, as found on the Fairphone 5 smartphone. >> >> Co-developed-by: Luca Weiss >> Signed-off-by: Luca Weiss >>

Re: [PATCH v3 6/7] drm/msm/dp: add pm_runtime_force_suspend()/resume()

2023-09-28 Thread Abhinav Kumar
On 9/27/2023 2:41 PM, Stephen Boyd wrote: Quoting Abhinav Kumar (2023-09-22 18:35:27) On 9/22/2023 2:54 PM, Stephen Boyd wrote: Quoting Dmitry Baryshkov (2023-09-19 02:50:12) This should be hpd_notify, who starts link training, not some event. I think this driver should train the link

Re: [Intel-gfx] [PATCH v7 4/4] drm/i915/mtl: Skip MCR ops for ring fault register

2023-09-28 Thread Matt Roper
On Fri, Sep 29, 2023 at 12:14:37AM +0200, Andrzej Hajda wrote: > On 28.09.2023 15:00, Nirmoy Das wrote: > > On MTL GEN12_RING_FAULT_REG is not replicated so don't > > do mcr based operation for this register. > > > > v2: use MEDIA_VER() instead of GRAPHICS_VER()(Matt). > > v3: s/"MEDIA_VER(i915)

Re: [Intel-gfx] [PATCH v7 4/4] drm/i915/mtl: Skip MCR ops for ring fault register

2023-09-28 Thread Andrzej Hajda
On 28.09.2023 15:00, Nirmoy Das wrote: On MTL GEN12_RING_FAULT_REG is not replicated so don't do mcr based operation for this register. v2: use MEDIA_VER() instead of GRAPHICS_VER()(Matt). v3: s/"MEDIA_VER(i915) == 13"/"MEDIA_VER(i915) >= 13"(Matt) improve comment. v4: improve the comment

Re: [PATCH 2/2] drm/panel: Add driver for BOE RM692E5 AMOLED panel

2023-09-28 Thread Jessica Zhang
Hi Konrad, On 9/27/2023 6:19 AM, Konrad Dybcio wrote: Add support for the 2700x1224 AMOLED BOE panel bundled with a RM692E5 driver IC, as found on the Fairphone 5 smartphone. Co-developed-by: Luca Weiss Signed-off-by: Luca Weiss Signed-off-by: Konrad Dybcio ---

Re: [PATCH 0/5] Add the pci_get_base_class() helper and use it

2023-09-28 Thread Bjorn Helgaas
On Fri, Aug 25, 2023 at 02:27:09PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > There is no function that can be used to get all PCI(e) devices in a > system by matching against its the PCI base class code only, while keep > the sub-class code and the programming interface ignored.

Re: [Intel-gfx] [PATCH v7 2/4] drm/i915: Introduce the intel_gt_resume_early()

2023-09-28 Thread Andrzej Hajda
On 28.09.2023 15:00, Nirmoy Das wrote: Move early resume functions of gt to a proper file. Signed-off-by: Nirmoy Das Reviewed-by: Andrzej Hajda Regards Andrzej --- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 6 ++ drivers/gpu/drm/i915/gt/intel_gt_pm.h | 1 +

Re: [PATCH v3 0/4] Fix up the boe-tv101wum-nl6 panel driver

2023-09-28 Thread Linus Walleij
On Tue, Sep 26, 2023 at 11:49 PM Doug Anderson wrote: > > I'm curious what the latest on this patch series is. Is it abandoned, > > or is it still on your list to move forward with it? If it's > > abandoned, does that mean we've abandoned the idea of breaking > > ili9882t into a separate driver?

Re: [Intel-gfx] [PATCH v7 1/4] drm/i915: Introduce intel_gt_mcr_lock_sanitize()

2023-09-28 Thread Andrzej Hajda
On 28.09.2023 15:00, Nirmoy Das wrote: Implement intel_gt_mcr_lock_sanitize() to provide a mechanism for cleaning the steer semaphore when absolutely necessary. v2: remove unnecessary lock(Andi, Matt) improve the kernel doc(Matt) s/intel_gt_mcr_lock_clear/intel_gt_mcr_lock_sanitize

Re: [PATCH] drm: panel-orientation-quirks: Add quirk for One Mix 2S

2023-09-28 Thread Hans de Goede
Hi, On 9/28/23 21:35, Kai Uwe Broulik wrote: > The One Mix 2S is a mini laptop with a 1200x1920 portrait screen > mounted in a landscape oriented clamshell case. Because of the too > generic DMI strings this entry is also doing bios-date matching. > > Signed-off-by: Kai Uwe Broulik Thanks,

Re: [PATCH v3 07/32] drm/amd/display: document AMDGPU pre-defined transfer functions

2023-09-28 Thread Harry Wentland
On 2023-09-25 15:49, Melissa Wen wrote: > Brief documentation about pre-defined transfer function usage on AMD > display driver and standardized EOTFs and inverse EOTFs. > > v3: > - Document BT709 OETF (Pekka) > - Fix description of sRGB and pure power funcs (Pekka) > > Co-developed-by: Harry

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Ray Strode
hI, On Thu, Sep 28, 2023 at 11:05 AM Ville Syrjälä wrote: > Here's my earlier take on this: > https://patchwork.freedesktop.org/series/108668/ Nice. Was there push back? Why didn't it go in? > execpt I went further and moved the flush past the unlock in the end. Is that necessary? I was

[PATCH drm-misc-next v5 6/6] drm/nouveau: use GPUVM common infrastructure

2023-09-28 Thread Danilo Krummrich
GPUVM provides common infrastructure to track external and evicted GEM objects as well as locking and validation helpers. Especially external and evicted object tracking is a huge improvement compared to the current brute force approach of iterating all mappings in order to lock and validate the

[PATCH drm-misc-next v5 3/6] drm/gpuvm: add an abstraction for a VM / BO combination

2023-09-28 Thread Danilo Krummrich
This patch adds an abstraction layer between the drm_gpuva mappings of a particular drm_gem_object and this GEM object itself. The abstraction represents a combination of a drm_gem_object and drm_gpuvm. The drm_gem_object holds a list of drm_gpuvm_bo structures (the structure representing this

[PATCH drm-misc-next v5 5/6] drm/nouveau: make use of the GPUVM's shared dma-resv

2023-09-28 Thread Danilo Krummrich
DRM GEM objects private to a single GPUVM can use a shared dma-resv. Make use of the shared dma-resv of GPUVM rather than a driver specific one. The shared dma-resv originates from a "root" GEM object serving as container for the dma-resv to make it compatible with drm_exec. In order to make

[PATCH drm-misc-next v5 4/6] drm/gpuvm: track/lock/validate external/evicted objects

2023-09-28 Thread Danilo Krummrich
Currently the DRM GPUVM offers common infrastructure to track GPU VA allocations and mappings, generically connect GPU VA mappings to their backing buffers and perform more complex mapping operations on the GPU VA space. However, there are more design patterns commonly used by drivers, which can

[PATCH drm-misc-next v5 2/6] drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm

2023-09-28 Thread Danilo Krummrich
Introduce flags for struct drm_gpuvm, this required by subsequent commits. Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/drm_gpuvm.c| 4 +++- drivers/gpu/drm/nouveau/nouveau_uvmm.c | 2 +- include/drm/drm_gpuvm.h| 17 - 3 files changed, 20

[PATCH drm-misc-next v5 1/6] drm/gpuvm: add common dma-resv per struct drm_gpuvm

2023-09-28 Thread Danilo Krummrich
Provide a common dma-resv for GEM objects not being used outside of this GPU-VM. This is used in a subsequent patch to generalize dma-resv, external and evicted object handling and GEM validation. Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/drm_gpuvm.c| 56

[PATCH drm-misc-next v5 0/6] [RFC] DRM GPUVM features

2023-09-28 Thread Danilo Krummrich
Currently GPUVM offers common infrastructure to track GPU VA allocations and mappings, generically connect GPU VA mappings to their backing buffers and perform more complex mapping operations on the GPU VA space. However, there are more design patterns commonly used by drivers, which can

Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-28 Thread Felix Kuehling
On 2023-09-28 11:38, Shashank Sharma wrote: Hello Felix, Mukul, On 28/09/2023 17:30, Felix Kuehling wrote: On 2023-09-28 10:30, Joshi, Mukul wrote: [AMD Official Use Only - General] -Original Message- From: Yadav, Arvind Sent: Thursday, September 28, 2023 5:54 AM To: Koenig,

Re: [PATCH v4 17/17] arm64: dts: qcom: sm6125-seine: Configure MDSS, DSI and panel

2023-09-28 Thread Rob Herring
On Sun, Jul 23, 2023 at 11:09 AM Marijn Suijten wrote: > > Enable MDSS and DSI, and configure the Samsung SOFEF01-M ams597ut01 > 6.0" 1080x2520 panel. > > Reviewed-by: Konrad Dybcio > Signed-off-by: Marijn Suijten > --- > .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts | 59 >

Re: [PATCH 11/15] sgi-xp: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Steve Wahl
On Thu, Sep 28, 2023 at 03:21:36PM +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel

Re: [PATCH 5/9] dma-buf: heaps: mtk_sec_heap: Initialise tee session

2023-09-28 Thread Jeffrey Kardatzke
On Thu, Sep 28, 2023 at 1:30 AM Benjamin Gaignard wrote: > > > Le 27/09/2023 à 20:56, Jeffrey Kardatzke a écrit : > > On Wed, Sep 27, 2023 at 8:18 AM Benjamin Gaignard > > wrote: > >> > >> Le 27/09/2023 à 15:46, Joakim Bech a écrit : > >>> On Mon, Sep 25, 2023 at 12:49:50PM +, Yong Wu (吴勇)

Re: [PATCH 1/2] dt-bindings: display: panel: Add Raydium RM692E5

2023-09-28 Thread Konrad Dybcio
On 28.09.2023 19:09, Conor Dooley wrote: > On Wed, Sep 27, 2023 at 03:19:01PM +0200, Konrad Dybcio wrote: >> Raydium RM692E5 is a display driver IC used to drive AMOLED DSI panels. >> Describe it. >> >> Signed-off-by: Konrad Dybcio >> --- >> .../bindings/display/panel/raydium,rm692e5.yaml|

Re: [PATCH 1/2] dt-bindings: display: panel: Add Raydium RM692E5

2023-09-28 Thread Conor Dooley
On Wed, Sep 27, 2023 at 03:19:01PM +0200, Konrad Dybcio wrote: > Raydium RM692E5 is a display driver IC used to drive AMOLED DSI panels. > Describe it. > > Signed-off-by: Konrad Dybcio > --- > .../bindings/display/panel/raydium,rm692e5.yaml| 73 > ++ > 1 file changed,

Re: [PATCH v7 1/4] drm/i915: Introduce intel_gt_mcr_lock_sanitize()

2023-09-28 Thread Matt Roper
On Thu, Sep 28, 2023 at 03:00:12PM +0200, Nirmoy Das wrote: > Implement intel_gt_mcr_lock_sanitize() to provide a mechanism > for cleaning the steer semaphore when absolutely necessary. > > v2: remove unnecessary lock(Andi, Matt) > improve the kernel doc(Matt) >

Re: [PATCH v6 12/16] dt-bindings: display: mediatek: color: add compatible for MT8195

2023-09-28 Thread Conor Dooley
On Thu, Sep 28, 2023 at 02:52:23AM +, Moudy Ho (何宗原) wrote: > On Wed, 2023-09-27 at 10:47 +0100, Conor Dooley wrote: > > On Wed, Sep 27, 2023 at 07:19:28AM +, Moudy Ho (何宗原) wrote: > > > On Fri, 2023-09-22 at 16:51 +0100, Conor Dooley wrote: > > > > On Fri, Sep 22, 2023 at 04:49:14PM

Re: [PATCH 00/15] sysctl: Remove sentinel elements from drivers

2023-09-28 Thread Christophe Leroy
Le 28/09/2023 à 15:21, Joel Granados via B4 Relay a écrit : > From: Joel Granados Automatic test fails on powerpc, see https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20230928-jag-sysctl_remove_empty_elem_drivers-v1-15-e59120fca...@samsung.com/ Kernel attempted to read user p

Re: [PATCH drm-misc-next 1/3] drm/sched: implement dynamic job flow control

2023-09-28 Thread Boris Brezillon
On Thu, 28 Sep 2023 10:44:47 -0400 Luben Tuikov wrote: > >> > >> What we can do is the follow: > >> 1. The scheduler has some initial credits it can use to push jobs. > >> 2. Each scheduler fence (and *not* the job) has a credits field of how > >> much it will use. > > > > When are the

Re: [PATCH 2/6] dt-bindings: display/msm: sdm845-dpu: Describe SDM670

2023-09-28 Thread Rob Herring
On Mon, 25 Sep 2023 19:26:29 -0400, Richard Acayan wrote: > The SDM670 display controller has the same requirements as the SDM845 > display controller, despite having distinct properties as described in > the catalog. Add the compatible for SDM670 to the SDM845 controller. > > Signed-off-by:

Re: [PATCH 3/6] dt-bindings: display: msm: Add SDM670 MDSS

2023-09-28 Thread Rob Herring
On Mon, Sep 25, 2023 at 07:26:30PM -0400, Richard Acayan wrote: > Add documentation for the SDM670 display subsystem, adapted from the > SDM845 and SM6125 documentation. > > Signed-off-by: Richard Acayan > --- > .../display/msm/qcom,sdm670-mdss.yaml | 280 ++ > 1 file

Re: [PATCH 1/6] dt-bindings: display/msm: dsi-controller-main: add SDM670 compatible

2023-09-28 Thread Rob Herring
On Mon, 25 Sep 2023 19:26:28 -0400, Richard Acayan wrote: > The SDM670 has DSI ports. Add the compatible for the controller. > > Signed-off-by: Richard Acayan > --- > .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob

Re: [PATCH v4 05/10] drm/sched: Split free_job into own work item

2023-09-28 Thread Luben Tuikov
On 2023-09-19 01:01, Matthew Brost wrote: > Rather than call free_job and run_job in same work item have a dedicated > work item for each. This aligns with the design and intended use of work > queues. > > v2: >- Test for DMA_FENCE_FLAG_TIMESTAMP_BIT before setting > timestamp in

Re: [PATCH] drm/radeon/kms/atom: Remove redundant code

2023-09-28 Thread Alex Deucher
On Thu, Sep 28, 2023 at 5:46 AM Jiapeng Chong wrote: > > drivers/gpu/drm/radeon/atom.c:396 atom_skip_src_int() warn: ignoring > unreachable code. > > Reported-by: Abaci Robot > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6713 > Signed-off-by: Jiapeng Chong > --- >

Re: [PATCH v3 2/3] drm/panic: Add a drm panic handler

2023-09-28 Thread Jocelyn Falempe
On 28/09/2023 11:30, Thomas Zimmermann wrote: Am 27.09.23 um 19:22 schrieb Jocelyn Falempe: This module displays a user friendly message when a kernel panic occurs. It currently doesn't contain any debug information, but that can be added later. v2   * Use get_scanout_buffer() instead of the

Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-28 Thread Shashank Sharma
Hello Felix, Mukul, On 28/09/2023 17:30, Felix Kuehling wrote: On 2023-09-28 10:30, Joshi, Mukul wrote: [AMD Official Use Only - General] -Original Message- From: Yadav, Arvind Sent: Thursday, September 28, 2023 5:54 AM To: Koenig, Christian ; Deucher, Alexander ; Sharma, Shashank ;

Re: [PATCH/RFC 3/3] drm: Split drm_modeset_helper_vtables.h

2023-09-28 Thread Geert Uytterhoeven
Hi Thomas, On Thu, Sep 28, 2023 at 3:59 PM Thomas Zimmermann wrote: > Am 28.09.23 um 14:16 schrieb Geert Uytterhoeven: > > is the second largest header file in > > the DRM subsystem, and declares helpers vtables for various DRM > > components. Several vtables contain methods with the same

Re: Requests For Proposals for hosting XDC 2024 are now open

2023-09-28 Thread Ricardo Garcia
The period to submit XDC 2024 hosting proposals has been extended and the new deadline is **November 1, 2023** Please, submit your proposals as soon as possible, thank you! On Mon, 2023-06-19 at 15:43 +0200, Ricardo Garcia wrote: > Hello everyone! > > The X.org board is soliciting proposals to

Re: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-28 Thread Felix Kuehling
On 2023-09-28 10:30, Joshi, Mukul wrote: [AMD Official Use Only - General] -Original Message- From: Yadav, Arvind Sent: Thursday, September 28, 2023 5:54 AM To: Koenig, Christian ; Deucher, Alexander ; Sharma, Shashank ; Kuehling, Felix ; Joshi, Mukul ; Pan, Xinhui ;

Re: [PATCH 14/15] hyper-v/azure: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Wei Liu
Please change the prefix to "Drivers: hv:" in the subject line in the two patches. On Thu, Sep 28, 2023 at 03:21:39PM +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the

Re: [PATCH 13/15] raid: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Song Liu
On Thu, Sep 28, 2023 at 6:20 AM Joel Granados via B4 Relay wrote: > > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel and run

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Michel Dänzer
On 9/28/23 16:51, Christian König wrote: > Am 28.09.23 um 15:37 schrieb Michel Dänzer: >> On 9/28/23 14:59, Ray Strode wrote: >>> On Thu, Sep 28, 2023 at 5:43 AM Michel Dänzer >>> wrote: >>> When it's really not desirable to account the CPU overhead to the >>> process initiating it then

Re: [PATCH 9/9] drm/v3d: Annotate struct v3d_perfmon with __counted_by

2023-09-28 Thread Maira Canal
Hi Kees, On 9/22/23 14:32, Kees Cook wrote: Prepare for the coming implementation by GCC and Clang of the __counted_by attribute. Flexible array members annotated with __counted_by can have their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS (for array indexing) and

Re: [PATCH 3/3] drm/v3d: add brcm, 2712-v3d as a compatible V3D device

2023-09-28 Thread Maira Canal
Please, add a commit message and your s-o-b. Apart from that, Reviewed-by: Maíra Canal Best Regards, - Maíra On 9/28/23 08:45, Iago Toral Quiroga wrote: --- drivers/gpu/drm/v3d/v3d_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/v3d/v3d_drv.c

Re: [PATCH 2/3] drm/v3d: update UAPI to match user-space for V3D 7.x

2023-09-28 Thread Maira Canal
Hi Iago, On 9/28/23 08:45, Iago Toral Quiroga wrote: V3D t.x takes a new parameter to configure TFU jobs that needs I believe t.x should be 7.x. to be provided by user space. As I mentioned before, please, add your s-o-b. --- include/uapi/drm/v3d_drm.h | 5 + 1 file changed, 5

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Ville Syrjälä
On Tue, Sep 26, 2023 at 01:05:49PM -0400, Ray Strode wrote: > From: Ray Strode > > A drm atomic commit can be quite slow on some hardware. It can lead > to a lengthy queue of commands that need to get processed and waited > on before control can go back to user space. > > If user space is a

Re: [PATCH 1/3] drm/v3d: fix up register addresses for V3D 7.x

2023-09-28 Thread Maira Canal
Hi Iago, On 9/28/23 08:45, Iago Toral Quiroga wrote: Please, add a commit message and your s-o-b to the patch. Here is a reference on how to format your patches [1]. Also, please, run checkpatch on this patch and address the warnings. [1]

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Christian König
Am 28.09.23 um 15:58 schrieb Michel Dänzer: On 9/28/23 15:23, Christian König wrote: What you need to do here is to report those problems to the driver teams and not try to hide them this way. See the linked issue: https://gitlab.freedesktop.org/drm/amd/-/issues/2861 (BTW, the original

Re: [PATCH v9 1/7] drm: bridge: Cadence: convert mailbox functions to macro functions

2023-09-28 Thread Sandor Yu
Hi Dmitry, Thanks your comments, > -Original Message- > From: Dmitry Baryshkov > Sent: 2023年9月28日 18:39 > > On 07/09/2023 04:05, Sandor Yu wrote: > > MHDP8546 mailbox access functions will be share to other mhdp driver > > and Cadence HDP-TX HDMI/DP PHY drivers. > > Move those

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Christian König
Am 28.09.23 um 15:37 schrieb Michel Dänzer: On 9/28/23 14:59, Ray Strode wrote: On Thu, Sep 28, 2023 at 5:43 AM Michel Dänzer wrote: When it's really not desirable to account the CPU overhead to the process initiating it then you probably rather want to use an non blocking commit plus a

Re: [PATCH drm-misc-next 1/3] drm/sched: implement dynamic job flow control

2023-09-28 Thread Luben Tuikov
On 2023-09-28 04:02, Boris Brezillon wrote: > On Wed, 27 Sep 2023 13:54:38 +0200 > Christian König wrote: > >> Am 26.09.23 um 09:11 schrieb Boris Brezillon: >>> On Mon, 25 Sep 2023 19:55:21 +0200 >>> Christian König wrote: >>> Am 25.09.23 um 14:55 schrieb Boris Brezillon: > +The

RE: [PATCH v2 1/1] drm/amdkfd: Fix unaligned doorbell absolute offset for gfx8

2023-09-28 Thread Joshi, Mukul
[AMD Official Use Only - General] > -Original Message- > From: Yadav, Arvind > Sent: Thursday, September 28, 2023 5:54 AM > To: Koenig, Christian ; Deucher, Alexander > ; Sharma, Shashank > ; Kuehling, Felix ; > Joshi, Mukul ; Pan, Xinhui ; > airl...@gmail.com; dan...@ffwll.ch > Cc:

[PULL] drm-intel-fixes

2023-09-28 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-fixes-2023-09-28: - Fix a panic regression on gen8_ggtt_insert_entries (Matthew Wilcox) - Fix load issue due to reservation address in ggtt_reserve_guc_top (Javier Pello) - Fix a possible deadlock with guc busyness worker (Umesh) Thanks, Rodrigo. The

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Ray Strode
Hi, On Thu, Sep 28, 2023 at 9:24 AM Christian König wrote: > If you see a large delay in the dpms off case then we probably have a driver > bug somewhere. This is something we both agree on, I think. >> I'm getting the idea that you think there is some big bucket of kernel >> syscalls that

Re: (subset) [PATCH v3 1/2] dt-bindings: backlight: Add MPS MP3309C

2023-09-28 Thread Lee Jones
On Mon, 25 Sep 2023 14:26:08 +0200, Flavio Suligoi wrote: > The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a > programmable switching frequency to optimize efficiency. > The brightness can be controlled either by I2C commands (called "analog" > mode) or by a PWM input

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Michel Dänzer
On 9/28/23 15:23, Christian König wrote: > > What you need to do here is to report those problems to the driver teams and > not try to hide them this way. See the linked issue: https://gitlab.freedesktop.org/drm/amd/-/issues/2861 (BTW, the original reporter of that issue isn't hitting it with

Re: [PATCH v7 2/4] drm/i915: Introduce the intel_gt_resume_early()

2023-09-28 Thread Andi Shyti
Hi Nirmoy, On Thu, Sep 28, 2023 at 03:00:13PM +0200, Nirmoy Das wrote: > Move early resume functions of gt to a proper file. > > Signed-off-by: Nirmoy Das Reviewed-by: Andi Shyti Andi

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Michel Dänzer
On 9/28/23 14:59, Ray Strode wrote: > On Thu, Sep 28, 2023 at 5:43 AM Michel Dänzer > wrote: > When it's really not desirable to account the CPU overhead to the > process initiating it then you probably rather want to use an non > blocking commit plus a dma_fence to wait for the work

Re: [PATCH 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Greg Kroah-Hartman
On Thu, Sep 28, 2023 at 03:21:26PM +0200, Joel Granados via B4 Relay wrote: > From: Joel Granados > > This commit comes at the tail end of a greater effort to remove the > empty elements at the end of the ctl_table arrays (sentinels) which > will reduce the overall build time size of the kernel

Re: [PATCH v7 1/4] drm/i915: Introduce intel_gt_mcr_lock_sanitize()

2023-09-28 Thread Andi Shyti
Hi Nirmoy, On Thu, Sep 28, 2023 at 03:00:12PM +0200, Nirmoy Das wrote: > Implement intel_gt_mcr_lock_sanitize() to provide a mechanism > for cleaning the steer semaphore when absolutely necessary. > > v2: remove unnecessary lock(Andi, Matt) > improve the kernel doc(Matt) >

[PATCH] accel/habanalabs/gaudi2: fix spmu mask creation

2023-09-28 Thread Oded Gabbay
event_types_num received from the user can be 0. In that case, the event_mask should be 0. In addition, to create a correct mask we need to match the number of event types to the bit location such that bit 0 represents a single event type, bit 1 represents 2 types and so on. Signed-off-by: Oded

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Christian König
Hi, Am 28.09.23 um 14:46 schrieb Ray Strode: Hi, On Thu, Sep 28, 2023 at 2:56 AM Christian König wrote: To say the "whole point" is about CPU overhead accounting sounds rather absurd to me. Is that really what you meant? Yes, absolutely. See the functionality you try to implement already

[PATCH 15/15] intel drm: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 04/15] tty: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 11/15] sgi-xp: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 14/15] hyper-v/azure: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 13/15] raid: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 09/15] char-misc: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 12/15] fw loader: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 08/15] infiniband: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 03/15] xen: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 06/15] parport: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 10/15] vrf: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 07/15] macintosh: Remove the now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 05/15] scsi: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 02/15] hpet: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH 00/15] sysctl: Remove sentinel elements from drivers

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados What? These commits remove the sentinel element (last empty element) from the sysctl arrays of all the files under the "drivers/" directory that use a sysctl array for registration. The merging of the preparation patches (in

[PATCH 01/15] cdrom: Remove now superfluous sentinel element from ctl_table array

2023-09-28 Thread Joel Granados via B4 Relay
From: Joel Granados This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link :

[PATCH v7 4/4] drm/i915/mtl: Skip MCR ops for ring fault register

2023-09-28 Thread Nirmoy Das
On MTL GEN12_RING_FAULT_REG is not replicated so don't do mcr based operation for this register. v2: use MEDIA_VER() instead of GRAPHICS_VER()(Matt). v3: s/"MEDIA_VER(i915) == 13"/"MEDIA_VER(i915) >= 13"(Matt) improve comment. v4: improve the comment further(Andi) Signed-off-by: Nirmoy Das

[PATCH v7 3/4] drm/i915: Clean steer semaphore on resume

2023-09-28 Thread Nirmoy Das
During resume, the steer semaphore on GT1 was observed to be held. The hardware team has confirmed the safety of clearing steer semaphores for all GTs during driver load/resume, as no lock acquisitions can occur in this process by other agents. v2: reset on resume not in intel_gt_init(). v3: do

[PATCH v7 2/4] drm/i915: Introduce the intel_gt_resume_early()

2023-09-28 Thread Nirmoy Das
Move early resume functions of gt to a proper file. Signed-off-by: Nirmoy Das --- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 6 ++ drivers/gpu/drm/i915/gt/intel_gt_pm.h | 1 + drivers/gpu/drm/i915/i915_driver.c| 6 ++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git

[PATCH v7 1/4] drm/i915: Introduce intel_gt_mcr_lock_sanitize()

2023-09-28 Thread Nirmoy Das
Implement intel_gt_mcr_lock_sanitize() to provide a mechanism for cleaning the steer semaphore when absolutely necessary. v2: remove unnecessary lock(Andi, Matt) improve the kernel doc(Matt) s/intel_gt_mcr_lock_clear/intel_gt_mcr_lock_sanitize Signed-off-by: Nirmoy Das ---

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Ray Strode
hi, On Thu, Sep 28, 2023 at 5:43 AM Michel Dänzer wrote: > >>> When it's really not desirable to account the CPU overhead to the > >>> process initiating it then you probably rather want to use an non > >>> blocking commit plus a dma_fence to wait for the work to end from > >>> userspace. > >>

[PATCH v4 2/2] drm/bridge: imx: add driver for HDMI TX Parallel Video Interface

2023-09-28 Thread Lucas Stach
This IP block is found in the HDMI subsystem of the i.MX8MP SoC. It has a full timing generator and can switch between different video sources. On the i.MX8MP however the only supported source is the LCDIF. The block just needs to be powered up and told about the polarity of the video sync signals

[PATCH v4 1/2] dt-bindings: display: imx: add binding for i.MX8MP HDMI PVI

2023-09-28 Thread Lucas Stach
Add binding for the i.MX8MP HDMI parallel video interface block. Signed-off-by: Lucas Stach Reviewed-by: Laurent Pinchart --- .../display/imx/fsl,imx8mp-hdmi-pvi.yaml | 83 +++ 1 file changed, 83 insertions(+) create mode 100644

Re: [PATCH] drm/vmwgfx: Keep a gem reference to user bos in surfaces

2023-09-28 Thread Martin Krastev (VMware)
From: Martin Krastev LGTM Reviewed-by: Martin Krastev Regards, Martin On 28.09.23 г. 7:13 ч., Zack Rusin wrote: From: Zack Rusin Surfaces can be backed (i.e. stored in) memory objects (mob's) which are created and managed by the userspace as GEM buffers. Surfaces grab only a ttm

Re: [Intel-gfx] [PATCH] drm/i915/gem: Allow users to disable waitboost

2023-09-28 Thread Tvrtko Ursulin
On 27/09/2023 20:34, Belgaumkar, Vinay wrote: On 9/21/2023 3:41 AM, Tvrtko Ursulin wrote: On 20/09/2023 22:56, Vinay Belgaumkar wrote: Provide a bit to disable waitboost while waiting on a gem object. Waitboost results in increased power consumption by requesting RP0 while waiting for the

Re: [PATCH 1/7] drm: Do not round to megabytes for greater than 1MiB sizes in fdinfo stats

2023-09-28 Thread Tvrtko Ursulin
On 27/09/2023 14:48, Steven Price wrote: On 27/09/2023 14:38, Tvrtko Ursulin wrote: From: Tvrtko Ursulin It is better not to lose precision and not revert to 1 MiB size granularity for every size greater than 1 MiB. Sizes in KiB should not be so troublesome to read (and in fact machine

Re: [PATCH] drm/atomic: Perform blocking commits on workqueue

2023-09-28 Thread Ray Strode
Hi, On Thu, Sep 28, 2023 at 2:56 AM Christian König wrote: > > To say the "whole point" is about CPU overhead accounting sounds > > rather absurd to me. Is that really what you meant? > > Yes, absolutely. See the functionality you try to implement already exists. You say lower in this same

Re: [Intel-gfx] [PATCH v4 3/3] drm/i915/gt: Timeout when waiting for idle in suspending

2023-09-28 Thread Tvrtko Ursulin
On 27/09/2023 17:36, Teres Alexis, Alan Previn wrote: Thanks for taking the time to review this Tvrtko, replies inline below. On Wed, 2023-09-27 at 10:02 +0100, Tvrtko Ursulin wrote: On 26/09/2023 20:05, Alan Previn wrote: When suspending, add a timeout when calling

Re: [PATCH v6 3/4] drm/i915: Reset steer semaphore for media GT on resume

2023-09-28 Thread Andi Shyti
> > > During resume, the steer semaphore on GT1 was observed to be held. The > > > hardware team has confirmed the safety of clearing the steer semaphore > > > during driver load/resume, as no lock acquisitions can occur in this > > > process by other agents. > > > > > > v2: reset on resume not

[PULL] drm-intel-gt-next

2023-09-28 Thread Tvrtko Ursulin
Hi Dave, Daniel, Here goes the first pull request for 6.7. Nothing major in this round - a bunch of fixes, mostly relating to various GuC and PXP features/functionalities, and a few new mostly DG2 workarounds. Tiny bit or Meteorlake enablement and a tiny bit of selftests fixes and even less

Re: [PATCH drm-misc-next v4 6/8] drm/gpuvm: add drm_gpuvm_flags to drm_gpuvm

2023-09-28 Thread Boris Brezillon
On Wed, 27 Sep 2023 18:52:55 +0200 Danilo Krummrich wrote: > On 9/22/23 13:58, Boris Brezillon wrote: > > On Wed, 20 Sep 2023 16:42:39 +0200 > > Danilo Krummrich wrote: > > > >> +/** > >> + * enum drm_gpuvm_flags - flags for struct drm_gpuvm > >> + */ > >> +enum drm_gpuvm_flags { > >> + /**

Re: [PATCH v3 01/15] phy: Add HDMI configuration options

2023-09-28 Thread Konrad Dybcio
On 28.09.2023 13:16, Dmitry Baryshkov wrote: > From: Sandor Yu > > Allow HDMI PHYs to be configured through the generic > functions through a custom structure added to the generic union. > > The parameters added here are based on HDMI PHY > implementation practices. The current set of

[PATCH 2/3] drm: Spelling s/preceeding/preceding/g

2023-09-28 Thread Geert Uytterhoeven
Fix misspellings of "preceding". Signed-off-by: Geert Uytterhoeven --- drivers/gpu/drm/drm_atomic_helper.c | 4 ++-- include/drm/drm_modeset_helper_vtables.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c

  1   2   >