Re: [PATCH] drm/gpuvm: Wrap drm_gpuvm_sm_map_exec_lock() expected usage in literal code block

2025-07-09 Thread Bagas Sanjaya
On Wed, Jul 09, 2025 at 09:37:36AM +0200, Danilo Krummrich wrote: > I assume this has to go through the MSM tree? Of course! -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

[PATCH] drm/gpuvm: Wrap drm_gpuvm_sm_map_exec_lock() expected usage in literal code block

2025-07-08 Thread Bagas Sanjaya
. [docutils] Fix these by wrapping drm_gpuvm_sm_map_exec_lock() expected usage example in literal code block. Fixes: 471920ce25d5 ("drm/gpuvm: Add locking helpers") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20250708192038.6b0fd...@canb.auug.org.au/ Signed-off

Re: [PATCH v4 3/3] drm/doc: Fix grammar for "Task information"

2025-07-08 Thread Bagas Sanjaya
On Fri, Jul 04, 2025 at 04:07:24PM -0300, André Almeida wrote: > Remove the repetitive wording at the end of "Task information" section. > Looks good, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v4 1/3] drm/doc: Fix title underline for "Task information"

2025-07-08 Thread Bagas Sanjaya
On Fri, Jul 04, 2025 at 04:07:22PM -0300, André Almeida wrote: > Task information > > + > LGTM, thanks! Tested-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v3 7/7] Documentation: gpu: nova-core: Document basics of the Falcon

2025-07-02 Thread Bagas Sanjaya
+ | | Memory Protect) | > + | +---^---+ | > + | | | > + | | Protected Access Path for FBDMA | > + | v

Re: [PATCH v3 4/7] Documentation: gpu: nova-core: Document vbios layout

2025-07-02 Thread Bagas Sanjaya
On Wed, Jul 02, 2025 at 08:00:41PM +0900, Alexandre Courbot wrote: > diff --git a/Documentation/gpu/nova/core/vbios.rst > b/Documentation/gpu/nova/core/vbios.rst > new file mode 100644 > index > ..55d7dd4a6658c2a20cc5617f96b278bc4ec2ba17 > --- /dev/null > +

Re: [PATCH v3 6/7] Documentation: gpu: nova-core: Document fwsec operation and layout

2025-07-02 Thread Bagas Sanjaya
On Wed, Jul 02, 2025 at 08:00:43PM +0900, Alexandre Courbot wrote: > +FWSEC Memory Layout > +--- > +The memory layout of the FWSEC image is as follows (this is using an GA-102 > +Ampere GPU as an example and could vary for future GPUs and is subject to > change > +completely, it is

Re: [PATCH v3 5/7] Documentation: gpu: nova-core: Document devinit process

2025-07-02 Thread Bagas Sanjaya
> example, before > +accessing certain completion status registers, the driver must check > privilege level > +masks. Some registers are only accessible after secure firmware (FWSEC) > lowers the > +privilege level to allow CPU (LS/low-secure) access. This is the case, for > example, > +when receiving the GFW_BOOT signal. The wording LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v2] workaround for Sphinx false positive preventing indexing

2025-06-27 Thread Bagas Sanjaya
-554,8 +554,10 @@ DRM specific patterns. Note that ENOTTY has the slightly > unintuitive meaning of > .. kernel-doc:: include/drm/drm_ioctl.h > :internal: > > +.. c:namespace-push:: gpu_drm > .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c > :export: > +.. c:namespace-pop:: >

[PATCH v2] Documentation: nouveau: Update GSP message queue kernel-doc reference

2025-06-10 Thread Bagas Sanjaya
uot;drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/") Fixes: 8a8b1ec5261f ("drm/nouveau/gsp: split rpc handling out on its own") Signed-off-by: Bagas Sanjaya --- Changes since v1 [1]: - Correct GSP kernel-doc reference file (Randy) [1]: https://lore.kernel.org/

Re: [PATCH] Documentation: nouveau: Update GSP message queue kernel-doc reference

2025-06-10 Thread Bagas Sanjaya
On Tue, Jun 10, 2025 at 12:34:06AM -0700, Randy Dunlap wrote: > > > On 6/9/25 11:52 PM, Bagas Sanjaya wrote: > > Commit c472d828348caf ("drm/nouveau/gsp: move subdev/engine impls to > > subdev/gsp/rm/r535/") moves GSP-RM message queue implementation in > > dr

[PATCH] Documentation: nouveau: Update GSP message queue kernel-doc reference

2025-06-09 Thread Bagas Sanjaya
engine impls to subdev/gsp/rm/r535/") Signed-off-by: Bagas Sanjaya --- Documentation/gpu/nouveau.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/nouveau.rst b/Documentation/gpu/nouveau.rst index b8c801e0068cb0..878fb1ade31e4c 100644 --- a/Documenta

Re: [PATCH v4] drm: add overview diagram for drm stack

2025-06-04 Thread Bagas Sanjaya
On Wed, Jun 04, 2025 at 04:37:27PM +0200, Simona Vetter wrote: > On Mon, Jun 02, 2025 at 08:28:30AM +0700, Bagas Sanjaya wrote: > > On Sun, Jun 01, 2025 at 06:18:47PM -0400, Abdulrasaq Lawani wrote: > > > Add an overview diagram of Linux DRM architecture for > > &

Re: [PATCH v4] drm: add overview diagram for drm stack

2025-06-01 Thread Bagas Sanjaya
| > +v v > +++ +---+ > +| GPU Display HW | | GPU Compute Units | > +++ +---+ > + > > Style Guidelines > > The patch LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v3] drm: add overview diagram for drm stack

