Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3580158pxj; Tue, 11 May 2021 07:34:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPgJyuS5RKLEF2S00UP/6RysqBQ3N39P9mhN1Rb3ahpsVLRGpaz7YIf0Kalp31OF1kFfww X-Received: by 2002:a05:6402:199:: with SMTP id r25mr36463768edv.128.1620743657456; Tue, 11 May 2021 07:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620743657; cv=none; d=google.com; s=arc-20160816; b=ETObkSAhhccPumYNd3e2Yw5C+n1EtVl+IS6pBAHDGKkHfI5UC59s5fmkrQPvxDnnct GXzYqbWb49LHsWOjOKo4bnLIRmfe7V5SZTkhnV682qj4P520+XhWmuanaAJzqlb0fmbW OzeJG7A0ANDB8/wQuI5zJ6AXmOEDDMHwPr/iRv8WiuitVmhwNP/F8kuKZymbNDMy00p4 wbNH8WCuDwUO3OIGVLII+bdo0P54rMupxKv7AclON9Fusynk31LjSwPLszxZkKCVt9fY RTxuHudPXP7ex9tJW4dEnlQXIpeA0zND6+0ctz3xGtCjpZNBYAZmTj5+pgrdeoxmbMP+ apKg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=PX5UF3SXisleYFX74lonjcJBClcj1IHnDwp5YcUMS+Y=; b=spAdIS1/cH4JsXGjkx3Wvl0zGxMaZTXmyIdkZ9txFjIMX+X3AjLx2crVQbl81VjlYW WZ3Vduyr6GOmbF6UVf/fPYQn9OrHA5fA8RH5XT21Q9eTyv6RE+jCbBEdwQScQluzAMrM ahOxfIG98tJTP6b3vjlw77IVUdw3oepg23r/WY95AIbzG8so5IqRjZGTuGsPGwddvO54 qRfPM0nR2/2QB61u1GIYtFu865ifqAb4pxP7tTfLo+iW5UJaZyq1R/g1HpDZxyR0Ul6U xJP6rp4bP7+id8XDii3RKwZGP0SqndnT7dwIMI0SwG7mro1RblZkz/PUqic4YCoSudql vnPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rh9si15688347ejb.139.2021.05.11.07.33.52; Tue, 11 May 2021 07:34:17 -0700 (PDT) Received-SPF: pass (google.com: 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; spf=pass (google.com: 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231774AbhEKOcq (ORCPT + 99 others); Tue, 11 May 2021 10:32:46 -0400 Received: from mga14.intel.com ([192.55.52.115]:32906 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231154AbhEKOcl (ORCPT ); Tue, 11 May 2021 10:32:41 -0400 IronPort-SDR: iH4gk33J4A9XjfMEBwy5vLkq3wBh5PEIp4n0qsDzK/7hAH3psz+8ADpMfnmnfFKkPzzAEj0t1f N6tShNC8+GCQ== X-IronPort-AV: E=McAfee;i="6200,9189,9981"; a="199136065" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="199136065" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 07:31:34 -0700 IronPort-SDR: qCrlyJaXV9SkWdyIBZnuzQfHfOzwIA2iGRu3+gEIzlGkGc3Hzn1V4Z7U4hKBYsQ7qAhxmQvSay n9icrFIsSrtQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="434471084" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.171]) by fmsmga008.fm.intel.com with SMTP; 11 May 2021 07:31:31 -0700 Received: by stinkbox (sSMTP sendmail emulation); Tue, 11 May 2021 17:31:30 +0300 Date: Tue, 11 May 2021 17:31:30 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Werner Sembach Cc: airlied@linux.ie, daniel@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 0/3] drm/i915/display: Try YCbCr420 color when RGB fails Message-ID: References: <20210510133349.14491-1-wse@tuxedocomputers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210510133349.14491-1-wse@tuxedocomputers.com> X-Patchwork-Hint: comment Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 03:33:46PM +0200, Werner Sembach wrote: > When encoder validation of a display mode fails, retry with less bandwidth > heavy YCbCr420 color mode, if available. This enables some HDMI 1.4 setups > to support 4k60Hz output, which previously failed silently. > > AMDGPU had nearly the exact same issue. This problem description is > therefore copied from my commit message of the AMDGPU patch. > > On some setups, while the monitor and the gpu support display modes with > pixel clocks of up to 600MHz, the link encoder might not. This prevents > YCbCr444 and RGB encoding for 4k60Hz, but YCbCr420 encoding might still be > possible. However, which color mode is used is decided before the link > encoder capabilities are checked. This patch fixes the problem by retrying > to find a display mode with YCbCr420 enforced and using it, if it is > valid. > > This patchset is revision 7. Fixed a rebase issue in 1/3 and moved message > from error output to debug output in 2/3. Looks good and CI seem shappy. Series pushed to drm-intel-next. Thanks. -- Ville Syrj?l? Intel