From: sashiko-bot@kernel.org
To: "Joseph Telaak" <joseph@telaak.dev>, dri-devel@lists.freedesktop.org
Cc: media-ci@linuxtv.org
Subject: Re: [PATCH RFC 01/13] drm/gem-shmem: Map pages for the DMA device
Date: Thu, 12 Nov 2026 23:11:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-211933@kernel.org> (raw)
In-Reply-To: <20261112-powervr-sgx-v1-1-c69b84bac011@telaak.dev>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/gem-shmem: inaccurate commit claim on
drm_gem_shmem_prime_import_no_map()
--
commit ab22341eb694926c9e7157138a1539d1ee8eaee9
Author: Joseph Telaak <joseph@telaak.dev>
drm/gem-shmem: Map pages for the DMA device
This commit updates the GEM shmem helpers to map, unmap, and attach
DMA-BUF objects using drm_dev_dma_dev() instead of drm_device.dev.
> Of those that do and use the shmem helpers (gud, udl,
> gm12u320, appletbdrm), none maps an object's pages through
> drm_gem_shmem_get_pages_sgt() or imports with
> drm_gem_shmem_prime_import_no_map().
>
> The first user is powervr_sgx, later in this series: behind gma500 its
> DRM device is an auxiliary device, and its DMA goes through the GPU's
> PCI function.
[Severity: Low]
Is this commit message claim about drm_gem_shmem_prime_import_no_map()
accurate?
Since commit e7a1cbca0b42 ("drm/gem-shmem: Do not map s/g table by
default"), DRM_GEM_SHMEM_DRIVER_OPS sets .gem_prime_import to
drm_gem_shmem_prime_import_no_map, and gud, udl, gm12u320, and
appletbdrm all use DRM_GEM_SHMEM_DRIVER_OPS. This patch changes their
PRIME imports to attach to the USB host controller DMA device configured
via drm_dev_set_dma_dev() rather than the USB interface device.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261112-powervr-sgx-v1-0-c69b84bac011@telaak.dev?part=1
next prev parent reply other threads:[~2026-11-12 23:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 22:58 [PATCH RFC 00/13] drm/powervr_sgx: Add a DRM driver for PowerVR SGX5xx GPUs Joseph Telaak
2026-11-12 22:58 ` [PATCH RFC 01/13] drm/gem-shmem: Map pages for the DMA device Joseph Telaak
2026-11-12 23:11 ` sashiko-bot [this message]
2026-11-12 22:58 ` [PATCH RFC 02/13] drm/gma500: Publish the Cedarview SGX as an auxiliary device Joseph Telaak
2026-11-12 22:58 ` [PATCH RFC 03/13] drm/gma500: Export GEM objects as dma-bufs Joseph Telaak
2026-11-12 23:16 ` sashiko-bot
2026-11-12 22:58 ` [PATCH RFC 04/13] drm/powervr_sgx: Add the uAPI header and its documentation Joseph Telaak
2026-11-12 23:12 ` sashiko-bot
2026-11-12 22:58 ` [PATCH RFC 05/13] drm/powervr_sgx: Add the core table, registers and device bring-up Joseph Telaak
2026-11-12 23:16 ` sashiko-bot
2026-11-12 22:58 ` [PATCH RFC 06/13] drm/powervr_sgx: Load and start the microkernel Joseph Telaak
2026-11-12 22:58 ` [PATCH RFC 07/13] drm/powervr_sgx: Add GEM objects, VMs and dma-buf sharing Joseph Telaak
2026-11-12 22:58 ` [PATCH RFC 08/13] drm/powervr_sgx: Add contexts, the scheduler and SUBMIT_JOBS Joseph Telaak
2026-11-12 22:58 ` [PATCH RFC 09/13] drm/powervr_sgx: Add the client command checks Joseph Telaak
2026-11-12 23:14 ` sashiko-bot
2026-11-12 22:59 ` [PATCH RFC 10/13] drm/powervr_sgx: Add render jobs Joseph Telaak
2026-11-12 22:59 ` [PATCH RFC 11/13] drm/powervr_sgx: Validate shader code in the kernel Joseph Telaak
2026-11-12 22:59 ` [PATCH RFC 12/13] drm/powervr_sgx: Add the DRM driver, power management and debugging Joseph Telaak
2026-11-12 22:59 ` [PATCH RFC 13/13] drm/powervr_sgx: Add KUnit tests Joseph Telaak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-211933@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=joseph@telaak.dev \
--cc=media-ci@linuxtv.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.