Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2209460rdb; Sun, 4 Feb 2024 21:37:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdrone/aQpliuTBjWYC/issglWpARwaxZ2mhoIqonAya3LJbLPQp6uizQemXpkjpy+n8Hk X-Received: by 2002:a05:6359:4207:b0:178:98c8:9d76 with SMTP id kn7-20020a056359420700b0017898c89d76mr15952694rwb.26.1707111464232; Sun, 04 Feb 2024 21:37:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707111464; cv=pass; d=google.com; s=arc-20160816; b=Q6eRk06QiYA8UwXwgpRDnHwX1Ic+lDqqm6/irOCTa5B/Zt0t10qhAXHlBKWk9e6Zmg pp81GQ7Qes562A5GpODxtF0J7wS6Jl64Rd4DEkdVreJNZeqk4xHxpjga2Kbikz+TVZ1r bFlMjRgbgiI8x+Ih4Wnz9GfN8PUTVqFJ975VHhXOHSIEy5FZRzViKSIp1JIx3ghPMHpH K3tRADQ4VYYE2uJY0qxqDJaDFOhq0iXrol38R5cYY3sM7ymHiwmuw4x88LLh/xoULxuq raLS8Qk0WUOCgDj3DK4LvqTu07jPHWxOoR5VqvzdN8iQyG1tl8ANEVCZ+XY2m8pI/22R frdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=wJjNw35YY1+xIX+ZjXNQI8+RD6p5g5mUPgiVQOnjdUA=; fh=t7apRvxPugkzg61OFfKkSbQHYZtaY3wbDWmiKAlO7hY=; b=ZtGQ+AHcjJ9bO1OVqa/gKLq5F/jhs8bI2m7L4pXlPUHMQ1ZjEVOFSArEHzsqIP/K/G qj8ioYD0jwXW6jVxaj/E2tWD/RJ0O3d+H+ej/m9LDfIS78FkrYX/tDfItQ6CiuOiqI0D XqXrgTBtld0zEBrmliy4K5rJNJ0k+LCiUq7XcwziY8TTc4CO81llRjmRogbjKjeeow59 vfcZAJ3stOPrNp8qXVSAuyvKAWdY7dah/BfHvjAzIluLbh4yrqCUQbQdpkMaLqTPmf9s eWdK7WqJ+LqE/jT9xosV5z/a4JQKQ/dcWQV383xT9fEeORaGuXGJmQwBMixBmBmN5OwN O+YQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iTg3VA5H; 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-52052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52052-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUjth7koPygZpyBvHdwKYBwPUT37M0WoxBbqArun8u7NtTmZ//vWK/m6bUsvWjfe6X5DFtdmzTzYB9bOIMB6SNBzd5y7r9xlE+/VIeRlg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o5-20020a635a05000000b005cdfe668943si5577964pgb.781.2024.02.04.21.37.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 21:37:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iTg3VA5H; 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-52052-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52052-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D90942821B6 for ; Mon, 5 Feb 2024 05:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 566D0BE48; Mon, 5 Feb 2024 05:37:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="iTg3VA5H" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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 0D246B671 for ; Mon, 5 Feb 2024 05:37:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707111458; cv=none; b=tPfVdQ+XWNUGeawTrncF9jOjHTep7ROa/boTiv2LSWqME798N/ZpFo2MytXDmy3PzCuHWcoeHJc/5JCxhsd6yR+RxV+dqK3c0PznCnPhx6M/XC63xbY2RKUcYJRYiF48yZzk3M3iZHAie9h59oLseeVkrLFgOgj00IsJpsOoy1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707111458; c=relaxed/simple; bh=lL3Kw0e+RGP+LCXFoBF72NdRCBasOWh0rlxV7PPYzOc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Knff4msHcZCeoBw1MeBEnJ2Nqx0/Cmf5fIhli/4mkj1WEFzBM2R/MaCdiDx8zlW3wKQ2rOEvq8KHBFpefiDlkFA7iWwos225PGyu3Oqza4BjwvOF90xIH66tJbYfdb9EaDpTEtzf9ZlsrImhXMnQuLA7ftAV1lOHGmCmHV/zgeA= 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=iTg3VA5H; arc=none smtp.client-ip=209.85.219.182 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-yb1-f182.google.com with SMTP id 3f1490d57ef6-db3a09e96daso3957864276.3 for ; Sun, 04 Feb 2024 21:37:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707111456; x=1707716256; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wJjNw35YY1+xIX+ZjXNQI8+RD6p5g5mUPgiVQOnjdUA=; b=iTg3VA5HkJs4Equ/awqx1EK804y3/fDJkXo20TrEIh9cElVZLgTxS/v9B+F0/tIxjj QXYRJQjqFhRstspZAenlCmJPM1Q2/MbG/qY2JDAuJ+3r7SfNSWa4FJaouGBtGPE9x0Kg IAbIrWCw7FBb/AjG7W/QWaJOtgpl9TbCh1dyPByfn6zaOnbAHzEqe4pP9yuCe7VZ/jUg mBEthb1JiC1HLUJUpy0x9kWfVxRt5RgFpgKM+iYJOfjIa+IWYPdypcFJVSV9pxPNvV8r kkZPLnx7jNX5LlNRGYG3D6Wwovsd/Mr4sS3/oz2Wsni3W+mGVGT156ZEOGnANdHYI5EC 5Ymw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707111456; x=1707716256; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wJjNw35YY1+xIX+ZjXNQI8+RD6p5g5mUPgiVQOnjdUA=; b=JrceDxIa+jSknZVqniXFfwUv4XvaPGLHXrOj87GRo2qvR9WMmSeKODG4yW2ijhHyZ0 KHjDhUfKgmHPyUnOmgO2wOhHzGnxObM9cV4UPEpFeDauu4CA/k5UqEQbwG39XAyYjhks ZNpBxiVP+R0LDG7U/OMV1bCPIypcdZGy/jvuv1ptwxYZWlHdbWEqcc5Lq/czu9kF7CM0 UbQ8uKcVpegmo96H+0hgdXb88nHM/Fr33Pfiu5tLsgZThYAwQsunl5YdU4ehSWvbcRY3 fx+29pPSyDzu5z1QpE7dR4uImKV22wRN5wo37KtGe/oFZIY8+TYD2sJmgCTPZVyn0beH YpoQ== X-Gm-Message-State: AOJu0YxNjZ8d77bqDQvHeGZn2kWfm6mU7VUpz0QZwaS7VT2Eh4hbqft5 PiksI/HOWcQI9ts+XGn1R6tHmKDTPXMVe9bR3vjjJouluEp8nRsvGFXi8i76mowhmRQglMIbtda bW26n+dXXBfXubReR5RqqvI85AfO/x4NJWLsURg== X-Received: by 2002:a25:2681:0:b0:dc6:c2b2:c039 with SMTP id m123-20020a252681000000b00dc6c2b2c039mr12445401ybm.41.1707111455954; Sun, 04 Feb 2024 21:37:35 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240204-dpu-dsc-multiplex-v1-1-080963233c52@somainline.org> In-Reply-To: <20240204-dpu-dsc-multiplex-v1-1-080963233c52@somainline.org> From: Dmitry Baryshkov Date: Mon, 5 Feb 2024 06:37:25 +0100 Message-ID: Subject: Re: [PATCH] drm/msm/dpu: Only enable DSC_MODE_MULTIPLEX if dsc_merge is enabled To: Marijn Suijten Cc: Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Daniel Vetter , Vinod Koul , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Luca Weiss Content-Type: text/plain; charset="UTF-8" On Sun, 4 Feb 2024 at 18:45, Marijn Suijten wrote: > > When the topology calls for two interfaces on the current fixed topology > of 2 DSC blocks, or uses 1 DSC block for a single interface (e.g. SC7280 > with only one DSC block), there should be no merging of DSC output. > > This is already represented by the return value of > dpu_encoder_use_dsc_merge(), but not yet used to correctly configure > this flag. > > Fixes: 58dca9810749 ("drm/msm/disp/dpu1: Add support for DSC in encoder") > Signed-off-by: Marijn Suijten > --- > Note that more changes are needed to properly support the proposed 2:2:2 > and 1:1:1 topology (in contrast to the already-supported 2:2:1 topology), > but this could be a trivial patch to get going separately before all that > extra work is done. > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry