On 2023-03-20 13:12, Javier Martinez Canillas wrote:
Samuel Čavoj writes:
[...]
This call to sysfb_disable() has been causing trouble with regard
to
VFIO. VFIO has been calling aperture_remove_conflicting_pci_devices
to
get rid of any console drivers (d173780620792c) using the device in
On 2023-03-20 11:13, Javier Martinez Canillas wrote:
Thomas Zimmermann writes:
[...]
+ /*
+ * If a driver asked to unregister a platform device registered
by
+ * sysfb, then can be assumed that this is a driver for a
display
+ * that is set up by the system firmware and has a
Hi,
diff --git a/drivers/video/aperture.c b/drivers/video/aperture.c
index f42a0d8bc211..101e13c2cf41 100644
--- a/drivers/video/aperture.c
+++ b/drivers/video/aperture.c
@@ -8,6 +8,7 @@
#include
#include
#include
+#include
#include
#include
@@ -286,7 +287,20 @@ int
aperture_remove_
if (dm->backlight_dev[0])
> > > - atif->bd = dm->backlight_dev[0];
> > > + if (dm->backlight_dev[1])
> > > + atif->bd = dm->backlight_dev[1];
> >
struct drm_encoder *tmp;
>
There is no difference in behaviour after applying the patch.
Samuel
>
> Alex
>
> >
> > Regards,
> > Samuel Čavoj
> >
> > [0]:
> > https://www.reddit.com/r/AMDLaptops/comments/qst0fm/after_updating_to_linux_515_my_brightness/
would be glad to help debugging the issue. Thank you very
much.
Regards,
Samuel Čavoj
[0]:
https://www.reddit.com/r/AMDLaptops/comments/qst0fm/after_updating_to_linux_515_my_brightness/