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)
commitb0e999c9558194a7b8908c41eaa7903e27fdb8c8
treea703305c645b648b1df5c80fe070834e0d335b7a
parenta4bd25259e9744948a408c5d2ee575a9f1888fb4
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