Displaying 3 results from an estimated 3 matches for "pcim_".
Did you mean:
pci_
2020 Apr 22
0
[PATCH v1] drm/bochs: fix an issue of ioremap() leak
...gmail.com> wrote:
> > >
> > > It forgot to call bochs_hw_fini() to release related resources when
> > > bochs_pci_probe() fail. eg: io virtual address get by ioremap().
> >
> > Good start, although I think the best is to switch this driver to use
> > pcim_*() functions and drop tons of legacy code.
> >
> Andy, thanks for your encouragement, I think we might be able to fix this
> issue first, after that, drop tons of legacy code by pcim_*() functions.
> Do you think it is ok?
It's really up to maintainer. I'm not the one here....
2020 Apr 21
0
[PATCH v1] drm/bochs: fix an issue of ioremap() leak
...Tue, Apr 21, 2020 at 7:45 PM Dejin Zheng <zhengdejin5 at gmail.com> wrote:
>
> It forgot to call bochs_hw_fini() to release related resources when
> bochs_pci_probe() fail. eg: io virtual address get by ioremap().
Good start, although I think the best is to switch this driver to use
pcim_*() functions and drop tons of legacy code.
> Fixes: 81da8c3b8d3df6 ("drm/bochs: add drm_driver.release callback.")
> CC: Andy Shevchenko <andy.shevchenko at gmail.com>
> Signed-off-by: Dejin Zheng <zhengdejin5 at gmail.com>
> ---
> drivers/gpu/drm/bochs/bochs_...
2020 Apr 23
0
[PATCH v1] drm/bochs: fix an issue of ioremap() leak
...ound that the bochs driver may have similar
> problems, so I submitted this patch, then, Andy said the best is to switch
> this driver to use pcim _ * () functions and drop tons of legacy code.
> I think we might be able to fix this issue first, after that, drop tons
> of legacy code by pcim_*() functions. Can you give me some suggestions?
> thank you very much!
drm has drmm_* functions for that. Daniel Vetter <daniel at ffwll.ch> has
a patch series pending switching lots of drivers over and IIRC it fixes
this bug too.
cheers,
Gerd