News: 0001537417

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Torvalds Frustrated Over "Disgusting" Testing "Turd" DRM Code Landing In Linux 6.15

([Linux Kernel] 3 Hours Ago hdrtest)


The big set of [1]open-source graphics driver updates for Linux 6.15 have been merged but Linux creator Linus Torvalds isn't particularly happy with the pull request. In particular, he's unhappy with some new "hdrtest" testing code being built as part of full kernel builds and the "turds" it leaves behind and this code "needs to die" at least from the perspective of non-DRM driver developers.

In a classic style Linus Torvalds mailing list post for a Friday night, he [2]commented :

"Grr. I did the pull, resolved the (trivial) conflicts, but I notice that this ended up containing the disgusting "hdrtest" crap that

(a) slows down the build because it's done for a regular allmodconfig build rather than be some simple thing that you guys can run as needed

(b) also leaves random 'hdrtest' turds around in the include directories

People already complained separately about this. It should never have made it to me in this broken form.

Why the heck is this testing being done as a regular part of the build?

And dammit we don't add random turd files for dependencies that then make the source tree nasty.

The thing that made me notice that it was still there was that "git status" complains about the stupid turds not being ignored.

But more importantly, those turds also break filename completion! So no, adding it to gitignore doesn't actually fix the problem, it would just have made me not notice as quickly.

This thing needs to *die*.

If you want to do that hdrtest thing, do it as part of your *own* checks. Don't make everybody else see that disgusting thing and have those turds in their trees.

I'll just disable it by marking it BROKEN for now. You guys can figure out what you want to do, but no, forcing others to see those things is not the answer.

I would suggest you *not* make this part of the Kconfig setup and normal build at all, but be something where *you* can run it as part of your tests (ie do it as a "make drm-hdrtest" kind of thing, not as part of regular builds).

Linus"

When seeing this mailing list post, my immediate assumption was it being some new HDR testing code that slipped under my radar from DRM-Next coverage, given all the ongoing High Dynamic Range / color management work happening recently for the Linux desktop. But when digging into the merge, it's actually even more mundane. The "hdr" in this sense is around the C header files. The new "hdrtest" code is for the Intel Xe kernel driver and is around trying to help ensure the DRM header files are self-contained and pass kernel-doc tests. Basic maintenance checks on the included DRM header files to ensure they are all in good shape.

So all of the DRM-Next code has made it into Linux 6.15 Git as of tonight, but Linus Torvalds is expecting all this "hdrtest" mess to be cleaned up.



[1] https://www.phoronix.com/news/Linux-6.15-DRM-Graphics-Drivers

[2] https://www.phoronix.com/news/Linux-6.15-hdrtest-Turd



NekkoDroid

renkin

andyprough

quaz0r

Once there lived a village of creatures along the bottom of a great
crystal river. Each creature in its own manner clung tightly to the twigs
and rocks of the river bottom, for clinging was their way of life, and
resisting the current what each had learned from birth. But one creature
said at last, "I trust that the current knows where it is going. I shall
let go, and let it take me where it will. Clinging, I shall die of boredom."
The other creatures laughed and said, "Fool! Let go, and that current
you worship will throw you tumbled and smashed across the rocks, and you will
die quicker than boredom!"
But the one heeded them not, and taking a breath did let go, and at
once was tumbled and smashed by the current across the rocks. Yet, in time,
as the creature refused to cling again, the current lifted him free from the
bottom, and he was bruised and hurt no more.
And the creatures downstream, to whom he was a stranger, cried, "See
a miracle! A creature like ourselves, yet he flies! See the Messiah, come
to save us all!" And the one carried in the current said, "I am no more
Messiah than you. The river delight to lift us free, if only we dare let go.
Our true work is this voyage, this adventure.
But they cried the more, "Saviour!" all the while clinging to the
rocks, making legends of a Saviour.
-- Richard Bach