Live data from Hacker News

AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

lists.freedesktop.org

131–140 of 284 posts

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#131
post #74
post #43

Earlier quoted context omitted.

why does AMD need to be in the kernel? Why can't they release the way nVidia does? or open source it, develop along with upstream but don't make it part of upstream.

> why does AMD need to be in the kernel? Why can't they release the way nVidia does? Perhaps it was strategically important to them to be upstream (marketing point, driver ubiquity)? It may not be the year of Linux on the Desktop, but GNOME and the like are well-placed to grow in usage over the next 5 or so odd years. As others here have said, that other than for average desktop users, I don't see this as being as im…

If it is strategically important, then they should allocate enough resources to do it right.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#132

For the record... AMD are perfectly welcome to publish their patches and try to convince Ubuntu/Red Hat/etc to include them in their own forks of the kernel (no distro uses a completely vanilla kernel, they all have their own patchsets they apply on top of it for various reasons). The only great loss here is that AMD can't force kernel developers to maintain substandard code, and will have to do it themselves.

Which they generally fail at due to lack of manpower and pace of changes in the kernel.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#133

Coming from the FreeBSD perspective, I would freaking LOVE it if some drivers had a HAL (or, really, OSAL). Instead, for the vendors that cannot allocate the resources to properly support FreeBSD, we have a linux kernel compat shim that tries to translate from the linux kernel apis to FreeBSD ones. This is much harder to deal with than a HAL because it makes it even harder than a HAL to reason about the code. One rec…

I'm sympathetic to BSD, but that seems like a lot of misplaced blame to me.

Companies don't write FreeBSD drivers because there's no ROI for the hardware companies. Making the drivers doesn't help them sell more hardware. Likewise, the LK devs made these decisions because their vision of the kernel doesn't involve HALs, not to spite FreeBSD.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#134

"This is something you need to fix, or it'll stay completely painful forever. It's hard work and takes years, but here at Intel we pulled it off. We can upstream everything from a _very_ early stage (can't tell you how early). And we have full marketing approval for that. If you watch the i915 commit stream you can see how our code is chasing updates from the hw engineers debugging things. Daniel Vetter Software Engi…

Money (developer time) and some deluded idea that drivers, of all things, can be made portable across kernels.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#135
post #40

I didn't see where Dave slagged AMD's culture, and I think everyone was very polite and detailed about why this doesn't fit. I understand why AMD wants to have one code base, but the kernel needs to have one consistent code base and style and can't afford to do otherwise. There's nothing stopping AMD distributing the code, it just won't be upstreamed.

Because rather than believing the AMD kernel devs are misguided about the kernel, he suspects the higher-ups at AMD are not listening to them. See https://news.ycombinator.com/item?id=13143371

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#136
post #41

Earlier quoted context omitted.

Right. And this is an indicator that the Good King and his generals have done an exemplary job keeping it solid: Everyone uses their product.

Except the largest deployment of Linux in the world: Android devices. Which are running a severely modified kernel because the process of going through mainline to get it mobile ready would be far too painful.

Not really severely. It has a few questionable tweaks here and there.

The questionable part is CPU companies not pushing for upstream integration, so you get e.g. Qualcomm Linux. In fact, the process is not pushing, it is pulling. (some people have started working on it, still long way off)

It can be done, as shown by efforts by TI, ARM and many more...

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#137

Earlier quoted context omitted.

I don't know the details either, but honestly, I'm amazed that Google hasn't just thrown Linux out and built a microkernel with a Linux-compatible syscall API. That way there's a single binary that only cares about standard ARM things like memory management and scheduling and doesn't require hardware vendors to tweak it for every new SoC. The SoC-specific drivers can be written and updated separately just like apps.…

Linus made the right engineering choice when he took the monolithic route in the 90's. However, the technical advantages of that architecture are now moot. Sooner-or-later, Google is going to get tired of Linux's shortcomings and build a replacement OS.

Good luck getting the drivers working for all the esoteric USB/Bluetooth devices in the wild. IMO, Linux's greatest advantage is not it's technical architecture, but the breadth and depth of people and organizations working on it.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#138
post #30
post #25

Earlier quoted context omitted.

Then again, we're not talking about some wierd network card driver here. We're talking about having a constant up-to-date driver on par with Windows for a major GPU card manufacturer. A driver which has caused a large amount of desktop users to return to Windows due to its historical issues. While I get the reasoning for rejection, the typical OSS rejection attitude is also problematic. I kinda don't see a dialog hap…

AMD was told in February that they would have to obey kernel code standards / no HAL. In late October they dropped a steaming pile of 100k lines of code with a HAL and are whining it isn't getting merged. The solution is AMD keeps code out of mainline or obeys kernel code standards.

My favorite part is back in February they made mention of shrinking it to 1/3 of what it was (93KLOC).

Now we're up to 100K+

https://lists.freedesktop.org/archives/dri-devel/2016-Februa...

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#139

Earlier quoted context omitted.

How is that poor management ? Linux gaming is a blip when you compare it to (a) the total gaming market, (b) the professional creative market and (c) the big data/deep learning market. All of which AMD is selling graphics cards into. And it's not like Linux is even some massive growth market that justifies some risky investment.

> the professional creative market This is not true for the animation/CGI/effects industry where Linux not only looms large but is growing. I'm also sceptical of Linux having a small share of big data/machine learning since this is adjacent to servers where Linux dominates- would you mind sharing your sources? Nvidia's CUDA is cross-platform, this sets a baseline for whatever response AMD is planning.

Also GPU-as-a-service seems to be a growth market, and Linux is usually the first choice in X-as-a-service.

Re: AMD responds to Linux kernel maintainer's rejection of AMDGPU patch

#140
post #102

Earlier quoted context omitted.

Writing the software that makes your hardware work is much more of a revenue-based issue than a profit-based issue. Even if you're losing money you need to balance your development budget, and not cut any segment too far.

Yes, AMD should definitely dedicate an entire team to focusing on writing drivers for desktop Linux. An OS that currently captures less than 1% of the overall desktop gaming market[1]. In other news, McDonald's should really start tailoring their marketing and in-store experience to people making over $10 million/year. [1] https://en.wikipedia.org/wiki/Linux_gaming#Market_share_vs._...

But then why bother? Why even pretend to support Linux? The fact that the Linux team at AMD exists means that upper management must see some value in keeping them around.
Post reply on HN