From mboxrd@z Thu Jan 1 00:00:00 1970 From: Todd Previte Subject: [PATCH V2] drm/i915: (VLV2) Fix the hotplug detection bits Date: Tue, 21 Jan 2014 10:22:31 -0700 Message-ID: <1390324951-6711-1-git-send-email-tprevite@gmail.com> References: <1390322330-6486-1-git-send-email-tprevite@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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) In-Reply-To: <1390322330-6486-1-git-send-email-tprevite@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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) -- 1.8.3.2