From: "Diederik de Haas" <diederik@cknow-tech.com>
To: <linux-rockchip@lists.infradead.org>
Subject: Re: [PATCH] dma-buf: Make DMABUF_DEBUG default to y on DEBUG_KERNEL kernels
Date: Mon, 05 Oct 2026 11:05:32 +0200 [thread overview]
Message-ID: <DLWS9II64U19.2RE8CUG71USY4@cknow-tech.com> (raw)
In-Reply-To: <DLR74W1U9YPC.375IK0HOYHDIG@cknow-tech.com>
On Mon Sep 28, 2026 at 9:28 PM CEST, Diederik de Haas wrote:
> On Mon Sep 7, 2026 at 4:00 AM CEST, Karl Mehltretter wrote:
>> Commit 646013f513f3 ("dma-buf: enable DMABUF_DEBUG by default on DEBUG
>> kernels") changed the default of DMABUF_DEBUG to "y if DEBUG", but no
>> Kconfig symbol DEBUG exists, so the option has had no default since.
>>
>> Use DEBUG_KERNEL, the Kconfig symbol for a debug kernel.
>
> I wondered why since 7.3-rc4 when playing videos I got a WHOLE lot of the
> following error messages, which weren't there with 7.3-rc3:
>
> [drm:rockchip_gem_iommu_map [rockchipdrm]] *ERROR* failed to map buffer: size=0 request_size=3956736
> [drm:rockchip_gem_prime_import_sg_table [rockchipdrm]] *ERROR* failed to import sg table: -12
>
> Both come from ``drivers/gpu/drm/rockchip/rockchip_drm_gem.c``.
>
> ...
>
> When I explicitly disable ``DMABUF_DEBUG``, I no longer see those errors.
>
> Whether that fixes or just hides a problem, I'll leave that for others to
> decide.
It seems it hides the problem. Follow up with more context/links:
https://lore.kernel.org/all/20261005064133.7305-1-kmehltretter@gmail.com/
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
prev parent reply other threads:[~2026-10-05 9:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260907020015.24719-1-kmehltretter@gmail.com>
2026-09-28 19:28 ` [PATCH] dma-buf: Make DMABUF_DEBUG default to y on DEBUG_KERNEL kernels Diederik de Haas
2026-10-05 9:05 ` Diederik de Haas [this message]
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=DLWS9II64U19.2RE8CUG71USY4@cknow-tech.com \
--to=diederik@cknow-tech.com \
--cc=linux-rockchip@lists.infradead.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