[PATCH v4 1/9] drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers

Javier Martinez Canillas javierm at redhat.com
Thu Apr 6 08:41:27 UTC 2023


Thomas Zimmermann <tzimmermann at suse.de> writes:

> From: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> This one nukes all framebuffers, which is a bit much. In reality
> gma500 is igpu and never shipped with anything discrete, so there should
> not be any difference.
>
> v2: Unfortunately the framebuffer sits outside of the pci bars for
> gma500, and so only using the pci helpers won't be enough. Otoh if we
> only use non-pci helper, then we don't get the vga handling, and
> subsequent refactoring to untangle these special cases won't work.
>
> It's not pretty, but the simplest fix (since gma500 really is the only
> quirky pci driver like this we have) is to just have both calls.
>
> v4:
> - fix Daniel's S-o-b address
>

I believe they want to have their Intel S-o-B as well. I know that dim
complains but that's what usually happens with danvet's patches AFAIK.

> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> Cc: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Cc: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Javier Martinez Canillas <javierm at redhat.com>
> ---

Patch looks good to me. Although I wonder if should just be dropped in
favour of yours patch since are now part of the same series?

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

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat



More information about the dri-devel mailing list