From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6258C47DAF for ; Mon, 22 Jan 2024 15:18:33 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1D5FA10F3E4; Mon, 22 Jan 2024 15:18:33 +0000 (UTC) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id E6D6610F3E3; Mon, 22 Jan 2024 15:18:30 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id EBA65CE2B2C; Mon, 22 Jan 2024 15:17:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1E76C433C7; Mon, 22 Jan 2024 15:17:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705936678; bh=bMawO10I3hl7jFjEz0kMbTCMFYdlXvwJZ/zmQMb6maI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IyTeum1JzD7/Qu8TGdLTSu8HvB0sQktdF8YXdwtqCHN4LU0b+K1H6Yul5/nGsY1mq L45J/yuo8lHoGB+8pYkoP64GXq/JnqgcYoeYwtVgJH/FFBJ9lJ2jTbFFv16slw3EcX zTNki5LpZKtpk7oopikacM1Bi5JMZWTBG6wU0UnR8PuLws6G1S+qWqhI/jr4fcij3X pCHbWCY+aZH9iwpXCLS7bIfKyWTrfdFbJysc+GVg02mO9Uoer0kacoW2ggqBbQpE8U 8XkSPkWyq0dKnGAJqSrUEzcQvKt7ormYg9bVTrwNBwCQeDA8z5Y9bAYCzOiSRJ1Muo JDKU+cogZfFkQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.4 22/24] drm/amd/display: make flip_timestamp_in_us a 64-bit variable Date: Mon, 22 Jan 2024 10:16:36 -0500 Message-ID: <20240122151659.997085-22-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122151659.997085-1-sashal@kernel.org> References: <20240122151659.997085-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 5.4.267 Content-Transfer-Encoding: 8bit X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Aric Cyr , dri-devel@lists.freedesktop.org, sunpeng.li@amd.com, harry.wentland@amd.com, qingqing.zhuo@amd.com, Xinhui.Pan@amd.com, Rodrigo.Siqueira@amd.com, amd-gfx@lists.freedesktop.org, wenjing.liu@amd.com, Daniel Wheeler , aurabindo.pillai@amd.com, mario.limonciello@amd.com, daniel@ffwll.ch, Wayne Lin , Alex Deucher , airlied@gmail.com, Josip Pavic , christian.koenig@amd.com, hamza.mahfooz@amd.com Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" From: Josip Pavic [ Upstream commit 6fb12518ca58412dc51054e2a7400afb41328d85 ] [Why] This variable currently overflows after about 71 minutes. This doesn't cause any known functional issues but it does make debugging more difficult. [How] Make it a 64-bit variable. Reviewed-by: Aric Cyr Acked-by: Wayne Lin Signed-off-by: Josip Pavic Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h index 0b8700a8a94a..c6281d4a18ce 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h @@ -423,7 +423,7 @@ struct dc_cursor_position { }; struct dc_cursor_mi_param { - unsigned int pixel_clk_khz; + unsigned long long pixel_clk_khz; unsigned int ref_clk_khz; struct rect viewport; struct fixed31_32 h_scale_ratio; -- 2.43.0