Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp420409rdb; Thu, 2 Nov 2023 07:30:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4gd4wpQMtbMBJ9P0YYMdd7RiNv2xMOW6mtchVU9QZu0YEyTqHYXII8MhWXbA4gsTPb5Hm X-Received: by 2002:a05:6a20:8f05:b0:14d:9bd1:6361 with SMTP id b5-20020a056a208f0500b0014d9bd16361mr19480704pzk.11.1698935458484; Thu, 02 Nov 2023 07:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698935458; cv=none; d=google.com; s=arc-20160816; b=KqUozfv/NTgpjrhmDNUnzINAs9myLr5P2vsxyfRD0zfV85yKdkDIFpWWlDum2hUF4O jzVXnPumjFikSo2/hWjBm07UPqQzDZmz0JLfeG+RZW6x+9R+CXDl0ejDJA1uNdCwfKdl cTIQs01jfVHQ4EYw+r4kKiLgGU38AhDvx+JgVWMiYJIFEVje5oxd7+f7RM0Paw2sYk5F la5yBufdzfZ45QQPD4nSSUDno8s3dn1261lOssFeLTWw6qOq7L+JPUwByj+8EWAX5t1a fXYvewj4GcWhiDplP19CDoAP7iMBagMpap19CTNFfLfjN5VGMq1sANi+y2RzExzDvLbq uShg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=Tgr6D1BZg4DELT6k9Jshl8Q647baCv/R63fV2D1EpT4=; fh=5Vg0wx+//7gBolT5hMw78akEbwz2u01eyqVTyUGn5BY=; b=fLa0DT793wdssW9TgIumpLE+Kh4ivse5rGBjcIF3FK/nbecINy5VOBEloQn20kot6L HcEI1nfy9ojmS63mlvrWiKd/341sdhC2Daki50OfPccSBinyHyF2dnziNdVwxVTtjxS7 pOgOEfrpfogf/McdPJrYnIZZnWd5f0nLct/nwkbcLAQTgHjhHYH/Egh4xXGZw7HI6zrB klt57CoJTZSgUcd6K6QuFF8a3ghajx9soVX27HAZR1NPM6UkRJIRy2Gf1iv53F+/EPcv woONVHKQZkhbg8IYiJW4/nExCVQOJOCrfnyepqGovQizFhwRxalzBE8z2KgqMQ0t4NX0 6WNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dnnoMBoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l71-20020a63914a000000b005a9fde46f98si1909984pge.52.2023.11.02.07.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 07:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dnnoMBoN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 48E3380FF2AA; Thu, 2 Nov 2023 07:30:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbjKBOaG (ORCPT + 99 others); Thu, 2 Nov 2023 10:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235433AbjKBO3x (ORCPT ); Thu, 2 Nov 2023 10:29:53 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C39A4199 for ; Thu, 2 Nov 2023 07:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698935344; 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: in-reply-to:in-reply-to:references:references; bh=Tgr6D1BZg4DELT6k9Jshl8Q647baCv/R63fV2D1EpT4=; b=dnnoMBoNYJu7R/vXqMWYAdpCne64rHek2bxAFU28futZudzeAx1PecEOAS73s8m9vri7O9 GQzducn8fafyUSSRuSyeo0/k6rmo8qO0c6YpQgTwGAt0ulwy8pB1gLh3nP1XrggHawS9En QUbON4eFff9KiyqP9MyF9yM+Lc1Geh4= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-257-gx9XawOnM12EcVugmpxikA-1; Thu, 02 Nov 2023 10:28:57 -0400 X-MC-Unique: gx9XawOnM12EcVugmpxikA-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9a681c3470fso76949266b.1 for ; Thu, 02 Nov 2023 07:28:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698935336; x=1699540136; h=in-reply-to:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Tgr6D1BZg4DELT6k9Jshl8Q647baCv/R63fV2D1EpT4=; b=CLEcAIqZgXa9jwhWjUu4H2IB3a5hfmOGLfbC9kCHHPGJpB8GJ10B6krizgQYo0veHq FGSkbFfkciG0w+y3aasE/YLa9E/GgAy4cCLfQz00uItamZnBHzq8Edz1PX/i8HkKm7gy Vx4LrFoYMtn9k4gfGZxbQJaltx+ErKg1Yfe7P3L9BLblnnkgmnLx3Y0C+F4mi5nyuDXy y8Z0GmHZsYb9TXJV3cEL9k7oRiwH6HJnpUZPJxRqc3NBrPjr0E9fTc9kkR+xj4pGnSPh hV7WMJmo821ybxT4taSCedJCt32aXOFebfJhiVt2oexEbd/Z/v9rzGDSbXkaL93w7wOo hu2w== X-Gm-Message-State: AOJu0YyvqXT5iRqjrXNE1CHLhY+86dbLH59FmXepaf1BpfmGSrvUbpA8 lCZJcHpfmKnzjcqaIiWYZOM/0HXiid7/J6zxAQ2Ptz03Jp84uBblEv7dqT8pqUia6DJ0v5slYh8 0IaF0k1gUIB/fH/3JjSqOBb1f X-Received: by 2002:a17:906:794d:b0:9be:705:d7d0 with SMTP id l13-20020a170906794d00b009be0705d7d0mr4485993ejo.0.1698935336596; Thu, 02 Nov 2023 07:28:56 -0700 (PDT) X-Received: by 2002:a17:906:794d:b0:9be:705:d7d0 with SMTP id l13-20020a170906794d00b009be0705d7d0mr4485981ejo.0.1698935336251; Thu, 02 Nov 2023 07:28:56 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id lh23-20020a170906f8d700b009adc5802d08sm1201944ejb.190.2023.11.02.07.28.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Nov 2023 07:28:55 -0700 (PDT) Content-Type: multipart/mixed; boundary="------------GnluoRzsnuYax0s2uyTESTIh" Message-ID: Date: Thu, 2 Nov 2023 15:28:54 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2 6/7] drm/i915/dsi: Replace poking of CHV GPIOs behind the driver's back Content-Language: en-US, nl To: Andy Shevchenko Cc: Jani Nikula , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter References: <20231024155739.3861342-1-andriy.shevchenko@linux.intel.com> <20231024155739.3861342-7-andriy.shevchenko@linux.intel.com> <16e533e2-81bb-47ba-9e23-460a626bcad7@redhat.com> From: Hans de Goede In-Reply-To: X-Spam-Status: No, score=-5.0 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 07:30:45 -0700 (PDT) This is a multi-part message in MIME format. --------------GnluoRzsnuYax0s2uyTESTIh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 11/2/23 15:19, Andy Shevchenko wrote: > On Wed, Nov 01, 2023 at 11:20:23AM +0100, Hans de Goede wrote: >> On 11/1/23 10:32, Andy Shevchenko wrote: >>> On Tue, Oct 31, 2023 at 10:15:52PM +0100, Hans de Goede wrote: >>>> On 10/31/23 17:07, Hans de Goede wrote: >>>>> On 10/24/23 18:11, Andy Shevchenko wrote: >>>>>> On Tue, Oct 24, 2023 at 06:57:38PM +0300, Andy Shevchenko wrote: > > ... > >> Note you still need the first part of my patch which is >> an unrelated bugfix: >> >> --- a/drivers/gpu/drm/i915/display/intel_dsi_vbt.c >> +++ b/drivers/gpu/drm/i915/display/intel_dsi_vbt.c >> @@ -219,8 +219,7 @@ static void soc_exec_gpio(struct intel_connector *connector, const char *con_id, >> } else { >> gpio_desc = devm_gpiod_get_index(dev_priv->drm.dev, >> con_id, gpio_index, >> - value ? GPIOD_OUT_LOW : >> - GPIOD_OUT_HIGH); >> + value ? GPIOD_OUT_HIGH : GPIOD_OUT_LOW); >> if (IS_ERR(gpio_desc)) { >> drm_err(&dev_priv->drm, >> "GPIO index %u request failed (%pe)\n", > > Can you attach or send a formal submission, so I can incorporate it into one > (v3) series among other changes? I thought this fixed new code in your series and it is a trivial fix, so my idea was that you would just fold the fix into the patch introducing the code. But I see now that this is existing code from bxt_exec_gpio(). A formal fix to use as a prep patch for your series is now attached, this is based on top of drm-misc-next (I guess drm-intel-next would be better but I had an up2date drm-misc-next handy). Regards, Hans --------------GnluoRzsnuYax0s2uyTESTIh Content-Type: text/x-patch; charset=UTF-8; name="0001-drm-i915-dsi-Fix-wrong-initial-value-for-GPIOs-in-bx.patch" Content-Disposition: attachment; filename*0="0001-drm-i915-dsi-Fix-wrong-initial-value-for-GPIOs-in-bx.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSBjMzAwZWQwZTA5ZDFmZDE0YmY5NjZkYzE3MmM2ZGI1NGI4ODhmYWYzIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBIYW5zIGRlIEdvZWRlIDxoZGVnb2VkZUByZWRoYXQu Y29tPgpEYXRlOiBXZWQsIDEgTm92IDIwMjMgMTE6NDk6MDEgKzAxMDAKU3ViamVjdDogW1BB VENIXSBkcm0vaTkxNS9kc2k6IEZpeCB3cm9uZyBpbml0aWFsIHZhbHVlIGZvciBHUElPcyBp bgogYnh0X2V4ZWNfZ3BpbygpCgpGaXggd3JvbmcgaW5pdGlhbCB2YWx1ZSBmb3IgR1BJT3Mg aW4gYnh0X2V4ZWNfZ3BpbygpLgoKU2lnbmVkLW9mZi1ie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