Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2486658lqb; Tue, 28 May 2024 00:57:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUbUZ6QIanvAntjDelQHadWbdPNpyVOmkxBr91Y46nPybgvobOeRvmIxtNiHYX5sRtvmfNodd2lni55/1ywYdpgZDmFM6RNxO0WCSTTDA== X-Google-Smtp-Source: AGHT+IHGx/he4ws7XSnrwSP+Epy6ACi7ayfMOy/Eqp2T8m9UyxZya5Uf8qyc9mkKSALW3zs+rjTc X-Received: by 2002:a17:90a:c301:b0:2b5:9534:56d6 with SMTP id 98e67ed59e1d1-2bddcf26e97mr16868472a91.24.1716883041712; Tue, 28 May 2024 00:57:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716883041; cv=pass; d=google.com; s=arc-20160816; b=pIxofP+B8jQUamJzhymYoyrwYwGeDtN2EBN+3h9ZIwk/IfFvh1BYnkWjyAqaSorFXB slg3dnmULw0RPTmbsaH5I9fspj6iKbkCZXs5KkkLmjmgWmWTzQFgjJwVQ25hmNZPxQk3 N2zenulxiWg5ii3JwK7Oif3Cg0BsMtexVzPiAznghDrL8iSxqx0xlwO23Fz+E/ghpuvp 2JlDY2u796mioZ4Kq8zHSTlZXRvlsV/uE5A8h7Vgbbi0E+rdDeAjZtcRt1d1zKXb6hlM KPdjvV29CsLUx0v2FK/Pn5QtoeXjl+UkKTmS026ef04APwyfhv/1V6/B7IKJ3ZHDUZ1a jOGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=KCjfHPIMT5wUou0t8i9b0QJfs+bLamMmZgWIm/rkFmM=; fh=UcZQ5kaDy+tvODPDAJcoy+3JH4sWs5nPFaMuqwfdA7w=; b=vOOiASRDYyMiUIbrEDU1nEXLBJ1p4cLECJ15J8z2FN7z3V1ERR5FQlLHpeeqSynYHA wLwpX7uUZaBY8waT9x/0TLllnmupBPjUz3OY2UoJct/bmCVm/DoN2IZUbJHdV9ibTehC 6jPEhhKMSrcJWBo2v/WEs0xZRLS8Ab5qQzY5R7iV3P2vb1VssfVAV4AMFv3ZtOcJeBQR Toc9YlXL39uPI1SnhlJw2viebQn3UaDR5hEKLZHoh8oU9yMXCuOEszoEDKZkvCAX6WZx NnQMmr8hc0cgFrRaGClT+su3mSw62CYbPAE6UNSkDqd7p0IB0f9Q499dKV4U9TFm5Jvi VVkg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IelRUCbH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-191887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-68229935dd9si7633849a12.608.2024.05.28.00.57.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 00:57:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IelRUCbH; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-191887-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191887-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9D378B22569 for ; Tue, 28 May 2024 07:57:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D925974424; Tue, 28 May 2024 07:56:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IelRUCbH" Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 210DE7D07E for ; Tue, 28 May 2024 07:56:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716883013; cv=none; b=QaW1i0ExH7lHOjJ4631TSGHAdX9os4gnXjunQMoA+oFTNc8h5n9qHrDipXrgVfDeniWEc99o8lpLM3fUEh/wb0QlpaeW9aBhnE3UMVDGDzGtx7wDyBXW35rrzfkwh1gxdR/SONj1mCj1yMRDd5ZfqxTJYYffKTnzRXBNsTrO88U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716883013; c=relaxed/simple; bh=FTkID7+KKMJ9AweJ3LnYfYE2qesoTXjxnJwBfRB1nk0=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=iX1xYe6T8S9zYI0Y4d89dtNKsCRPb9LV89t1nchtVnxzCpvORmZ5A22sViSLaLDnluVsgO9ojhCsSOsUJrG5s/4tKVgvCiZ4+KWped2NToHTUHQ6PFFIRjzlBgiVuBll2TCmCxw8reLol1vt8FLh/QlWZICjzkkkdfg65uRC8nU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IelRUCbH; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42120fc8cbfso127575e9.2 for ; Tue, 28 May 2024 00:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716883010; x=1717487810; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=KCjfHPIMT5wUou0t8i9b0QJfs+bLamMmZgWIm/rkFmM=; b=IelRUCbHRIh056sPmCvrubmcNzfnnoYI7RT4fkAGOWg0J9KLisrLbypuGPTFxUUuHR nQlT8+Y5bGggXc8ZdPhkMgnB0RE14zl54B7xUrAd/Uq54zmn7M1K7JpDBXT9qfZQVmSc 61n6sa0x7W2OyNhuv0pzgdZS8zN+QAlVgS3s6QpNyLzE4zHk7/rpCRrR0w7quqYMIEJw F3t/yYfSgTIHzbuL5TSQDZKegJEKetQ3lb+2W5eDB62g3ns+NaVI7Lca6bIA+oBZtw3W 1wE2lWd+tRdSzTDn9r1QWpUr3F4yTtZZg2oHYNjr4DGVBHQAIBt+JYRcxCxt49e0Ufig 7kBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716883010; x=1717487810; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=KCjfHPIMT5wUou0t8i9b0QJfs+bLamMmZgWIm/rkFmM=; b=GoYPVPbqujdsh1DIg2WRahzDF4qrvh86S3tzNnRME76Z/Fx65KoYa5dusrA2ccydJV MqMUue0DukRRCSYHfSu75BfWiJuctoHZfmhWooQ0dp4gD3pTdpMmPZl9ltRIwSWw9Ver X+k7SVs78vQ5z9PhaX+qatBVayF0O68B1xejTYrn9dzHv7jNkEJ1ovG/Y9QzVI9ng9Vl w2hFREZg1hBJItQb/NMrJxJCTwAf1jfubCRAXYhHUQAcEWrP3a3EyryOjoylPBGxBr+C G/NpkQ4rQQOd+mpmUaNCCdVWHcDjZ/XyCPW3L22gokTkdH9u+GKH3Ro3hiLAFADJ9SG3 tQrg== X-Forwarded-Encrypted: i=1; AJvYcCXtJAOVtu9CMuSuB0MhlHGdaB+vrYmAKQhKZ21kLkssEEYggaV/P/zCdUo7G0OgbnBMtHp42TBf1UI/A2SA1G7jGIsFcFNsgExqKyU1 X-Gm-Message-State: AOJu0Ywhao+r4v374z+2I2hPGDuNT8deab/ZKpNECmJ/ODL8J5NVMtgj kkOeuW5kZ3tVg24DTOKozXygCjv36Ahg2F0pm4hhm2EfC19AbRpVkdu/LFGpb8g= X-Received: by 2002:a05:600c:5641:b0:41b:85bf:f3a8 with SMTP id 5b1f17b1804b1-42108a0ba39mr101583065e9.35.1716883010189; Tue, 28 May 2024 00:56:50 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:8f19:f965:3f93:6385? ([2a01:e0a:982:cbb0:8f19:f965:3f93:6385]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100f163a8sm164159405e9.13.2024.05.28.00.56.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 May 2024 00:56:49 -0700 (PDT) Message-ID: Date: Tue, 28 May 2024 09:56:48 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v5 0/6] Add DSC support to DSI video panel To: Jun Nie , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Jessica Zhang , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jonathan Marek References: <20240527-msm-drm-dsc-dsi-video-upstream-4-v5-0-f797ffba4682@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJR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organization: Linaro In-Reply-To: <20240527-msm-drm-dsc-dsi-video-upstream-4-v5-0-f797ffba4682@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 27/05/2024 16:21, Jun Nie wrote: > This is follow up update to Jonathan's patch set. > > Changes vs V4: > - Polish width calculation with helper function > - Split cfg2 compression bit into another patch > > Changes vs V3: > - Rebase to latest msm-next-lumag branch. > - Drop the slice_per_pkt change as it does impact basic DSC feature. > - Remove change in generated dsi header > - update DSC compressed width calculation with bpp and bpc > - split wide bus impact on width into another patch > - rename patch tile of VIDEO_COMPRESSION_MODE_CTRL_WC change > - Polish warning usage > - Add tags from reviewers > > Changes vs V2: > - Drop the INTF_CFG2_DATA_HCTL_EN change as it is handled in > latest mainline code. > - Drop the bonded DSI patch as I do not have device to test it. > - Address comments from version 2. > > Signed-off-by: Jun Nie > --- > Changes in v5: > - Link to v4: https://lore.kernel.org/r/20240524-msm-drm-dsc-dsi-video-upstream-4-v4-0-e61c05b403df@linaro.org > > --- > Jonathan Marek (4): > drm/msm/dpu: fix video mode DSC for DSI > drm/msm/dsi: set video mode widebus enable bit when widebus is enabled > drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC > drm/msm/dsi: add a comment to explain pkt_per_line encoding > > Jun Nie (2): > drm/msm/dpu: adjust data width for widen bus case > drm/msm/dpu: enable compression bit in cfg2 for DSC > > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 8 ++++++++ > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 18 ++++++++++++++++++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 13 +++++++++++++ > drivers/gpu/drm/msm/dsi/dsi_host.c | 10 +++++++++- > 5 files changed, 49 insertions(+), 2 deletions(-) > --- > base-commit: e6428bcb611f6c164856a41fc5a1ae8471a9b5a9 > change-id: 20240524-msm-drm-dsc-dsi-video-upstream-4-22e2266fbe89 > > Best regards, Tested-by: Neil Armstrong # on SM8550-QRD Tested-by: Neil Armstrong # on SM8650-QRD Tested-by: Neil Armstrong # on SM8650-HDK with https://lore.kernel.org/all/20230728012623.22991-1-quic_parellan@quicinc.com/ and enforce-video-mode in panel node. Thanks, Neil