What modifications were required? The good part of a rolling release is that upstreaming things means you only have to deal with manual fixes for like 2 or 3 updates.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
set LINK_TRAINING_ATTEMPTS
from 5
to 10
in drivers/gpu/drm/amd/display/dc/link/link_dpms.c
and set LINK_TRAINING_RETRY_DELAY
from 50
to 100
in drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c.
i doubt this will be added to kernel as its a fix for an issue that isn't wide spread.
That wouldn't be accepted as is, but those sound like tunables. They could be exposed as kernel parameters. May be worth submitting the patch as an RFC just to call attention to it.
thank you i will read up on how to submit this kind of stuff.
I followed your advice, Github my edit link_dpms.c, - Github my edit link_dp_training.c how do i submit as RFC. total noob with github lol.
Successful GitHub pulls are rare; more often, patches live like this. You're better off contacting the maintainer of the subsystem you're editing. See the official submission guide.
Not to be dejecting!
thank you and no dejection taken. you're actually very helpful :D
Ah, so the kernel actually uses mailing lists. You need to use the get maintainers Perl script to get the people you need to send the email TO and then send it to them with the dri-devel list CC'd.
Use diff patches and automate with some bash scripting.
cheers, I'm using sed to patch the files then auto mated compiling
You could write a bash script to automate this process. Pacman supports hooks for updates, so after kernel updates you could set it up to automatically run the script.
not looked in to pacman hooks but will need to now lol any i made a script that downloads, unzips and patches then compiles so mostly hands free.
This is the perfect use case for gentoo, there is a documented process for adding kernel patches and saving a kernel build configuration
Although I haven't used Arch for a long time, I guess https://wiki.archlinux.org/title/Kernel#Compilation and https://wiki.archlinux.org/title/Kernel/Arch_build_system will work.