[Freedreno] [PATCH] drm/msm: Use struct fb_info.screen_buffer

Javier Martinez Canillas javierm at redhat.com
Tue May 23 08:20:37 UTC 2023


Hello Thomas,

On Mon, May 22, 2023 at 9:17 PM Thomas Zimmermann <tzimmermann at suse.de> wrote:
>
> The fbdev framebuffer is in system memory. Store the address in
> the field 'screen_buffer'. Fixes the following sparse warning.
>
> ../drivers/gpu/drm/msm/msm_fbdev.c:124:26: warning: incorrect type in assignment (different address spaces)
> ../drivers/gpu/drm/msm/msm_fbdev.c:124:26:    expected char [noderef] __iomem *screen_base
> ../drivers/gpu/drm/msm/msm_fbdev.c:124:26:    got void *
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the Freedreno mailing list