He, he, reject all DRM merge Linus, maybe they will learned it
Announcement
Collapse
No announcement yet.
DRM Updates Submitted For Linux 4.11, Torvalds Explodes Over Code Quality
Collapse
X
-
Originally posted by SpyroRyder View PostGood reminder to those few people think that he'll just accept the AMDGPU DC code as a placeholder to get the cards supported that he almost certainly wont.
- Likes 2
Comment
-
Originally posted by atomsymbol
If Linus Torvalds was serious about lowering programming errors and improving code correctness he would have had been writing code in an improved version of the C language that can catch more bugs and can better enforce code correctness.
Comment
-
Spare a thought for the devs. It sucks to be publicly insulted and (effectively) have your competence questioned. Linus could have rejected it without screaming.
anyway I am impatiently waiting for a kernel which uses AMDGPU DRM for my r9 290. Until then the only way to test vulkan is using amdgpu pro driver, which I don't mind but distro support is very limited and doesn't work on newish kernels.
Comment
-
Originally posted by humbug View PostSpare a thought for the devs. It sucks to be publicly insulted and (effectively) have your competence questioned. Linus could have rejected it without screaming.
It filters out a lot of effort from review that would never survive the process. Some of that effort would be valuable in the kernel, but much of it is not good enough to make it, and often driven without enough purpose to create long-standing maintainable effort. If you or your organization are not willing to stand the trial of fire, then do you have enough drive to support and maintain your code, or is it now the responsibility of everybody else?
The trick is to force yourself to not take it personally.
(note: I am not involved with the kernel at all, so it is easy for me to say that)
I think I'm also going to require the DRM pull requests to be split
up, because as it is now, I'm in the situation that I have to accept
all or nothing. Which is not good, when the "all" stuff is of this
dubious quality.
- Likes 3
Comment
-
Originally posted by humbug View Postanyway I am impatiently waiting for a kernel which uses AMDGPU DRM for my r9 290. Until then the only way to test vulkan is using amdgpu pro driver, which I don't mind but distro support is very limited and doesn't work on newish kernels.
In case it helps there are some distros which are enabling amdgpu by default for CIK already.Last edited by bridgman; 24 February 2017, 03:14 AM.Test signature
- Likes 3
Comment
-
Linus is known to hold senior maintainers to a very high standard which includes making them personally responsible for any and all serious errors regardless of the seniority of the person who made that error. He even goes as far as to consider maintainers more responsible for serious errors than the person who actually made the error when they're made by junior developers. The basic gist of the way in which he maintains the Linux kernel is that it's a chain of trust where he trusts the people beneath him to catch all the serious mistakes so he doesn't have to waste potentially hours of work going trough un-doing code merges after one of these merges contains a fault nobody down the ladder caught before he did. When he does these rants it's usually because a maintainer committed code that is in such a bad state it won't even compile, proving that the maintainer who committed it didn't even test it and thus didn't do their job.
Many people are obviously going to see Linus as the villain here, but I'm going to say that there's some bigger issues at play than a couple of angry emails with a bit of swearing in them. Airlie is a grown man and can definitely take being chewed out for his mistakes once in a while. What set Linus off this time was David Airlie committing code that wasn't just badly written, it was in such a bad state it wouldn't even compile and to make matters worse the code in question had only been committed by the developer who wrote it the day before Airlie pushed it to the Linux kernel. Neither Airlie nor anyone underneath him seems to have even tried to compile the code, meaning that there may be some serious problems in the way DRM code is maintained that absolutely need to rectified. The talk about not doing any DRM commits this kernel cycle and demanding DRM updates to be in linux-next before they're pushed into the kernel proper is obviously meant to be shield the kernel proper from mistakes like this.
For Airlie's sake I hope this was a mistake and not standard procedure as you'd expect there to be at least some testing and review of all code destined for the Linux kernel before it reaches Linus. It's also rather ironic for Airlie to rant about the quality of DAL/DC code when he himself pushed code as bad as this to Linus without as much as testing it.Last edited by L_A_G; 24 February 2017, 03:23 AM.
- Likes 16
Comment
-
Originally posted by humbug View PostSpare a thought for the devs. It sucks to be publicly insulted and (effectively) have your competence questioned. Linus could have rejected it without screaming.
Code:struct drm_gem_object * tinydrm_gem_cma_prime_import_sg_table(struct drm_device *drm, struct dma_buf_attachment *attach, struct sg_table *sgt) { .....
Code:void tinydrm_gem_cma_free_object(struct drm_gem_object *gem_obj) { if (gem_obj->import_attach) { struct drm_gem_cma_object *cma_obj; cma_obj = to_drm_gem_cma_obj(gem_obj); dma_buf_vunmap(gem_obj->import_attach->dmabuf, cma_obj->vaddr); cma_obj->vaddr = NULL; } drm_gem_cma_free_object(gem_obj);
- Likes 1
Comment
Comment