Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5847825rwd; Wed, 24 May 2023 07:33:14 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AF4TmV/wlDTdn5xzIaThmJYgrU8pppi2qKsnbCVQ5U6LR1T8h21ssnmyVSl14EnfWd2nv X-Received: by 2002:a05:6a21:6d87:b0:106:ff3c:a60d with SMTP id wl7-20020a056a216d8700b00106ff3ca60dmr20988624pzb.38.1684938793871; Wed, 24 May 2023 07:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684938793; cv=none; d=google.com; s=arc-20160816; b=xAjfJgRQU9RuHISxpsYc+d0vcrb1MKXjrgW7do2I9nxyLGRrlLFLtRy6hzvx52wExj akopHNvgUgVjIjYW4051EVTtUY7rxREX8zEipwXzN0SWA/PkgStO9SPRqPAOCAM4dyJF KCiTf1Ale9aWB6Z49b30UdgqeXiqpfyU/qcmZb8sBd1YLor+yLNiY79G+y1cgKlVtLg4 bB6+YclLYy0ocUpfN9xma12ckyRiSkZJlt0Zs/6qp84usMc630tcdQReUZi9np2jfXR3 fgDULfX/dXippzBVQ1hIo5Kb6Aek/GNwyq1AT/0i/PPIWKUL80s23ZmPNxOI+KmCExIp pEQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=givBtNcYMhUclg1ch6AIv6MRMAhmhWibIprX2CWtvHU=; b=yQxJ2YFEUpajGPX2sSIvH3SPMuFnezkEk8WS1X4uiHicHPmmjT9xcIgvK88L+qcI09 Z5iuYtLEpqyn0X/QIgzcg/UWqhX+3uD/NP19sdhFmQDb8gScGXHTU8IrDJX7YPk1dtQa jFmKyb3yBU+9vRwcE4LRX6g9sZQTKBhiZNSTuYMiJRmrMoG+ChsJemsaB+/NIzyjQq8o 9/7N4m7msQfFLfsGUhnpuFWbK8gs/gf5tiCXn/pFmaz83u6mSYOHE0DB+kDFQB6KdBxT X1wXe3UTIDXEswM78g4YTkNxvq5zi9EiFlvEpCHUqNWnPKgRZ2+kPWP0MSd32Ggs/JJW x2gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FUdNlK6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 199-20020a6300d0000000b00534874dd5f4si905546pga.441.2023.05.24.07.33.00; Wed, 24 May 2023 07:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FUdNlK6L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233176AbjEXOWg (ORCPT + 99 others); Wed, 24 May 2023 10:22:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229919AbjEXOWf (ORCPT ); Wed, 24 May 2023 10:22:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C34F512E; Wed, 24 May 2023 07:22:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6132563DD1; Wed, 24 May 2023 14:22:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE479C433D2; Wed, 24 May 2023 14:22:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684938153; bh=Ti7srOHrHydlQp6V2XYkCscD2SeIBeXLguWZIPuModw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FUdNlK6L8Loy0wWd0CgvfG/kzrVJSH6+DoP2oyLBHUy3mUEGYxjq1u5nRx7yhmf82 sWXfBZPdyAqklc7UG80vYzr5gbepP3tjP7RphgyzSOd462PuNQb9v+9RxpAuoxHEKm rLXLdpzBi7pbDwlCuOvp/XzJZDWjwn99U1veGzW8lPyYK4R/nRxAgW55BiN+Xw2x9z tmCjcfQhYUvYbUOW/8JsW7w7SjasRGRAGZU6mRPiILVz+nvvM85qFZzUMST1WAH3tv qYHd5WjW9GjgI3LuxZ2LZsxUTgT2BTnil8gQqptQgkuNSAa384KQoCDaYYbbulmijF HBE6/zmMN/f0w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1q1pNv-0000eS-Pz; Wed, 24 May 2023 16:22:39 +0200 Date: Wed, 24 May 2023 16:22:39 +0200 From: Johan Hovold To: Dmitry Baryshkov Cc: Abhinav Kumar , Douglas Anderson , freedreno@lists.freedesktop.org, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, quic_jesszhan@quicinc.com, swboyd@chromium.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/msm/dp: add module parameter for PSR Message-ID: References: <20230427232848.5200-1-quic_abhinavk@quicinc.com> <053819bd-b3c4-a72c-9316-85d974082ad6@linaro.org> <4f2556e2-52ab-eb1d-b388-52546044f460@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f2556e2-52ab-eb1d-b388-52546044f460@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2023 at 11:06:03AM +0300, Dmitry Baryshkov wrote: > On 24/05/2023 09:59, Johan Hovold wrote: > > Regressions happen and sometimes there are corner cases that are harder > > to find, but this is a breakage of a fundamental feature that was > > reported before the code was even merged into mainline. > > > >> We should have ideally gone with the modparam with the feature patches > >> itself knowing that it gets enabled for all sinks if PSR is supported. > > > > Modparams are things of the past should not be used to enable broken > > features so that some vendor can tick of their internal lists of > > features that have been "mainlined". > > We have had a history of using modparam with i915 and IIRC amdgpu / > radeon drivers to allow users to easily check whether new feature works > for their hardware. My current understanding is that PSR+VT works for on > some laptops and doesn't on some other laptops, which makes it a valid case. But here it does not seem to be the hardware that's the issue, but rather that the implementation is incorrect or incomplete. Johan