[PATCH v2] drm: Remove drm_mode_config::fb_base

Zack Rusin zackr at vmware.com
Tue Oct 18 16:31:20 UTC 2022


On Tue, 2022-10-18 at 19:28 +0300, Laurent Pinchart wrote:
> > @@ -271,7 +260,8 @@ static int hibmc_load(struct drm_device *dev)
> >        if (ret)
> >                goto err;
> > 
> > -     ret = drmm_vram_helper_init(dev, pci_resource_start(pdev, 0), priv-
> > >fb_size);
> > +     ret = drmm_vram_helper_init(dev, pci_resource_start(pdev, 0),
> > +                                 pci_resource_len(pdev, 1));
> 
> This should be pci_resource_len(pdev, 0). Apart from that,

Eh, yes, of course. Thanks!

> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>


z


More information about the dri-devel mailing list