2025-05-28 Thread Bagas Sanjaya
On Tue, May 27, 2025 at 03:17:43AM -0400, Abdulrasaq Lawani wrote: > revert promotion of overview diagram title to that > of previous commit in introduction.rst > The patch description doesn't really describe the diff below, which is to add overview diagram instead. Maybe you can replace that wit

Re: [PATCH v2 2/2] drm: add overview diagram for drm stack

2025-05-25 Thread Bagas Sanjaya
On Fri, May 23, 2025 at 03:52:26PM -0400, Abdulrasaq Lawani wrote: > diff --git a/Documentation/gpu/introduction.rst > b/Documentation/gpu/introduction.rst > index > 91bb0efc96d69921a122c5265b1431fa18110a7a..2653048ad4bb0ecbc2b676295440442dddbabae6 > 100644 > --- a/Documentation/gpu/introduction

Re: [PATCH] drm: add overview diagram for drm stack

2025-05-22 Thread Bagas Sanjaya
On Thu, May 22, 2025 at 06:20:27PM -0400, Abdulrasaq Lawani wrote: > -[Insert diagram of typical DRM stack here] > +Overview of the Linux DRM Architecture > +--- > ++-+ > +| User-space Apps | > +| (Games, Browsers,

Re: [PATCH] Documentation: dma-buf: heaps: Add naming guidelines

2025-05-20 Thread Bagas Sanjaya
ddress 0x4200, intended to allocate video framebuffers, > +and backed by the CMA kernel allocator. Good names would be > +`memory@4200` or `video@4200`, but `cma-video` wouldn't. Looks good, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

[PATCH] Documentation/gpu: Disambiguate SPI term

2025-05-12 Thread Bagas Sanjaya
Closes: https://lore.kernel.org/linux-next/20250509185845.60bf5...@canb.auug.org.au/ Signed-off-by: Bagas Sanjaya --- Also Cc: media maintainers. Documentation/gpu/amdgpu/amdgpu-glossary.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/gpu/amdgpu/amdgpu-

Re: [PATCH v2 6/7] docs: nova-core: Document basics of the Falcon

2025-05-04 Thread Bagas Sanjaya
On Sat, May 03, 2025 at 12:07:58AM -0400, Joel Fernandes wrote: > +Conceptual diagram (not exact) of the Falcon and its memory subsystem is as > follows: > + > + External Memory (Framebuffer / System DRAM) > +▲ │ > +│ │ > +

Re: [PATCH v2 5/7] docs: nova-core: Document devinit process

2025-05-04 Thread Bagas Sanjaya
On Sat, May 03, 2025 at 12:07:57AM -0400, Joel Fernandes wrote: > +.. SPDX-License-Identifier: GPL-2.0 > +== > +Device Initialization (devinit) > +== Separate SPDX line from title heading. > +These low-level GPU firmware components a

Re: [PATCH v2 4/7] nova-core: docs: Document fwsec operation and layout

2025-05-04 Thread Bagas Sanjaya
On Sat, May 03, 2025 at 12:07:56AM -0400, Joel Fernandes wrote: > +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) > += > +FWSEC (Firmware Security) > += Separate SPDX line from title heading. > +Here is a block diagram of the FWSEC memory layout:: A

Re: [PATCH v2 3/7] nova-core: docs: Document vbios layout

