mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
drm/amd/powerplay: correct data type to avoid overflow
Avoid left shift overflow. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
6f5d29ff1a
commit
aaaba51bf1
|
|
@ -165,7 +165,7 @@
|
|||
#define FEATURE_DS_FCLK_MASK (1 << FEATURE_DS_FCLK_BIT )
|
||||
#define FEATURE_DS_MP1CLK_MASK (1 << FEATURE_DS_MP1CLK_BIT )
|
||||
#define FEATURE_DS_MP0CLK_MASK (1 << FEATURE_DS_MP0CLK_BIT )
|
||||
#define FEATURE_XGMI_MASK (1 << FEATURE_XGMI_BIT )
|
||||
#define FEATURE_XGMI_MASK (1ULL << FEATURE_XGMI_BIT )
|
||||
#define FEATURE_ECC_MASK (1ULL << FEATURE_ECC_BIT )
|
||||
|
||||
#define DPM_OVERRIDE_DISABLE_SOCCLK_PID 0x00000001
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user