From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m49208.qiye.163.com (mail-m49208.qiye.163.com [45.254.49.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74458C148 for ; Sat, 29 Nov 2025 03:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.254.49.208 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764388158; cv=none; b=Z3nDIzRfbN7jI4CKMyP+HyYATTyH8zwADcK7/2sF9/D+f+Rio7I8JrnbtMNvmjBEAjddFv+EhhG803yaSdWryDU36sR28W4Pr62f6ciJYn+2HqI0g4qn/UzKElUi2pivs7WbuD/f/gTErB6PVEsLjkchGlStaWB3qUImbwAaF9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764388158; c=relaxed/simple; bh=phTiL/y1YHRa/OI732Q3crOpiKCTxyNPKlFEQo4lXD8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TeNpEefL2CwwIU9eya0ERIzD7oCs9HMJg+eZkdVgysG4zVXCdqH5X/kk7nKJWs76Q7Pjw4Kpdpit39iF54HPKdrXxVnCsYerHNLNd3YMW/H0DuOdjk5DKj4BVvSSfm7SbSPpdTBtyc2NyEpXkE7MlZ8ufShYlfpqWnuYUkOxAPc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=c6wopmKf; arc=none smtp.client-ip=45.254.49.208 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="c6wopmKf" Received: from [172.16.12.51] (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id 2b55618e9; Sat, 29 Nov 2025 11:49:04 +0800 (GMT+08:00) Message-ID: Date: Sat, 29 Nov 2025 11:49:02 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/4] drm/rockchip: vop2: Support setting custom background color To: Cristian Ciocaltea , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Sandy Huang , =?UTF-8?Q?Heiko_St=C3=BCbner?= , Andy Yan , Louis Chauvet , Haneen Mohammed , Melissa Wen Cc: Robert Mader , kernel@collabora.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org References: <20251118-rk3588-bgcolor-v3-0-a2cc909428ea@collabora.com> <20251118-rk3588-bgcolor-v3-4-a2cc909428ea@collabora.com> <0ed71b8d-5a2e-4213-bd2f-7ba317d1e4cb@rock-chips.com> <4a6443b8-d440-4921-8a43-7c20e4e265e7@collabora.com> Content-Language: en-US From: Chaoyi Chen In-Reply-To: <4a6443b8-d440-4921-8a43-7c20e4e265e7@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-HM-Tid: 0a9acdba840603abkunm9c46392384a375 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGUkYGVZLHUtMGENOHUMaQx5WFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ DKIM-Signature: a=rsa-sha256; b=c6wopmKfyDolnWvTPbit1XwhT08o5Zv0zULgsSyfi3Dtja0iCKDqH/xnbF1hx6RFjSTJpTdEctw/YQHhePCcrQm3DKxTlc5yPAHJ4ctqKHwnrEfyUVuXlDxAW7ZadraHBa0nth1c8d++0Qk4IkaaHKrzQPiIXlP8mSNwPjdkqpc=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=Rv0oPloj8Gtj1ksfFZ9mxS7fwxH945KByum30N5q1wA=; h=date:mime-version:subject:message-id:from; Hello Cristian, On 11/28/2025 5:44 PM, Cristian Ciocaltea wrote: > The precision was something I initially looked into for CRC verification, in the > context of the related IGT test. But since I've added the VKMS support, I think > we should not worry about that anymore. > > Moreover, as already pointed out in [1], only RK3576 supports CRC generation at > display controller level, and that is not particularly useful because it doesn't I believe you can get the CRTC CRC on the RK3576, even when only the background is visible and all plane is disabled. Feel free to let me know if you run into any issues :) > take the background color into account. Therefore I had to capture the frame > CRCs at DisplayPort AUX channel level, by using the USB-C DP AltMode capable Oh that sounds interesting! I'm not sure how complex it would be to implement. > port of my RK3588-based board. However, that solution is not yet available > upstream, as it requires further work for cleanup and improving the overall > USB-C reliability. > > Hence I'll move on with your suggestion and switch to the simple bit-shifting > approach for the next revision. -- Best, Chaoyi