TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Linux kernel maintainer says no to AMDGPU patch

446 pointsby peroover 8 years ago

19 comments

indoleringover 8 years ago
Dave Airlie&#x27;s followup is pretty great,<p>&gt; Here&#x27;s the thing, we want AMD to join the graphics community not hang out inside the company in silos. We need to enable FreeSync on Linux, go ask the community how would be best to do it, don&#x27;t shove it inside the driver hidden in a special ioctl. Got some new HDMI features that are secret, talk to other ppl in the same position and work out a plan for moving forward. At the moment there is no engaging with the Linux stack because you aren&#x27;t really using it, as long as you hide behind the abstraction there won&#x27;t be much engagement, and neither side benefits, so why should we merge the code if nobody benefits?<p>&gt; The platform problem&#x2F;Windows mindset is scary and makes a lot of decisions for you, open source doesn&#x27;t have those restrictions, and I don&#x27;t accept drivers that try and push those development model problems into our codebase.
评论 #13139024 未加载
评论 #13137286 未加载
评论 #13138246 未加载
laurentogetover 8 years ago
I suspect some bearded guy at AMD is having his &#x27;i told you so&#x27; hour of glory sometime this week.
评论 #13136891 未加载
fowl2over 8 years ago
Quite professional, well written and clearly the words of someone who cares about the product.<p>Lack of profanities already exceeded the LKML reputation.<p>I think the point about rules being applied consistently is very true. If Alice does the work to comply then Bob shouldn&#x27;t be able to get away without doing it just because he&#x27;s bigger.
评论 #13137484 未加载
评论 #13137568 未加载
joeguilmetteover 8 years ago
Anyone want to explain this in simple terms for us folk not knee-deep in kernel graphics driver politics?
评论 #13136611 未加载
评论 #13136612 未加载
评论 #13138343 未加载
bentonaover 8 years ago
What&#x27;s the practical effect of this? We&#x27;ll have to wait until someone writes a reasonable alternative for these GPUs to be supported in Linux?<p>Edit: Here&#x27;s the start of the thread <a href="https:&#x2F;&#x2F;lists.freedesktop.org&#x2F;archives&#x2F;dri-devel&#x2F;2016-December&#x2F;126422.html" rel="nofollow">https:&#x2F;&#x2F;lists.freedesktop.org&#x2F;archives&#x2F;dri-devel&#x2F;2016-Decemb...</a>
评论 #13136638 未加载
评论 #13136674 未加载
评论 #13136586 未加载
评论 #13136582 未加载
mVChrover 8 years ago
For any other layer-7-only arm-chair mechanics who also weren&#x27;t sure what a HAL[1] was, I&#x27;m here to help.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;HAL_(software)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;HAL_(software)</a>
评论 #13137431 未加载
codysover 8 years ago
Summary: HALs in the linux kernel are a not acceptable, even large companies are held to some standards.<p>Well, at least for the DRM (Direct Rendering Manager) subsystem.
microcolonelover 8 years ago
As far as I&#x27;m concerned, it would be great to have more sophisticated modesetting available on my new AMD hardware; but if it means a compromise in the DRI I won&#x27;t stand for it. There&#x27;s no sense in having a review process if a vendor can largely ignore a review and go silent for three quarters, then ask for whatever they have to be merged because they&#x27;d like it that way.
MrQuincleover 8 years ago
It seems people think only about games for now, but taking a maintenance perspective is also wise from the perspective of using GPUs for other purposes.<p>One of these is cloud computing on large clusters of headless machines using the parallelization that GPUs are known for. If you want to do this right you definitely need input from a lot of sources, not just hacks in AMD delivered code.
ageofwantover 8 years ago
This is why the Linux kernel runs and will continue to run the world.<p>The No men is all that stands between us and the Yes men.<p>Praise and salutations to the No men, God bless you.
评论 #13136597 未加载
评论 #13136619 未加载
leni536over 8 years ago
Many people in this thread implicitly suggest that this will have a negative impact on end users. I&#x27;m not so sure, amdgpu still can be distributed separately to the vanilla kernel.<p>So this rejection is about maintainership that negatively affects distribution of the amdgpu module as a side effect. It&#x27;s nothing that can&#x27;t be solved by linux distributions though.
theparanoidover 8 years ago
Sucks to be an AMD graphics driver developer, right now.
评论 #13136676 未加载
评论 #13139189 未加载
mijoharasover 8 years ago
Can anyone explain what the acronym DC stands for in these emails? (managed to get most of the others, but googling DC kernel doesn&#x27;t turn up much :) )
评论 #13138329 未加载
评论 #13138501 未加载
fithisuxover 8 years ago
The bright side is that they are OSS friendly, not like NVIDIA, and they can take their code to github for cleanup and further inclusion.
UhUhUhUhover 8 years ago
I side with the little guy (i.e. &lt; 2.5% market share) who makes my personal life easier everyday.
hobarreraover 8 years ago
What are the chances that some lone developers will pick this source up and patch it up enough to be acceptable inside the kernel?<p>I mean, it <i>is</i> all GPL, so it&#x27;s perfectly okay. Is it too much for some dev in seek of fame to do this?
danvetover 8 years ago
I commented a summary on the phoronix forums already, copypasting here. I&#x27;m the good cop in the good cop&#x2F;bad coop game Dave&amp;I have been playing in this. Maybe this helps clear up some of the confusion and anger here.<p>This is me talking with my community hat on (not my Intel maintainer hat), and with that hat on my overall goal is always to build a strong community so that in the future open source gfx wins everywhere, and everyone can have good drivers with source-code. Anyway:<p>- &quot;Why not merge through staging?&quot; Staging is a ghetto, separate from the main dri-devel discussions. We&#x27;ve merged a few drivers through staging, it&#x27;s a pain, and if your goal is to build a strong cross-vendor community and foster good collaboration between different teams to share code and bugfixes and ideas then staging is fail. We&#x27;ve merged about 20 atomic modeset drivers in the past 2 years, non of them went through staging.<p>- &quot;Typing code twice doesn&#x27;t make sense, why do you reject this?&quot; Agreed, but there&#x27;s fundamentally two ways to share code in drivers. One is you add a masive HAL to abstract away the differences between all the places you want your driver to run in. The other is that you build a helper library that programs different parts of your hw, and then you have a (fairly minimal) OS-specific piece of glue that binds it together in a way that&#x27;s best for each OS. Simplifying things of course here, but the big lesson in Linux device drivers (not just drm) is that HAL is pain, and the little bit of additional unshared code that the helper library code requires gives you massive benefits. Upstream doesn&#x27;t ask AMD to not share code, it&#x27;s only the specific code sharing design that DAL&#x2F;DC implements which isn&#x27;t good.<p>- &quot;Why do you expect perfect code before merging?&quot; We don&#x27;t, I think compard to most other parts in the kernel DRM is rather lenient in accepting good enough code - we know that somewhat bad code today is much more useful than perfect code 2 years down the road, simply because in 2 years no one gives a shit about your outdated gpu any more. But the goal is always to make the community stronger, and like Dave explains in his follow up, merging code that hurts effective collaboration is likely an overall (for the community, not individual vendors) loss and not worth it.<p>- &quot;Why not fix up post-merge?&quot; Perfectly reasonable plan, and often what we do. See above for why we tend to except not-yet-perfect code rather often. But doing that only makes sense when thing will move forward soon&amp;fast, and for better or worse the DAL team is hidden behind that massive abstraction layer. And I&#x27;ve seen a lot of these, and if there&#x27;s not massive pressure to fix up th problem it tends to get postponed forever since demidlayering a driver or subsystem is very hard work. We have some midlayer&#x2F;abstraction layer issues dating back from the first drm drivers 15 years ago in the drm core, and it took over 5 years to clean up that mess. For a grand total of about 10k lines of code. Merging DAL as-is pretty much guarantees it&#x27;ll never get fixed until the driver is forked once more.<p>- &quot;Why don&#x27;t you just talk and reach some sort of agreement?&quot; There&#x27;s lots of talking going on, it&#x27;s just that most of it happens in private because things are complicated, and it&#x27;s never easy to do such big course correction with big projects like AMD&#x27;s DAL&#x2F;DC efforts.<p>- &quot;Why do you open source hippies hate AMD so much?&quot; We don&#x27;t, everyone wants to get AMD on board with upstream and be able to treat open-source gfx drivers as a first class citizen within AMD (stuff like using it to validate and power-on hardware is what will make the difference between &quot;Linux kinda runs&quot; and &quot;Linux runs as good or better than any other OS&quot;). But doing things the open source way is completely different from how companies tend to do things traditinoally (note: just different, not better or worse!), and if you drag lots of engineers and teams and managers into upstream the learning experience tends to be painful for everyone and take years. We&#x27;ll all get there eventually, but it&#x27;s not going to happen in a few days. It&#x27;s just unfortunate that things are a bit ugly while that&#x27;s going on, but looking at any other company that tries to do large-scale open-source efforts, especially hw teams, it&#x27;s the same story, e.g. see what IBM is trying to pull off with open power.<p>Hope that sheds some more light onto all this and calms everyone down ;-)
partycoderover 8 years ago
I wonder why this feedback came just now and not earlier.<p>It will be time consuming to change now.
评论 #13136608 未加载
评论 #13136621 未加载
评论 #13136602 未加载
nice_byteover 8 years ago
honestly, i&#x27;d rather have a functional but proprietary driver than have nothing at all. this is wrong.
评论 #13136687 未加载
评论 #13136673 未加载
评论 #13136688 未加载
评论 #13138250 未加载