amdgpu/pp: rewrite polaris pwrvirus upload code.
authorDave Airlie <airlied@redhat.com>
Fri, 29 Sep 2017 02:15:46 +0000 (12:15 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Sep 2017 16:24:40 +0000 (12:24 -0400)
commit6f5c2f9d3c5c335ae86203f9548e1a861bdd154a
treeceb3be03b7535f4aea6d5df0cf2818ba043d2d98
parentc6622f3afcb4da90e2600ee98e91a8a5640f7a27
amdgpu/pp: rewrite polaris pwrvirus upload code.

This reduces the pwrvirus table size by 30k, by moving the
sequences of writes to the data register into blocks.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/polaris10_pwrvirus.h
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c