drm/radeon/dpm: implement force performance levels for rs780 (v2)
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Tue, 3 Sep 2013 17:52:19 +0000 (13:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Sep 2013 15:44:24 +0000 (11:44 -0400)
commit63580c3e48de1a35ec8847ea24f1acb5aef48608
tree26717e89194100078c1f003f10bf3f7b3e68a257
parent811e4d58edf98f1ff5d3478e2c5f61034d359ab3
drm/radeon/dpm: implement force performance levels for rs780 (v2)

Allows you to limit the selected power levels via sysfs.

Force the feedback divider to select a power level.

v2: fix checking in rs780_force_fbdiv,
    drop a duplicate divider structure in rs780_dpm_force_performance_level,
    Force the voltage level too.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/rs780_dpm.c