drm/amd/powerplay: convert from number of lanes to lane bits on vega10
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 10 May 2017 08:18:34 +0000 (16:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:40 +0000 (17:39 -0400)
commit676b4087fcb44f9816eaeb21261ed25dd3f3c822
tree6c9f9756a022968dad0957442ea8b915367b1745
parent9c2cc3a10cace3cb647ecf42197396c9761097ed
drm/amd/powerplay: convert from number of lanes to lane bits on vega10

We need a mask.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewws-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c