On Wed May 27, 2026 at 3:02 PM CEST, Jonathan Gray wrote:
> Why are you building a kernel with DEBUG/ATOM_DEBUG defined?

I was debugging why rkrng(4) (MNT Reform Laptop with a RK3588 chip)
did not match and wanted to get more information, thats what I used
'option DEBUG' for.

Since the DEBUG option wasn't working I extracted a newer dtb
from the linux image of the MNT Reform and rkrng is now attached as
rkrng0.

To narrow the error down (and hopefully get more information for
the bug report) I added 'option ATOM_DEBUG' later. I did not
use both option at the same time.

Thanks for your patch Jonathan, it fixes the issue.

>
> In the case of DEBUG, there was a local #undef change which got lost
> with the last drm update.
>
> On OpenBSD, the kernel is built in one directory, unlike Linux.
> To avoid name conflicts, previously I renamed files now a #include is
> used, which makes drm patches slightly easier.

Thank you for the explanation!

Reply via email to