]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: list all pci memory bars as conflicting apertures
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Apr 2019 15:46:57 +0000 (17:46 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 1 Apr 2019 15:46:57 +0000 (17:46 +0200)
commit284bf16ca2e8668a4c0da684ed0c1e863fd26839
treea703305c645b648b1df5c80fe070834e0d335b7a
parent5b7a78845408caa255528517c1a8af37bdc56ef0
fbdev: list all pci memory bars as conflicting apertures

Simply add all pci memory bars to struct apertures_struct in
remove_conflicting_pci_framebuffers(), without depending on the
res_id parameter.

The plan is to drop the res_id parameter later on.  For now keep the
parameter, use it for sanity-checking and warn on inconsistencies.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/core/fbmem.c