Fixing display freezing with AMD GPU on kernel 7.0.0

Hey, it’s been a while. Took me a good ten years since the last blog post, so this one better be worth it! Here’s my problem. Everytime I boot up my framework laptop (Framework Laptop 13 AMD, Ryzen 7 7840U / Radeon 780M), my laptop screen freezes and only my external screen keeps working. There is a manual workaround for this problem, just deactivate the laptop-screen and reactivate it in the…