2025-05-04 Thread Bagas Sanjaya
On 5/5/25 10:00, Bagas Sanjaya wrote: On Sat, May 03, 2025 at 12:07:55AM -0400, Joel Fernandes wrote: +Here is a block diagram of the VBIOS layout:: + + ┌┐ + │ VBIOS (Starting at ROM_OFFSET: 0x30

Re: [PATCH v2 3/7] nova-core: docs: Document vbios layout

2025-05-04 Thread Bagas Sanjaya
On Sat, May 03, 2025 at 12:07:55AM -0400, Joel Fernandes wrote: > +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +== > +VBIOS > +== Separate SPDX line and title heading. > +- PciAt Image (Type 0x00) - This is the standard PCI BIOS image who's naming > likely > +comes from t

Re: [PATCH] drm/amdgpu: fix unexpected indentation in docs

2025-04-27 Thread Bagas Sanjaya
On Mon, Apr 28, 2025 at 01:01:41AM +0100, Ruben Wauters wrote: > make htmldocs reports unexpected indentation on line 1119 in the kernel > doc comment. This was due to alignment of numbers (except the minus) > which caused indentation. This also had unintended effects on the > compiled documentatio

[PATCH] drm/amdgpu/userq: fix user_queue parameters list

2025-04-26 Thread Bagas Sanjaya
blank line. Fixes: fb20954c9717 ("drm/amdgpu/userq: rework driver parameter") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20250422202956.176fb...@canb.auug.org.au/ Signed-off-by: Bagas Sanjaya --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 ++- 1 fi

Re: [PATCH] Documentation: vgaarbiter: Fix grammar

2025-03-18 Thread Bagas Sanjaya
On Tue, Mar 18, 2025 at 08:43:31AM -0600, Jonathan Corbet wrote: > Bagas Sanjaya writes: > > > From: Pranav Tyagi > > > > Correct grammar issues: > > > > - Fix "co-exist" subject-verb agreement > > - Correct plural form of "server&qu

[PATCH] Documentation: vgaarbiter: Fix grammar

2025-03-18 Thread Bagas Sanjaya
From: Pranav Tyagi Correct grammar issues: - Fix "co-exist" subject-verb agreement - Correct plural form of "server" in context of more than one legacy devices - Use passive mood for intro sentence of libpciaccess section Signed-off-by: Pranav Tyagi Reviewed-by: Bagas

Re: [PATCH] docs: driver-api: firmware: clarify userspace requirements

2025-03-14 Thread Bagas Sanjaya
lications. > + This includes maintaining consistent interfaces and behaviors that > + userspace programs rely on. Is it implied that the firmware UAPI MUST be designed to be right in the first time (attempt) as it MUST be supported indefinitely? Anyway, the wording LGTM. Reviewed-by: Bagas S

Re: [PATCH v7 1/3] drm/sched: Adjust outdated docu for run_job()

2025-03-05 Thread Bagas Sanjaya
On Wed, Mar 05, 2025 at 02:05:50PM +0100, Philipp Stanner wrote: > /** > - * @run_job: Called to execute the job once all of the dependencies > - * have been resolved. This may be called multiple times, if > - * timedout_job() has happened and drm_sched_job_recovery() >

Re: [PATCH] vgaarbiter: documentation grammar correction

2025-02-18 Thread Bagas Sanjaya
On Thu, Feb 13, 2025 at 11:05:39PM +0530, Pranav Tyagi wrote: > Hi, > > Just a gentle follow-up on this patch. It has been reviewed but hasn't > been applied yet. You may need to resend the patch, but with scripts/get_maintainer.pl output Cc'ed so that DRM maintainers can be notified on the patch

Re: [PATCH] vgaarbiter: documentation grammar correction

2025-02-07 Thread Bagas Sanjaya
r device it was implemented an API inside the > +To use the vga arbiter char device, an API was implemented inside the > libpciaccess library. One field was added to struct pci_device (each device > on the system):: > The diff looks OK. Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

[PATCH] drm/sched: Separate drm_sched_fini() driver checklist

2024-12-16 Thread Bagas Sanjaya
hwell Closes: https://lore.kernel.org/r/20241108175655.6d3fc...@canb.auug.org.au/ Signed-off-by: Bagas Sanjaya --- drivers/gpu/drm/scheduler/sched_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/schedule

Re: [PATCH v6 11/11] Documentation: document adreno preemption

2024-09-30 Thread Bagas Sanjaya
On Thu, Sep 26, 2024 at 11:16:53PM +0200, Antonino Maniscalco wrote: > +.. SPDX-License-Identifier: GPL-2.0 > + > +:orphan: Why don't this be added to toctree in Documentation/gpu/index.rst? > + > += > +MSM Preemtion > += s/Preemtion/Preemption/ > +This mechanism can be

Re: [PATCH v12 6/7] Documentation: iio: Document high-speed DMABUF based API

2024-06-20 Thread Bagas Sanjaya
On Thu, Jun 20, 2024 at 02:27:25PM +0200, Paul Cercueil wrote: > Document the new DMABUF based API. > LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v11 7/7] Documentation: dmaengine: Document new dma_vec API

2024-06-19 Thread Bagas Sanjaya
On Tue, Jun 18, 2024 at 12:03:02PM +0200, Paul Cercueil wrote: > Document the dmaengine_prep_peripheral_dma_vec() API function, the > device_prep_peripheral_dma_vec() backend function, and the dma_vec > struct. > LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll...

Re: [PATCH v11 6/7] Documentation: iio: Document high-speed DMABUF based API

2024-06-19 Thread Bagas Sanjaya
On Tue, Jun 18, 2024 at 12:03:01PM +0200, Paul Cercueil wrote: > +As part of this interface, three new IOCTLs have been added. These three > +IOCTLs have to be performed on the IIO buffer's file descriptor, > +obtained using the IIO_BUFFER_GET_FD_IOCTL() ioctl. "... which can be obtained using ..."

Re: [PATCH net-next v10 13/14] net: add devmem TCP documentation

2024-06-01 Thread Bagas Sanjaya
On Thu, May 30, 2024 at 08:16:12PM +, Mina Almasry wrote: > Add documentation outlining the usage and details of devmem TCP. > > Signed-off-by: Mina Almasry > The doc LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara s

Re: [RFC PATCH net-next v8 13/14] net: add devmem TCP documentation

2024-05-03 Thread Bagas Sanjaya
On Tue, Apr 02, 2024 at 05:20:50PM -0700, Mina Almasry wrote: > +ncdevmem has a validation mode as well that expects a repeating pattern of > +incoming data and validates it as such:: > + > + # On server: > + ncdevmem -s -c -f eth1 -d 3 -n :06:00.0 -l \ > + -p 5201 -v 7 >

Re: [PATCH 1/3] drm: drm_blend.c: Add precision in drm_rotation_simplify kernel doc

2024-04-15 Thread Bagas Sanjaya
ned int drm_rotation_simplify(unsigned int rotation, > unsigned int supported_rotations) > The wording LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH 2/3] drm: drm_blend.c: Improve drm_plane_create_rotation_property kernel doc

2024-04-15 Thread Bagas Sanjaya
On Tue, Apr 09, 2024 at 12:04:06PM +0200, Louis Chauvet wrote: > @@ -266,8 +257,41 @@ EXPORT_SYMBOL(drm_plane_create_alpha_property); > * > * Rotation is the specified amount in degrees in counter clockwise > direction, > * the X and Y axis are within the source rectangle, i.e. the X/Y axis

Re: [PATCH 3/3] drm/fourcc: Add documentation around drm_format_info

2024-04-15 Thread Bagas Sanjaya
On Tue, Apr 09, 2024 at 12:04:07PM +0200, Louis Chauvet wrote: > /** > * struct drm_format_info - information about a DRM format > + * > + * A drm_format_info describes how planes and pixels are stored in memory. > + * > + * Some format like YUV can have multiple planes, counted in @num_planes.

Re: Running ttm_device_test leads to list_add corruption. prev->next should be next (ffffffffc05cd428), but was 6b6b6b6b6b6b6b6b. (prev=ffffa0b1a5c034f0) (kernel 6.7.5)

2024-02-20 Thread Bagas Sanjaya
On Mon, Feb 19, 2024 at 11:01:16PM +0100, Erhard Furtner wrote: > Greetings! > > 'modprobe -v ttm-device-test' on my Ryzen 5950X amd64 box and on my Talos II > (ppc64) leads to immediate list_add corruption. > > The machines stay useable via VNC but the issue seems to cause memory > corruption

Re: [BUG][BISECTED] Freeze at loading init ramdisk

2024-01-20 Thread Bagas Sanjaya
On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: > On 1/16/24 01:32, Mirsad Todorovac wrote: > > Hi, > > > > On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree > > kernel, the boot > > freezes upon first two lines and before any systemd messages. > > > >

Re: (subset) linux-next: build failure after merge of the pwm tree

2024-01-04 Thread Bagas Sanjaya
On Thu, Jan 04, 2024 at 12:50:28PM +, Sean Young wrote: > On Thu, Jan 04, 2024 at 05:02:41PM +0700, Bagas Sanjaya wrote: > > [also add Jingoo (additional backlight maintainer) and Linus] > > > > On Thu, Dec 21, 2023 at 07:34:57PM +0100, Thierry Reding wrote: > > &

Re: (subset) linux-next: build failure after merge of the pwm tree

2024-01-04 Thread Bagas Sanjaya
[also add Jingoo (additional backlight maintainer) and Linus] On Thu, Dec 21, 2023 at 07:34:57PM +0100, Thierry Reding wrote: > On Thu, Dec 21, 2023 at 12:58:01PM +, Lee Jones wrote: > > On Thu, 21 Dec 2023, Lee Jones wrote: > > > > > On Thu, 21 Dec 2023 16:58:05 +1100, Stephen Rothwell wrote

Re: Automatically update drm CI dependencies?

2023-12-20 Thread Bagas Sanjaya
On 12/19/23 23:43, Helen Koike wrote: > Hi, > > On 14/12/2023 06:38, Bagas Sanjaya wrote: >> Hi all, >> >> I'm referring to dependabot PR on torvalds.git GitHub mirror [1]. I know >> that PRs submitted there are not accepted (the repo is essentially read-onl

Automatically update drm CI dependencies?

2023-12-14 Thread Bagas Sanjaya
Hi all, I'm referring to dependabot PR on torvalds.git GitHub mirror [1]. I know that PRs submitted there are not accepted (the repo is essentially read-only mirror), hence this mail question. In summary, dependabot submitted automated PR that bumps package versions in `drivers/gpu/drm/ci/xfails

Re: Fwd: Kernel 6.6.1 hangs on "loading initial ramdisk"

2023-12-09 Thread Bagas Sanjaya
On Wed, Nov 22, 2023 at 07:06:50AM +0700, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on Bugzilla [1]. Quoting from it: > > > After upgrading from 6.5.9 to 6.6.1 on my Dell Latitude E6420 (Intel > > i5-2520M) with EndeavourOS, the boot process would

Re: [Nouveau] Kernel problem with multiseat on one card

2023-12-02 Thread Bagas Sanjaya
On Sat, Dec 02, 2023 at 03:28:25PM +, Timur Tabi wrote: > On Sat, 2023-12-02 at 20:18 +0700, Bagas Sanjaya wrote: > > > > > > When i install the proprietary Nvidia drivers, i have the following: > > > > > > [MASTER] pci::08:00.0 > > >   

Re: Kernel problem with multiseat on one card

2023-12-02 Thread Bagas Sanjaya
On Thu, Nov 30, 2023 at 11:48:24AM +0100, Gert Vanhaerents wrote: > Hi Kernel list, > I'm the IT person of a school, earlier we used multiseatcomputers for the > school, i have maded with a XGL implementation and it works fine but not so > fantastic. The school wants that i build new computers but

Re: [PATCH] drm/doc: Define KMS atomic state set

2023-11-30 Thread Bagas Sanjaya
s allowed to > +effectively change only the FB_ID property on any planes. No-operation > changes > +are ignored as always. Changing any other property will cause the commit to > be > +rejected. Each driver may relax this restriction if they have guarantees that > +such property change doesn't cause modesets. Userspace can use TEST_ONLY > commits > +to query the driver about this. The wording LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v6] Documentation/gpu: VM_BIND locking document

2023-11-29 Thread Bagas Sanjaya
r introduce a new lock that is held at both mapping and > +unmapping time, or look at the locks we do hold at unmapping time and > +make sure that they are held also at mapping time. For userptr > +gpu_vmas, the ``userptr_seqlock`` is held in write mode in the mmu > +invalidation notifier where zapping happens. Hence, if the > +``userptr_seqlock`` as well as the ``gpu_vm->userptr_notifier_lock`` > +is held in read mode during mapping, it will not race with the > +zapping. For GEM object backed gpu_vmas, zapping will take place under > +the GEM object's dma_resv and ensuring that the dma_resv is held also > +when populating the page-tables for any gpu_vma pointing to the GEM > +object, will similarly ensure we are race-free. > + > +If any part of the mapping is performed asynchronously > +under a dma-fence with these locks released, the zapping will need to > +wait for that dma-fence to signal under the relevant lock before > +starting to modify the page-table. > + > +Since modifying the > +page-table structure in a way that frees up page-table memory > +might also require outer level locks, the zapping of GPU ptes > +typically focuses only on zeroing page-table or page-directory entries > +and flushing TLB, whereas freeing of page-table memory is deferred to > +unbind or rebind time. > diff --git a/Documentation/gpu/implementation_guidelines.rst > b/Documentation/gpu/implementation_guidelines.rst > index 138e637dcc6b..dbccfa72f1c9 100644 > --- a/Documentation/gpu/implementation_guidelines.rst > +++ b/Documentation/gpu/implementation_guidelines.rst > @@ -7,3 +7,4 @@ Misc DRM driver uAPI- and feature implementation guidelines > .. toctree:: > > drm-vm-bind-async > + drm-vm-bind-locking > diff --git a/Documentation/gpu/rfc/xe.rst b/Documentation/gpu/rfc/xe.rst > index c29113a0ac30..ceb21219d52e 100644 > --- a/Documentation/gpu/rfc/xe.rst > +++ b/Documentation/gpu/rfc/xe.rst > @@ -123,10 +123,15 @@ Documentation should include: > > * O(1) complexity under VM_BIND. > > +The document is now included in the drm documentation :doc:`here > `. > + > Some parts of userptr like mmu_notifiers should become GPUVA or DRM helpers > when > the second driver supporting VM_BIND+userptr appears. Details to be defined > when > the time comes. > > +The DRM GPUVM helpers do not yet include the userptr parts, but discussions > +about implementing them are ongoing. > + > Long running compute: minimal data structure/scaffolding > > The generic scheduler code needs to include the handling of endless compute LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Fwd: Kernel 6.6.1 hangs on "loading initial ramdisk"

2023-11-21 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > After upgrading from 6.5.9 to 6.6.1 on my Dell Latitude E6420 (Intel > i5-2520M) with EndeavourOS, the boot process would hang at "loading initial > ramdisk". The issue is present on the 6.6.1 release of both Linux and > Linu

Re: [PATCH v5] Documentation/gpu: VM_BIND locking document

2023-11-21 Thread Bagas Sanjaya
On Tue, Nov 21, 2023 at 11:40:46AM +0100, Thomas Hellström wrote: > diff --git a/Documentation/gpu/drm-vm-bind-locking.rst > b/Documentation/gpu/drm-vm-bind-locking.rst > new file mode 100644 > index ..a7d08eccd50e > --- /dev/null > +++ b/Documentation/gpu/drm-vm-bind-locking.rst > @@

Re: Radeon regression in 6.6 kernel

2023-11-19 Thread Bagas Sanjaya
On 11/19/23 20:48, Linux regression tracking (Thorsten Leemhuis) wrote: > On 19.11.23 14:24, Bagas Sanjaya wrote: >> Hi Dave, >> >> AFAIK commit c07bf1636f0005 ("MAINTAINERS: Update the GPU Scheduler email") >> doesn't seem to do with this regression as

Re: Radeon regression in 6.6 kernel

2023-11-19 Thread Bagas Sanjaya
On Sun, Nov 19, 2023 at 04:47:01PM +1000, Dave Airlie wrote: > > > > On 12.11.23 01:46, Phillip Susi wrote: > > > I had been testing some things on a post 6.6-rc5 kernel for a week or > > > two and then when I pulled to a post 6.6 release kernel, I found that > > > system suspend was broken. It se

Re: [PATCH v4] Documentation/gpu: VM_BIND locking document

2023-11-16 Thread Bagas Sanjaya
On Wed, Nov 15, 2023 at 01:49:37PM +0100, Thomas Hellström wrote: > +TODO: Pointer to the gpuvm code implementation if this iteration and "... implementation of this iteration ..." > +Using a MMU notifier for device DMA (and other methods) is described in > +`this document > +

[PATCH] drm/dp_mst: Separate @failing_port list in drm_dp_mst_atomic_check_mgr() comment

2023-11-14 Thread Bagas Sanjaya
n Rothwell Closes: https://lore.kernel.org/linux-next/20231114141715.6f435...@canb.auug.org.au/ Signed-off-by: Bagas Sanjaya --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c b/drivers/gpu/d

Re: Radeon regression in 6.6 kernel

2023-11-12 Thread Bagas Sanjaya
On Sat, Nov 11, 2023 at 07:46:41PM -0500, Phillip Susi wrote: > I had been testing some things on a post 6.6-rc5 kernel for a week or > two and then when I pulled to a post 6.6 release kernel, I found that > system suspend was broken. It seems that the radeon driver failed to > suspend, leaving th

Fwd: 01f05940a9a75e11a2be64993c44ad8dd06e6e26 causes Wayland servers to flicker in non-gl virtio QEMU cards

2023-11-07 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > It seems that commit 01f05940a9a75e11a2be64993c44ad8dd06e6e26 introduced an > issue impacting wlroots and Weston (possibly others) on QEMU with the virtio > card. happens on QEMU, and it happens in virt-manager when I do NOT e

Re: [PATCH v3] drm: amd: Resolve Sphinx unexpected indentation warning

2023-11-07 Thread Bagas Sanjaya
ial level 'S:' > - * E.g., > - * S: 19Mhz * > - * 0: 615Mhz > - * 1: 800Mhz > - * 2: 888Mhz > - * 3: 1000Mhz > + * E.g., :: > + * > + * S: 19Mhz * > + * 0: 615Mhz > + * 1: 800Mhz > + * 2: 888Mhz > + * 3: 1000Mhz > * > * >

Re: [PATCH v2] drm: amd: Resolve Sphinx unexpected indentation warning

2023-11-06 Thread Bagas Sanjaya
> * > * > * To manually adjust these states, first select manual using LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v1] docs: gpu: rfc: i915_scheduler.rst remove unused directives for namespacing

2023-11-06 Thread Bagas Sanjaya
On 07/11/2023 02:41, Jani Nikula wrote: > On Mon, 06 Nov 2023, Hunter Chasens wrote: >> When running `make htmldocs` the following warnings are given. >> >> ``` >> Documentation/gpu/rfc/i915_scheduler.rst:138: WARNING: >> Unknown directive type "c:namespace-push". >> >> .. c:namespace-push:: rfc >

Re: [PATCH v1] docs: gpu: rfc: i915_scheduler.rst remove unused directives for namespacing

2023-11-06 Thread Bagas Sanjaya
On 06/11/2023 17:31, Jani Nikula wrote: > On Mon, 06 Nov 2023, Bagas Sanjaya wrote: >> On Sat, Nov 04, 2023 at 09:47:08AM -0400, Hunter Chasens wrote: >>> diff --git a/Documentation/gpu/rfc/i915_scheduler.rst >>> b/Documentation/gpu/rfc/i915_scheduler.rst >>&

Re: [PATCH v1] drm: amd: Resolve Sphinx unexpected indentation warning

2023-11-06 Thread Bagas Sanjaya
On Sun, Nov 05, 2023 at 09:26:26PM -0800, Randy Dunlap wrote: > > > On 11/5/23 21:15, Bagas Sanjaya wrote: > > On Sun, Nov 05, 2023 at 04:00:44PM -0500, Hunter Chasens wrote: > >> diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > >> b/drivers/gpu/drm/amd/pm/am

Re: [PATCH v1] drm: amd: Resolve Sphinx unexpected indentation warning

2023-11-05 Thread Bagas Sanjaya
manual using LGTM, thanks! Fixes: 615585d09b33 ("Documentation/amdgpu: Modify pp_dpm_*clk details") Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH v1] docs: gpu: rfc: i915_scheduler.rst remove unused directives for namespacing

2023-11-05 Thread Bagas Sanjaya
set_parallel' extension can only The warnings go away, thanks! Fixes: f6757dfcfde7 ("drm/doc: fix duplicate declaration warning") Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: [PATCH Resend] Fix line Length

2023-10-31 Thread Bagas Sanjaya
On Tue, Oct 31, 2023 at 03:36:30PM -0300, Helen Koike wrote: > > > On 30/10/2023 08:36, Bagas Sanjaya wrote: > > On 30/10/2023 13:12, Julia Lawall wrote: > > > > > > > > > On Mon, 30 Oct 2023, Bagas Sanjaya wrote: > > > > > >

Re: [PATCH Resend] Fix line Length

2023-10-30 Thread Bagas Sanjaya
On 30/10/2023 13:12, Julia Lawall wrote: > > > On Mon, 30 Oct 2023, Bagas Sanjaya wrote: > >> Hi Julia, >> >> The submitter touched one of CI scripts for the DRM subsystem. To test >> this patch, there must be a way to run these scripts locally (whi

Re: [PATCH Resend] Fix line Length

2023-10-29 Thread Bagas Sanjaya
On Sun, Oct 29, 2023 at 04:11:01PM +0100, Julia Lawall wrote: > > > On Sun, 29 Oct 2023, Dorine Tipo wrote: > > > Signed-off-by: Dorine Tipo > > > > Fix the line lengths of lines 8 and 49 > > The Signed off by line should be here, below the log message. Please see > the patches sent by others

Re: [PATCH] Fix line Length

2023-10-29 Thread Bagas Sanjaya
On Sun, Oct 29, 2023 at 01:51:04PM +, Dorine Tipo wrote: > > Fix the line lengths of lines 8 and 49 > Is it checkpatch fix? > Signed-off-by: Dorine Tipo > --- > drivers/gpu/drm/ci/igt_runner.sh | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm

Re: Bug#1054514: linux-image-6.1.0-13-amd64: Debian VM with qxl graphics freezes frequently

2023-10-24 Thread Bagas Sanjaya
On Tue, Oct 24, 2023 at 11:09:10PM +0200, Salvatore Bonaccorso wrote: > Hi Timo, > > On Tue, Oct 24, 2023 at 11:14:32PM +0300, Timo Lindfors wrote: > > Package: src:linux > > Version: 6.1.55-1 > > Severity: normal > > > > Steps to reproduce: > > 1) Install Debian 12 as a virtual machine using vir

Re: [PATCH] drm/vc4: fix typo

2023-10-23 Thread Bagas Sanjaya
ASK(29, 20) > # define VC4_HDMI_HORZB_HBP_SHIFT20 > /* Horizontal sync pulse (hsync_end - hsync_start). */ The patch LGTM, thanks! Reviewed-by: Bagas Sanjaya -- An old man doll... just what I always wanted! - Clara signature.asc Description: PGP signature

Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570

2023-10-09 Thread Bagas Sanjaya
On Mon, Oct 09, 2023 at 09:27:02AM +0800, Huacai Chen wrote: > Hi, all, > > On Tue, Sep 26, 2023 at 10:31 PM Huacai Chen wrote: > > > > Hi, all, > > > > On Tue, Sep 26, 2023 at 7:15 PM Linux regression tracking (Thorsten > > Leemhuis) wrote: > > > > > > [CCing the regression list, as it should b

Re: [PATCH] drm/nouveau: fix kernel-doc warning

2023-10-08 Thread Bagas Sanjaya
On Sun, Oct 08, 2023 at 12:36:18PM +0530, Bragatheswaran Manickavel wrote: > @@ -458,15 +458,15 @@ struct drm_nouveau_svm_bind { > > #define DRM_IOCTL_NOUVEAU_GETPARAM DRM_IOWR(DRM_COMMAND_BASE + > DRM_NOUVEAU_GETPARAM, struct drm_nouveau_getparam) > #define DRM_IOCTL_NOUVEAU_CHANNEL

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-02 Thread Bagas Sanjaya
On Mon, Oct 02, 2023 at 08:20:15AM +0200, Oleksandr Natalenko wrote: > Hello. > > On pondělí 2. října 2023 1:45:44 CEST Bagas Sanjaya wrote: > > On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > > > Hello. > > > > > > I've g

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-02 Thread Bagas Sanjaya
On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > Hello. > > I've got a VM from a cloud provider, and since v6.5 I observe the following > kfence splat in dmesg during boot: > > ``` > BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 > > Corrupted memory at 0x

Re: [REGRESSION] BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250

2023-10-01 Thread Bagas Sanjaya
On Sun, Oct 01, 2023 at 06:32:34PM +0200, Oleksandr Natalenko wrote: > Hello. > > I've got a VM from a cloud provider, and since v6.5 I observe the following > kfence splat in dmesg during boot: > > ``` > BUG: KFENCE: memory corruption in drm_gem_put_pages+0x186/0x250 > > Corrupted memory at 0x

Re: [REGRESSION] Panic in gen8_ggtt_insert_entries() with v6.5

2023-09-19 Thread Bagas Sanjaya
On Sat, Sep 02, 2023 at 06:14:12PM +0200, Oleksandr Natalenko wrote: > Hello. > > Since v6.5 kernel the following HW: > > * Lenovo T460s laptop with Skylake GT2 [HD Graphics 520] (rev 07) > * Lenovo T490s laptop with WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02) > > is affected by the following

Re: [Intel-gfx] [REGRESSION] [BISECTED] Panic in gen8_ggtt_insert_entries() with v6.5

2023-09-19 Thread Bagas Sanjaya
On Tue, Sep 19, 2023 at 03:23:28PM +0200, Oleksandr Natalenko wrote: > /cc Bagas as well (see below). > > On úterý 19. září 2023 10:26:42 CEST Oleksandr Natalenko wrote: > > /cc Matthew Wilcox and Andrew Morton because of folios (please see below). > > > > On sobota 2. září 2023 18:14:12 CEST Ole

Re: Blank screen on boot of Linux 6.5 and later on Lenovo ThinkPad L570

2023-09-18 Thread Bagas Sanjaya
On Wed, Sep 13, 2023 at 03:02:26PM +0300, Jaak Ristioja wrote: > Hello, > > Upgrading to Linux 6.5 on a Lenovo ThinkPad L570 (Integrated Intel HD > Graphics 620 (rev 02), Intel(R) Core(TM) i7-7500U) results in a blank screen > after boot until the display manager starts... if it does start at all.

Re: Fwd: Kernel 6.6-rc1 fails to reboot or shutdown Ryzen 5825U

2023-09-15 Thread Bagas Sanjaya
On Thu, Sep 14, 2023 at 02:03:00PM +0700, Bagas Sanjaya wrote: > #regzbot introduced: v6.5..v6.6 > https://bugzilla.kernel.org/show_bug.cgi?id=217905 > #regzbot title: shutdown/reboot hang on Ryzen 5825U (stuck on amdgpu > initialization) > Fixing up commit range: #regzbot i

Re: [PATCH] staging: fbtft: Removed unnecessary parenthesis around conditions to comply with the checkpatch coding style.

2023-09-15 Thread Bagas Sanjaya
On Fri, Sep 15, 2023 at 11:58:47AM +1000, angus gardner wrote: > Thanks for the feedback Bagas, > > "Then checkpatch is wrong, " lol > > Ill double check my SoB. > tl;dr: > A: http://en.wikipedia.org/wiki/Top_post > Q: Were do I find info about this thing called top-posting? > A: Because it me

Fwd: Kernel 6.6-rc1 fails to reboot or shutdown Ryzen 5825U

2023-09-14 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > The Kernel stalls at boot very long with a drm-amdgpu message, but fails to > restart or shutdown with secure boot enabled or not. Magic key works to exit. > Nothing wrong in the Kernel 6.5 cycle. Later, the reporter (Cc'ed)

Re: [PATCH] staging: fbtft: Removed unnecessary parenthesis around conditions to comply with the checkpatch coding style.

2023-09-12 Thread Bagas Sanjaya
On Wed, Sep 13, 2023 at 11:02:13AM +1000, Angus Gardner wrote: > --- > drivers/staging/fbtft/fb_ra8875.c | 11 --- > 1 file changed, 4 insertions(+), 7 deletions(-) No patch description and SoB, so Greg can't take this as-is. > - if ((par->info->var.xres == 320) && (par->info->var.yr

Re: [PATCH] drm: fix doc warnings related to drm connector

2023-09-09 Thread Bagas Sanjaya
On Sat, Sep 09, 2023 at 04:33:43PM +0530, Bragatheswaran Manickavel wrote: > Addressing drm dp/hdmi connector related kernel documentation > warning and add more information about these values. What are these? > > Signed-off-by: Bragatheswaran Manickavel > --- > drivers/gpu/drm/drm_connector.c

Re: [Bug 217892] New: [amdgpu]: system freezes when trying to turn back on monitor

2023-09-09 Thread Bagas Sanjaya
On Sat, Sep 09, 2023 at 10:19:36AM +, bugzilla-dae...@kernel.org wrote: > Hi, > > My setup is a dual monitor 4K/144Hz with running sway on it. Both monitors are > connected via DP to a Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon > RX > 7900 XT/7900 XTX]. Usually if i don't change m

Re: Fwd: Kernel version 6.1.50 regression: radeonfb deactivate vga console

2023-09-04 Thread Bagas Sanjaya
On 02/09/2023 07:01, Bagas Sanjaya wrote: > #regzbot introduced: 9b539c4d1b921b > https://bugzilla.kernel.org/show_bug.cgi?id=217861 > #regzbot title: using pci aperture helpers deactivates AMD ES1000 VGA > controller > #regzbot inconclusive: now tracked on gitlab.freedesk

Fwd: Kernel version 6.1.50 regression: radeonfb deactivate vga console

2023-09-01 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Since kernel version 6.1.50 the VGA console stopped working on all HP > ProLiant (G6 and G7) servers with [AMD/ATI] ES1000 VGA controller. > > No issue with all kernel version 6.1.X before 6.1.50. > No issue with the kernel 6.

Fwd: System (Xeon Nvidia) hangs at boot terminal after kernel 6.4.7

2023-08-09 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Kernel 6.4.6 compiled from source worked AOK on my desktop with Intel Xeon > cpu and Nvidia graphics - see below for system specs. > > Kernels 6.4.7 & 6.4.8 also compiled from source with identical configs hang > with a froze

Re: [PATCH] drm/amd/pm: Clean up errors in smu73_discrete.h

2023-08-01 Thread Bagas Sanjaya
On 01/08/2023 18:34, Jani Nikula wrote: > On Tue, 01 Aug 2023, Bagas Sanjaya wrote: >> And it is unfortunate that you and @208suo.com people doesn't reply to >> review comments (try searching lore.kernel.org) > > Essentially a one-way firehose of patches pointed at our

Re: [PATCH] drm/amd/pm: Clean up errors in smu73_discrete.h

2023-08-01 Thread Bagas Sanjaya
On Tue, Aug 01, 2023 at 10:00:24AM +, Ran Sun wrote: > Fix the following errors reported by checkpatch: > > ERROR: open brace '{' following struct go on the same line > ERROR: trailing whitespace > ERROR: space prohibited before open square bracket '[' > Thanks for fixing up your tooling to

Re: [PATCH] drm/radeon: Prefer 'unsigned int' to bare use of 'unsigned'

2023-07-29 Thread Bagas Sanjaya
On Fri, Jul 28, 2023 at 10:35:19PM +0800, 孙冉 wrote: > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > > Signed-off-by: Ran Sun Your From: address != SoB identity > --- > drivers/gpu/drm/radeon/radeon_object.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff

Re: Fwd: Unexplainable packet drop starting at v6.4

2023-07-25 Thread Bagas Sanjaya
On Tue, Jul 18, 2023 at 07:51:24AM +0700, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on Bugzilla [1]. Quoting from it: > > > Hi, > > > > After I updated to 6.4 through Archlinux kernel update, suddenly I noticed > > random packet losses on

Re: Fwd: Unexplainable packet drop starting at v6.4

2023-07-19 Thread Bagas Sanjaya
On 7/19/23 18:49, Thorsten Leemhuis wrote: > On 18.07.23 02:51, Bagas Sanjaya wrote: >> >> I notice a regression report on Bugzilla [1]. Quoting from it: >> >>> After I updated to 6.4 through Archlinux kernel update, suddenly I noticed >>> random packet

Fwd: Unexplainable packet drop starting at v6.4

2023-07-17 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Hi, > > After I updated to 6.4 through Archlinux kernel update, suddenly I noticed > random packet losses on my routers like nodes. I have these networking > relevant config on my nodes > > 1. Using archlinux > 2. Network co

Fwd: Framebuffer-Display issue. (Intel® Iris® Xe)

2023-07-16 Thread Bagas Sanjaya
Hi, I notice a regression report on Bugzilla [1]. Quoting from it: > Hello I have been having problems for some time now with displaying any linux > distribution with the new kernal. The only thing that can fix it are older > kernals. > > I can't describe it very well, so I'm attaching some pi

Re: [PATCH] drm/nouveau/iccsense:

2023-07-10 Thread Bagas Sanjaya
On Mon, Jul 10, 2023 at 03:06:47PM +0800, sunran...@208suo.com wrote: > Fixed error: 'do not use assignment in if condition' > > This patch fixes error: 'do not use assignment in if condition' > in drm/nouveau/iccsense I guess this is checkpatch fix, right? > > Signed-off-by: Ran Sun > --- >

Re: [PATCH] dma-buf: heaps: Delete repeated word

2023-06-21 Thread Bagas Sanjaya
On Sun, Jun 18, 2023 at 10:50:43PM +0800, zhumao...@208suo.com wrote: > > Delete one of the rebundant word in comment. > > Signed-off-by: Zhu Mao > --- > drivers/dma-buf/heaps/cma_heap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma-buf/heaps/cma_heap.c >

  1   2   >