Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2047.outbound.protection.outlook.com [40.107.96.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 728B910E167 for ; Thu, 12 May 2022 16:55:04 +0000 (UTC) From: David Zhang To: Date: Thu, 12 May 2022 12:54:48 -0400 Message-ID: <20220512165448.686130-1-dingchen.zhang@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Subject: [igt-dev] [PATCH] lib/igt_amd: align the amdgpu PSR state enum to upstreamed code base List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: [why & how] align the PSR state enum definitions to the upstreamed amdgpu drv code base "dc_psr_state". Cc: Rodrigo Siqueira Cc: Harry Wentland Cc: Leo Li Cc: Jay Pillai Cc: Wayne Lin Signed-off-by: David Zhang --- lib/igt_amd.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/igt_amd.h b/lib/igt_amd.h index 428bfe6f..42cb2e17 100644 --- a/lib/igt_amd.h +++ b/lib/igt_amd.h @@ -111,10 +111,17 @@ enum amdgpu_psr_state { PSR_STATE4b, PSR_STATE4c, PSR_STATE4d, + PSR_STATE4_FULL_FRAME, + PSR_STATE4a_FULL_FRAME, + PSR_STATE4b_FULL_FRAME, + PSR_STATE4c_FULL_FRAME, + PSR_STATE4_FULL_FRAME_POWERUP, PSR_STATE5, PSR_STATE5a, PSR_STATE5b, PSR_STATE5c, + PSR_STATE_HWLOCK_MGR, + PSR_STATE_POLLVUPDATE, PSR_STATE_INVALID = 0xFF }; -- 2.25.1