mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
Revert "drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers"
This reverts commitcccfcbb9e5which is commit80e993988bupstream. It breaks the Android ABI and can be brought back later in an abi-safe way if needed. Bug: 161946584 Change-Id: I98437f0d8222293d93ad48311e8b719931f68c75 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -424,17 +424,12 @@ static int psb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
|
||||
/*
|
||||
* We cannot yet easily find the framebuffer's location in memory. So
|
||||
* remove all framebuffers here. Note that we still want the pci special
|
||||
* handling to kick out vgacon.
|
||||
* remove all framebuffers here.
|
||||
*
|
||||
* TODO: Refactor psb_driver_load() to map vdc_reg earlier. Then we
|
||||
* might be able to read the framebuffer range from the device.
|
||||
*/
|
||||
ret = drm_aperture_remove_framebuffers(false, &driver);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = drm_aperture_remove_conflicting_pci_framebuffers(pdev, &driver);
|
||||
ret = drm_aperture_remove_framebuffers(true, &driver);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user