[PATCH 02/22] drm/radeon/dpm: add new callbacks to get the current sclk/mclk

2014-10-02 Thread Christian König
Am 02.10.2014 um 15:06 schrieb Alex Deucher: > On Thu, Oct 2, 2014 at 8:26 AM, Christian K?nig > wrote: >> Might be a good idea to make that a bit more generic, e.g. add a >> get_current_clk callback and and a type (sclk, mclk, vclk, dclk, etc..) >> enum. But I can live with this approach as well

[PATCH 02/22] drm/radeon/dpm: add new callbacks to get the current sclk/mclk

2014-10-02 Thread Christian König
Might be a good idea to make that a bit more generic, e.g. add a get_current_clk callback and and a type (sclk, mclk, vclk, dclk, etc..) enum. But I can live with this approach as well. Christian. Am 01.10.2014 um 17:38 schrieb Alex Deucher: > Needed to to expose the current clocks via the INFO

[PATCH 02/22] drm/radeon/dpm: add new callbacks to get the current sclk/mclk

2014-10-02 Thread Alex Deucher
On Thu, Oct 2, 2014 at 8:26 AM, Christian K?nig wrote: > Might be a good idea to make that a bit more generic, e.g. add a > get_current_clk callback and and a type (sclk, mclk, vclk, dclk, etc..) > enum. But I can live with this approach as well. > Yeah, I thought about that, but I'm not sure if

[PATCH 02/22] drm/radeon/dpm: add new callbacks to get the current sclk/mclk

2014-10-01 Thread Alex Deucher
Needed to to expose the current clocks via the INFO ioctl. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 510fe96..9e3dc82 100644 --- a/drivers/gpu/drm