Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp225065pxk; Tue, 1 Sep 2020 22:27:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLx4jNr6xhTCJaLH3WbOvrhx6pSaFVpzJLHMYzdi9yGxVvK4wQMTneaf/Pv/qgAQwhH7Wy X-Received: by 2002:a17:906:5488:: with SMTP id r8mr1483123ejo.483.1599024447759; Tue, 01 Sep 2020 22:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599024447; cv=none; d=google.com; s=arc-20160816; b=lIsE6J4k0iFuTLEZaz79rF01jEFqKTQPSrbyvBOpp04QYOgzmKP2TB17DsyQYPbTrx g64g2+6LzRbbWbg9aAumvisT5F/RvtEZHS1oQnSulm8y11NuNq/lbreoNC2qDU3/oQYH /l5CQ0xoxNqWtuozUvrtgJH+b8i5WQ09JPb9cukIrmI6rt4D3v+DXwa0OcG+7cZb+g8p lqj84pb4fg+ntZfxYMdy3RrBCtFSqOVrENv3YAwVb1nSrOy/YivOqakDe4svms84Hf7m Tej+Nod8zfav8BTO/1d8cYIhVgkZO6mRE2t4fGvQ+UC8gWRO2imyQDEBhiAc/c6W8mBr +XjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=ZL7M65VHVcDYUTRdENy7PORXU6J00xeRYJKtt97NnyA=; b=c7jIRQm/2kqgFUeuY3OA87LuTR88ngZCiSJQoxOV/N51PmP1KjO/UrT6qjWd/1DLCV YjnjA9mAxECaT82RsfbBXqdNqaSoO+VrVRyqqQIB0bKNLM/kgcPWRP12CByC6EZaouN2 TozuaF83eHGUXiu6bevM9NPwvYlpqhTOOjw9ENBY0jTfTsigxPMOhkouz9/DmvSNGJS+ H9Jif43ZjUMWHRv8xtNetHFzqZzzQSO0ijZcYr0CwxgcoGJhEN21HViRwgHDPTXmXplb +J6su9GnZ7JeFEDoa60rLYFQC0RNl38ZC8EJ9pe/xHypV6oyWtTlzFfmk48UlizekfjL s3+w== 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=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si1966146eja.208.2020.09.01.22.27.04; Tue, 01 Sep 2020 22:27:27 -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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726298AbgIBFYK convert rfc822-to-8bit (ORCPT + 99 others); Wed, 2 Sep 2020 01:24:10 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:42153 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726021AbgIBFYJ (ORCPT ); Wed, 2 Sep 2020 01:24:09 -0400 Received: from mail-pf1-f199.google.com ([209.85.210.199]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1kDLE4-0005iX-RO for linux-kernel@vger.kernel.org; Wed, 02 Sep 2020 05:22:29 +0000 Received: by mail-pf1-f199.google.com with SMTP id 196so2021969pfx.21 for ; Tue, 01 Sep 2020 22:22:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wMqbe9fjKIQ0LZl5FhPinVHwgKbnNs2WDnA3NP2bLUs=; b=leg6xCZX1xCDBMLoJEP7EC19edblew6HU4goWWacS+dVEPqPtpIUaIldB1sMBcJ0nu +kegXQ2KIFeh5Uf50pBzsW8ZxXfBbyDmh5/Nppzpgs9HMkSFLu9zLN8NHO9wTCZmB5uY f2/aOK6hoo5b8a+oIErM9Yaf9mITQcznPqk62nMNijstgy6C56FcHYFO/MyWqjk1nsuq GpQfmuKWQctSLy66fQ4RlNwJAUnEuxumQBfyhxC/Vmd+0ungJsRK8owPOjNS6OaczItY tFtBCYuUCdV+Q2wWWqL92TKLP4FKhXxuSw1Mji7eOvaOKGptwe75BNwjej83/Yah7Rjw BF0w== X-Gm-Message-State: AOAM5311l+ZPJPVGdC33wg1Q342VMq63SiBjnMSTFVTFFX0QmgZ2/GVC tjU3MRkUMi3XxonBlE3mbCJ6wvzNCmz21xYLM/k9VPj8jIYQNu5Pb+quxacsLNHjvCtQXUbyqER TLOw7cIBGRhMme9qlwWaf7281jbbGZ+GM10AH0A2Axg== X-Received: by 2002:a17:90a:af82:: with SMTP id w2mr722038pjq.185.1599024146760; Tue, 01 Sep 2020 22:22:26 -0700 (PDT) X-Received: by 2002:a17:90a:af82:: with SMTP id w2mr722004pjq.185.1599024146154; Tue, 01 Sep 2020 22:22:26 -0700 (PDT) Received: from [192.168.1.208] (220-133-187-190.HINET-IP.hinet.net. [220.133.187.190]) by smtp.gmail.com with ESMTPSA id t11sm3826352pfe.165.2020.09.01.22.22.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Sep 2020 22:22:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: [PATCH] drm/i915/lspcon: Limits to 8 bpc for RGB/YCbCr444 From: Kai-Heng Feng In-Reply-To: <20200831194820.GB6112@intel.com> Date: Wed, 2 Sep 2020 13:22:22 +0800 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 Content-Transfer-Encoding: 8BIT Message-Id: References: <20200826052143.17607-1-kai.heng.feng@canonical.com> <20200826162458.GP6112@intel.com> <6D40F1E0-AFF6-4D38-BB9B-C52B43F83266@canonical.com> <20200831194820.GB6112@intel.com> To: =?utf-8?B?VmlsbGUgU3lyasOkbMOk?= X-Mailer: Apple Mail (2.3608.120.23.2.1) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Sep 1, 2020, at 03:48, Ville Syrjälä wrote: > > 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 Yes this solves the issue. Thanks a lot! Any timeline this will get merged? Kai-Heng > > 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