From: Huang Rui Date: Wed, 13 Feb 2019 02:44:50 +0000 (+0800) Subject: drm/amd/powerplay: update smu11 driver if header for navi10 (v2) X-Git-Tag: v5.15~5873^2~13^2~328 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e8a163d9bd472af6c61784215d5ba58bd7baebf;p=platform%2Fkernel%2Flinux-starfive.git drm/amd/powerplay: update smu11 driver if header for navi10 (v2) This patch updates smu11 driver if header for navi10 to match 42.09.00 smu firmware. v2: clean up comments Signed-off-by: Huang Rui Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu_11_0_driver_if.h b/drivers/gpu/drm/amd/powerplay/inc/smu_11_0_driver_if.h index b98cb00..a53547f 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/smu_11_0_driver_if.h +++ b/drivers/gpu/drm/amd/powerplay/inc/smu_11_0_driver_if.h @@ -4,7 +4,7 @@ // *** IMPORTANT *** // SMU TEAM: Always increment the interface version if // any structure is changed in this file -#define SMU11_DRIVER_IF_VERSION 0x2D +#define SMU11_DRIVER_IF_VERSION 0x2E #define PPTABLE_NV10_SMU_VERSION 8 @@ -297,6 +297,15 @@ typedef struct { } SwI2cRequest_t; // SW I2C Request Table +//D3HOT sequences +typedef enum { + BACO_SEQUENCE, + MSR_SEQUENCE, + BAMACO_SEQUENCE, + ULPS_SEQUENCE, + D3HOT_SEQUENCE_COUNT, +}D3HOTSequence_e; + //THis is aligned with RSMU PGFSM Register Mapping typedef enum { PG_DYNAMIC_MODE = 0,