From patchwork Tue Jan 21 17:22:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Todd Previte X-Patchwork-Id: 3519111 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 656469F1C3 for ; Tue, 21 Jan 2014 17:22:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 010BB2013A for ; Tue, 21 Jan 2014 17:22:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 84A8820125 for ; Tue, 21 Jan 2014 17:22:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CA04FABB1; Tue, 21 Jan 2014 09:22:41 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 57E72FABB1 for ; Tue, 21 Jan 2014 09:22:39 -0800 (PST) Received: by mail-pd0-f179.google.com with SMTP id q10so6415451pdj.38 for ; Tue, 21 Jan 2014 09:22:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XcSBc/jAi+Pw80iPi+h5loGmioAqEscfr8je+Lzj+7k=; b=kRDaAC7n96a6dE88F8uKeSifRIC17X4Y4gMeoVpsb8Hl/SmfzC3gu6CiTrI1fAmNvp ZpfaHhb3quGv10PPP0PB06zaT7WHFG5UzrX3/CrXp5CqMmKu95I1TyMcVq2XYe8c5rqG afn7N7mAZYfevphh0e/kUM0zi7hDzJhHGAYnDpXQ51Zi2rdcLUZ4L7rXQfBATWZzi+lj I6T6gC/geCOkW28JVtX82WfyFBnaiF8R8IiXKYwy4+WNPjab4MRQZzdgpOj5nVBJeGeY hWbqAJEYzBr0PLhtktsXitVfrababQt/ytrNZOPPzIlY2q8tPv4NcuHOovtZ09o93zi1 rGpA== X-Received: by 10.68.247.6 with SMTP id ya6mr25921683pbc.45.1390324959220; Tue, 21 Jan 2014 09:22:39 -0800 (PST) Received: from panzer.ph.cox.net (ip70-162-72-129.ph.ph.cox.net. [70.162.72.129]) by mx.google.com with ESMTPSA id jn12sm14151213pbd.37.2014.01.21.09.22.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 09:22:38 -0800 (PST) From: Todd Previte To: intel-gfx@lists.freedesktop.org Date: Tue, 21 Jan 2014 10:22:31 -0700 Message-Id: <1390324951-6711-1-git-send-email-tprevite@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1390322330-6486-1-git-send-email-tprevite@gmail.com> References: <1390322330-6486-1-git-send-email-tprevite@gmail.com> Subject: [Intel-gfx] [PATCH V2] drm/i915: (VLV2) Fix the hotplug detection bits X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These bits are in reverse order in the header from those defined in the specification. Change the bit positions for ports B and D to correctly match the spec. - Added sign-off Signed-off-by: Todd Previte --- drivers/gpu/drm/i915/i915_reg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 10ecf90..2d77b51 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -2083,9 +2083,9 @@ * Please check the detailed lore in the commit message for for experimental * evidence. */ -#define PORTD_HOTPLUG_LIVE_STATUS (1 << 29) +#define PORTD_HOTPLUG_LIVE_STATUS (1 << 27) #define PORTC_HOTPLUG_LIVE_STATUS (1 << 28) -#define PORTB_HOTPLUG_LIVE_STATUS (1 << 27) +#define PORTB_HOTPLUG_LIVE_STATUS (1 << 29) #define PORTD_HOTPLUG_INT_STATUS (3 << 21) #define PORTC_HOTPLUG_INT_STATUS (3 << 19) #define PORTB_HOTPLUG_INT_STATUS (3 << 17)