Merge branch 'drm-next-3.9' of git://people.freedesktop.org/~agd5f/linux into drm...
[~shefty/rdma-dev.git] / drivers / gpu / drm / radeon / radeon_device.c
index 9f02fdd68f517fe716b279c58c047b7e449c855c..44b8034a400d297dcba86012c8dd797f72a6af28 100644 (file)
@@ -430,7 +430,8 @@ bool radeon_card_posted(struct radeon_device *rdev)
 {
        uint32_t reg;
 
-       if (efi_enabled && rdev->pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE)
+       if (efi_enabled(EFI_BOOT) &&
+           rdev->pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE)
                return false;
 
        /* first check CRTCs */