[PATCH] fbdev/sis: Remove dependency on screen_info
Helge Deller
deller at gmx.de
Mon Jan 8 09:16:36 UTC 2024
On 1/3/24 13:13, Thomas Zimmermann wrote:
> When built-in, the sis driver tries to detect the current display mode
> from the global screen_info state. That state is only for architecture
> and firmware code. Drivers should not use it directly as it's not
> guaranteed to contain valid information.
>
> Remove the mode-detection code from sis. Drivers that want to detect a
> pre-set mode on probe should read the hardware registers directly.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
> drivers/video/fbdev/sis/sis_main.c | 37 ------------------------------
> 1 file changed, 37 deletions(-)
applied to fbdev git tree.
Thanks!
Helge
More information about the dri-devel
mailing list