Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1303338pxk; Mon, 31 Aug 2020 15:49:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA+Bok35FjEFUHpVmqloliJqcH0zvjGPhDO7zeOOaAqVh75kUKrsvRIEGbcttKEE0L/YNL X-Received: by 2002:aa7:c549:: with SMTP id s9mr3205396edr.58.1598914156230; Mon, 31 Aug 2020 15:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598914156; cv=none; d=google.com; s=arc-20160816; b=MFb1ehov+nSnmrdDE/HUVX/YsiZWE3DvVHbGM03HG5fVA/3aFEIfz6g327oc4VhUxj q5MjxhjeqikNz+6KVj5A1ow7YUT0hA+rZYaHUQWwEhj73xErme6p1XlihzYXZul6gheZ RO5RvBu/b8EjSJtP63ovNa9V/I7G7vAd4SibjUhuUhkXJO7I0/nDFGTLSqveIvxiTeDb J9LuuIwZkdwoLwMVlS9LIg+vyzoFMwgtAxogazEFa4Fl7NMYio1jaB0fkl89rvt4OWhN mi0wOA48PGYxlhjJivK3t8zAQEeBv+Y0TtsAQN97OZXL643hwHiiX7Bi4ykmLD+pSuby Igig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=Z0OU+C/Yci7NczMOKKvRab2hPgtjNaNGCDgnHe1ccFo=; b=CpuyYIcno1RD2o+Ozmo9VtSrBQLBDj0QiwWa0yCJeePnCJbrYkRslt83679WFCBDvu nGxbGQIXN8Yz/dlL1zeYyBWyPtfhE/F2EFqrzMbu2H8fbIC6eKaSey4xf5eRiAHcsw18 FxUIoLFHTx50cAM+Z2DgXKYinysudFXRSuesJJPHvNdEvq9W2wJEc5USSHGv+hNCcIqb iP1s7TW1vSe5CZNa6MgwF8EHh3W4x9A73F5t8pY2E9fXvfrx8QyDNMUb3aMIXneYGFQD AlnNs+LW1OHJwJnJwssvRYcCGc+ThgrtQakMfpotTsfObhWL38q5HgA55Ya3JusuJHWj qfKg== 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 w5si183178ejk.54.2020.08.31.15.48.52; Mon, 31 Aug 2020 15:49:16 -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 S1729651AbgHaTs1 (ORCPT + 99 others); Mon, 31 Aug 2020 15:48:27 -0400 Received: from mga17.intel.com ([192.55.52.151]:38147 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727061AbgHaTs0 (ORCPT ); Mon, 31 Aug 2020 15:48:26 -0400 IronPort-SDR: CTFXXTrn4/Yoaz4qTqi8O03+bxnONrLRGn6ANWlHJBZ7NAMEwpvHjT9BRiT0Vw/0oEFxL28pdK KuozdB6guxaw== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="137095962" X-IronPort-AV: E=Sophos;i="5.76,376,1592895600"; d="scan'208";a="137095962" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2020 12:48:25 -0700 IronPort-SDR: gML8hXmqtfjjuG40dmw03exE7XYZXpDxuL5Um8aFGI0ZxnjaK5qgiAog5/r59mPovT8zPll07b ASzOLImW+inQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,376,1592895600"; d="scan'208";a="338320232" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by FMSMGA003.fm.intel.com with SMTP; 31 Aug 2020 12:48:21 -0700 Received: by stinkbox (sSMTP sendmail emulation); Mon, 31 Aug 2020 22:48:20 +0300 Date: Mon, 31 Aug 2020 22:48:20 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Kai Heng Feng Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Uma Shankar , Lucas De Marchi , Maarten Lankhorst , Gwan-gyeong Mun , intel-gfx@lists.freedesktop.org, "open list:DRM DRIVERS" , open list Subject: Re: [PATCH] drm/i915/lspcon: Limits to 8 bpc for RGB/YCbCr444 Message-ID: <20200831194820.GB6112@intel.com> References: <20200826052143.17607-1-kai.heng.feng@canonical.com> <20200826162458.GP6112@intel.com> <6D40F1E0-AFF6-4D38-BB9B-C52B43F83266@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6D40F1E0-AFF6-4D38-BB9B-C52B43F83266@canonical.com> X-Patchwork-Hint: comment User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 27, 2020 at 01:04:54PM +0800, Kai Heng Feng wrote: > Hi Ville, > > > On Aug 27, 2020, at 12:24 AM, Ville Syrj?l? wrote: > > > > On Wed, Aug 26, 2020 at 01:21:15PM +0800, Kai-Heng Feng wrote: > >> LSPCON only supports 8 bpc for RGB/YCbCr444. > >> > >> Set the correct bpp otherwise it renders blank screen. > > > > Hmm. Does > > git://github.com/vsyrjala/linux.git dp_downstream_ports_5 > > work? > > > > Actually better make that dp_downstream_ports_5^^^^^^^^^^^ aka. > > 54d846ce62a2 ("drm/i915: Do YCbCr 444->420 conversion via DP protocol > > converters") to avoid the experiments and hacks I have sitting on top. > > Can you please rebase it to mainline master or drm-tip? git://github.com/vsyrjala/linux.git dp_downstream_ports_6 I threw out the hacks/experimental stuff. > > I am getting errors on the branch: > > DESCEND objtool > CALL scripts/atomic/check-atomics.sh > CALL scripts/checksyscalls.sh > CHK include/generated/compile.h > Building modules, stage 2. > MODPOST 166 modules > LD arch/x86/boot/compressed/vmlinux > ld: arch/x86/boot/compressed/pgtable_64.o:(.bss+0x0): multiple definition of `__force_order'; arch/x86/boot/compressed/kaslr_64.o:(.bss+0x0): first defined here > ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text' > ld: warning: creating DT_TEXTREL in a PIE > make[2]: *** [arch/x86/boot/compressed/Makefile:119: arch/x86/boot/compressed/vmlinux] Error 1 > make[1]: *** [arch/x86/boot/Makefile:113: arch/x86/boot/compressed/vmlinux] Error 2 > make: *** [arch/x86/Makefile:284: bzImage] Error 2 > make: *** Waiting for unfinished jobs.... > > Kai-Heng > > > > >> > >> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2195 > >> Signed-off-by: Kai-Heng Feng > >> --- > >> drivers/gpu/drm/i915/display/intel_lspcon.c | 3 ++- > >> 1 file changed, 2 insertions(+), 1 deletion(-) > >> > >> diff --git a/drivers/gpu/drm/i915/display/intel_lspcon.c b/drivers/gpu/drm/i915/display/intel_lspcon.c > >> index b781bf469644..c7a44fcaade8 100644 > >> --- a/drivers/gpu/drm/i915/display/intel_lspcon.c > >> +++ b/drivers/gpu/drm/i915/display/intel_lspcon.c > >> @@ -196,7 +196,8 @@ void lspcon_ycbcr420_config(struct drm_connector *connector, > >> crtc_state->port_clock /= 2; > >> crtc_state->output_format = INTEL_OUTPUT_FORMAT_YCBCR444; > >> crtc_state->lspcon_downsampling = true; > >> - } > >> + } else > >> + crtc_state->pipe_bpp = 24; > >> } > >> > >> static bool lspcon_probe(struct intel_lspcon *lspcon) > >> -- > >> 2.17.1 > > > > -- > > Ville Syrj?l? > > Intel -- Ville Syrj?l? Intel