RE: [PATCH] drm/amd/powerplay: fix compile warning for wrong data type V2

2018-09-06 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx On Behalf Of Evan > Quan > Sent: Wednesday, September 5, 2018 1:19 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Quan, Evan > > Subject: [PATCH] drm/amd/powerplay: fix compile warning for wrong data >

[PATCH] drm/amd/powerplay: fix compile warning for wrong data type V2

2018-09-04 Thread Evan Quan
do_div expects the 1st argument in 64bit instead of 32bit. Drop the usage of do_div as it seems unnecessary. V2: drop usage of do_div completely Change-Id: Id2032a43727e7f1fa516d3565354d412a561 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 4 ++-- 1 file