From patchwork Wed May 22 17:38:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 2602711 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 6AB83DF215 for ; Wed, 22 May 2013 17:38:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E8DDE616C for ; Wed, 22 May 2013 10:38:40 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 26CA5E5D37 for ; Wed, 22 May 2013 10:38:28 -0700 (PDT) Received: by mail-qc0-f174.google.com with SMTP id m16so1208323qcq.19 for ; Wed, 22 May 2013 10:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=CJn8EZx3/IVa/QzAhWFLqjYeqUlT385V592z+5h4yLA=; b=k4tCre7BuC+xuOgKK8JAT5mQvwxCKQ/K8TPrzZ5n7HQaxugYadzSNnz8YRcNNuKuBQ k3HsR96wpPrbItEE8dUGTlNvLN1EhwUqlW6tzOkIpYMYbGCGmPBVOeZlYUNSKNMiG2B9 49vZYADuuq0r2gsXn16A/C4Wa53DMEoZtdI5QVJI5ohTSKA5lylbGGROKZF3oc6j1dk+ fvSsbbsg3rDD8tDNJssrBco8R7ODJSkxddtxisBYAsG7xAdBQghcLeAcJNe7GH4Z3jK+ JiMf+pg/OWq/NZ0FYPYJ7XOFbGo1BhLK38OWqI91ihGgJDctA+Vp4hhemm/CXEFpO7SS lisw== X-Received: by 10.224.213.201 with SMTP id gx9mr8077335qab.94.1369244307502; Wed, 22 May 2013 10:38:27 -0700 (PDT) Received: from localhost.localdomain (static-74-96-105-49.washdc.fios.verizon.net. [74.96.105.49]) by mx.google.com with ESMTPSA id j10sm8210859qeh.0.2013.05.22.10.38.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 22 May 2013 10:38:26 -0700 (PDT) From: alexdeucher@gmail.com To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon: revert Apple re-POST hack Date: Wed, 22 May 2013 13:38:21 -0400 Message-Id: <1369244301-25974-1-git-send-email-alexdeucher@gmail.com> X-Mailer: git-send-email 1.7.7.5 Cc: Alex Deucher , Matthew Garrett X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Alex Deucher This reverts: drm/radeon: re-POST the asic on Apple hardware when booted via EFI That patch prevents UVD from working on macs when booted in EFI mode. The original patch may not be required any more due to other fixes for UEFI on non-Mac platforms, but I don't have any Macs. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=63935 Cc: Matthew Garrett Signed-off-by: Alex Deucher Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon_device.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index af82c9b..261fe11 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -467,10 +467,6 @@ bool radeon_card_posted(struct radeon_device *rdev) { uint32_t reg; - if (efi_enabled(EFI_BOOT) && - rdev->pdev->subsystem_vendor == PCI_VENDOR_ID_APPLE) - return false; - if (ASIC_IS_NODCE(rdev)) goto check_memsize;