Series is: Reviewed-by: Alex Deucher <[email protected]> ________________________________ From: amd-gfx <[email protected]> on behalf of Quan, Evan <[email protected]> Sent: Tuesday, March 26, 2019 6:15 AM To: Quan, Evan; [email protected] Subject: RE: [PATCH 2/2] drm/amd/powerplay: correct data type to avoid overflow
Ping.. > -----Original Message----- > From: Evan Quan <[email protected]> > Sent: 2019年3月23日 2:07 > To: [email protected] > Cc: Quan, Evan <[email protected]> > Subject: [PATCH 2/2] drm/amd/powerplay: correct data type to avoid > overflow > > Avoid left shift overflow. > > Change-Id: If03f4f4d440b6d742d8eaa23d0bae6ddd21c01ea > Signed-off-by: Evan Quan <[email protected]> > --- > drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h > b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h > index b90089a4fb6a..195c4ae67058 100644 > --- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h > +++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h > @@ -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 > -- > 2.21.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
