Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4403764ybb; Tue, 14 Apr 2020 06:41:21 -0700 (PDT) X-Google-Smtp-Source: APiQypJRjNtBX/qOe/Vm1tkmg6fkl7uQbCIR2JtW9xFheMeJu6TfM0I/w1BZlzrA93oPZO3tMjCO X-Received: by 2002:a17:906:434a:: with SMTP id z10mr192191ejm.26.1586871681379; Tue, 14 Apr 2020 06:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586871681; cv=none; d=google.com; s=arc-20160816; b=uoEba+et75s3Rqo3NAeTsamBkv5301ne85ztZixR7WWHiXA5lBxCidxCmKNAdecJGF VkUNhZLgyiWlShkphojcjLxWqsqo48iiOf47cO6jc7FXG0FHutHz4M2nrvgL6cdN+0Ye IeNEuJZAoDqtJ4TqAlcf8B0gXlzmIt/+GRXuZNTy3UI3K6xsL12DcmMbJaiNLsSMREfN FXM3p5vNG3ajiI82g659X6muhmA/0y4mWw7Yn++gqUNsY3SDWreXupqEfGnXHmRGIxfO 9ge9qpwezg9ccnM1bkWCgi+TefBHbJ0TKDuNRfDBWfpILeZhyERM8bb6HPGqxIoJemNL g27A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KQIqrFGUphmuFkBfyVpa5uYKSuyV3byu56jJQa16wH8=; b=WT/iLpO20nKe91MhoBqx786uiv95UzF0eBG4Y1uig9baqSUkmnpMDRI3XwQooDtO24 D/th8XOMgStRsHR/hUjROqpSGwMhHGHyMvZ8hOElf3zoYRJyic/3MxAWn4pom65OR9mK Np0xbo58VsKTiNNnKzPDaJffgkAegxPaw4hpuyAltCyhRs/YiO3azH07tJXMAcL0R5PO a+6SiYtfJRlDkdju3tnVoS4ibDZM3/4FieW7LMLynJMKxh+0nI2tPnvB2lgHZcYVTXSv WtLJZyLAcsZhCxpjFxzcfWF1+lFux+n35DCAY/0A/dGoFwfn2JLSaGONEOTYeaAxipBX 2rVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HJXkGH0B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r4si8273038edo.416.2020.04.14.06.40.57; Tue, 14 Apr 2020 06:41:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HJXkGH0B; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389215AbgDMVo2 (ORCPT + 99 others); Mon, 13 Apr 2020 17:44:28 -0400 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:45091 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388914AbgDMVo1 (ORCPT ); Mon, 13 Apr 2020 17:44:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586814265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KQIqrFGUphmuFkBfyVpa5uYKSuyV3byu56jJQa16wH8=; b=HJXkGH0BNqRMBvKhXJue8gAwXpkYSgeXNCOKSPso4CPa+90xjD+sG6JJuv89g9WBgYKhxB z9i1eOkjT2p02ra5m7Gr9qNu8B+NlrRf2XLIJoLM8zxm9JfEHOoOMQq6Od/4DeJvciZS74 YKdnK5xrUrZKq3mKDH9665de/rLRJqo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-zHFU6IkTOpqpXbCPmWIjow-1; Mon, 13 Apr 2020 17:44:22 -0400 X-MC-Unique: zHFU6IkTOpqpXbCPmWIjow-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E10DB8010F1; Mon, 13 Apr 2020 21:44:18 +0000 (UTC) Received: from Ruby.redhat.com (ovpn-119-134.rdu2.redhat.com [10.10.119.134]) by smtp.corp.redhat.com (Postfix) with ESMTP id C43D719C69; Mon, 13 Apr 2020 21:44:12 +0000 (UTC) From: Lyude Paul To: intel-gfx@lists.freedesktop.org Cc: Adam Jackson , Jani Nikula , Joonas Lahtinen , =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Rodrigo Vivi , David Airlie , Daniel Vetter , Chris Wilson , Juha-Pekka Heikkila , Lee Shawn C , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/i915/dpcd_bl: Unbreak enable_dpcd_backlight modparam Date: Mon, 13 Apr 2020 17:44:06 -0400 Message-Id: <20200413214407.1851002-1-lyude@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Looks like I accidentally made it so you couldn't force DPCD backlight support on, whoops. Fix that. Signed-off-by: Lyude Paul Fixes: 17f5d57915be ("drm/i915: Force DPCD backlight mode on X1 Extreme 2= nd Gen 4K AMOLED panel") Cc: Adam Jackson Cc: Jani Nikula Cc: Joonas Lahtinen Cc: "Ville Syrj=C3=A4l=C3=A4" --- drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c b/driv= ers/gpu/drm/i915/display/intel_dp_aux_backlight.c index 4b916468540f..0722540d64ad 100644 --- a/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c +++ b/drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c @@ -358,6 +358,7 @@ int intel_dp_aux_init_backlight_funcs(struct intel_co= nnector *intel_connector) */ if (i915->vbt.backlight.type !=3D INTEL_BACKLIGHT_VESA_EDP_AUX_INTERFACE && + i915_modparams.enable_dpcd_backlight !=3D 1 && !drm_dp_has_quirk(&intel_dp->desc, intel_dp->edid_quirks, DP_QUIRK_FORCE_DPCD_BACKLIGHT)) { drm_info(&i915->drm, --=20 2.25.1