Re: [PATCH v2 07/11] video/aperture: Disable and unregister sysfb devices via aperture helpers

2023-03-28 Thread Samuel Čavoj
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

Re: [PATCH v2 07/11] video/aperture: Disable and unregister sysfb devices via aperture helpers

2023-03-20 Thread Samuel Čavoj
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

Re: [PATCH v2 07/11] video/aperture: Disable and unregister sysfb devices via aperture helpers

2023-03-19 Thread Samuel Čavoj
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_

Re: Backlight control broken on UM325 (OLED) on 5.15 (bisected)

2021-11-17 Thread Samuel Čavoj
if (dm->backlight_dev[0]) > > > - atif->bd = dm->backlight_dev[0]; > > > + if (dm->backlight_dev[1]) > > > + atif->bd = dm->backlight_dev[1]; > >

Re: Backlight control broken on UM325 (OLED) on 5.15 (bisected)

2021-11-16 Thread Samuel Čavoj
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/

Backlight control broken on UM325 (OLED) on 5.15 (bisected)

2021-11-14 Thread Samuel Čavoj
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/