From: Thomas Zimmermann <tzimmermann@suse.de>
To: Jonas Karlman <jonas@kwiboo.se>,
maarten.lankhorst@linux.intel.com, mripard@kernel.org,
airlied@gmail.com, daniel@ffwll.ch,
laurent.pinchart@ideasonboard.com,
kieran.bingham+renesas@ideasonboard.com, hjc@rock-chips.com,
heiko@sntech.de
Cc: linux-renesas-soc@vger.kernel.org,
linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/3] drm/rockchip: Resolve dependency in GEM DMA helpers
Date: Tue, 20 Jun 2023 16:40:30 +0200 [thread overview]
Message-ID: <93b72df1-77c3-8d88-cfca-7b1acd6066e4@suse.de> (raw)
In-Reply-To: <34c08fc9-eb9b-376d-57fb-d47a68c2fc4d@kwiboo.se>
[-- Attachment #1.1: Type: text/plain, Size: 1799 bytes --]
Hi
Am 20.06.23 um 15:56 schrieb Jonas Karlman:
> Hi Thomas,
>
> On 2023-06-20 14:03, Thomas Zimmermann wrote:
>> Remove the dependency on the GEM DMA helper library. Rockchip comes
>> with its own implementation of the GEM interface. It only uses the VM
>> callbacks in drm_gem_dma_vm_ops from the GEM DMA helpers. These are
>> not DMA specific.
>>
>> Duplicate drm_gem_dma_vm_ops in rockchip and remove all dependencies on
>> the GEM DMA helper library.
>
> I have intentions to remove the entire custom implementation of the GEM
> interface and replace it with use of GEM DMA helpers in a future series.
>
> Current custom implementation break import of video framebuffers located
> in memory beyond 4GB. Switching to use pure GEM DMA helpers solved that
> issue but requires reworking IOMMU integration for full support of
> multiple VOPs on e.g., RK3288 and RK3399.
>
> I have no ETA on when such series can be ready so this is more of a
> heads up that I will revert this removal of dependency on GEM DMA helper
> library in a future series.
No problem. I'm only interested in cleaning up the current interfaces.
Rockchip can easily switch to real GEM DMA code.
Best regards
Thomas
>
> Regards,
> Jonas
>
>>
>> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
>> ---
>> drivers/gpu/drm/rockchip/Kconfig | 1 -
>> drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 2 +-
>> drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 8 ++++++--
>> 3 files changed, 7 insertions(+), 4 deletions(-)
>>
> [snip]
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2023-06-20 14:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 12:03 [PATCH 0/3] drm/gem-dma: Remove unnecessary calls Thomas Zimmermann
2023-06-20 12:03 ` [PATCH 1/3] drm/rcar-du: Import buffers with GEM DMA's helpers Thomas Zimmermann
2023-06-20 16:47 ` Laurent Pinchart
2023-06-21 8:05 ` Thomas Zimmermann
2023-06-20 12:03 ` [PATCH 2/3] drm/rockchip: Resolve dependency in GEM DMA helpers Thomas Zimmermann
2023-06-20 13:56 ` Jonas Karlman
2023-06-20 14:40 ` Thomas Zimmermann [this message]
2023-06-20 12:03 ` [PATCH 3/3] drm/gem-dma: Unexport drm_gem_dma_vm_ops Thomas Zimmermann
2023-06-20 16:48 ` Laurent Pinchart
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=93b72df1-77c3-8d88-cfca-7b1acd6066e4@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=jonas@kwiboo.se \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox