Commit b56f93f5 authored by Giovanni Di Santi's avatar Giovanni Di Santi Committed by Helge Deller
Browse files

fbdev: kyro: Add missing PCI memory region request



The kyro framebuffer driver did not request its PCI memory regions,
which could lead to conflicts with other drivers.  This change
addresses the task "Request memory regions in all fbdev drivers"
from the file Documentation/gpu/todo.rst.

This is addressed by using the managed device functions pcim_enable_device()
and pcim_request_all_regions(). This simplifies the code by making error
handling and driver removal cleanup automatic for these resources.

Signed-off-by: default avatarGiovanni Di Santi <giovanni.disanti.lkl@gmail.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent c80de50c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment