[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-18 Thread Anthoine Bourgeois
Glisse >> Cc: dri-devel at lists.freedesktop.org >> Subject: Re: [PATCH] drm/radeon/dpm: add debugfs support for >> RS780/RS880 (v2) >> >> On Wed, Jul 17, 2013 at 08:54:33PM +, Deucher, Alexander wrote: >> >Good catch, I screwed up the ref divider calculation. How a

[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-18 Thread Anthoine Bourgeois
;> From: Anthoine Bourgeois [mailto:anthoine.bourgeois at gmail.com] >> Sent: Wednesday, July 17, 2013 4:43 PM >> To: Deucher, Alexander; Koenig, Christian; Jerome Glisse; Anthoine >> Bourgeois >> Cc: dri-devel at lists.freedesktop.org >> Subject: [PATCH] drm/radeon/dpm: add d

[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Anthoine Bourgeois
This allows you to look at the current DPM state via debugfs. Due to the way the hardware works on these asics, there's no way to look up exactly what power state we are in, so we make the best guess we can based on the current sclk. v2: fix sclk equation Signed-off-by: Alex Deucher

[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Deucher, Alexander
anthoine.bourgeois at gmail.com] > >> Sent: Wednesday, July 17, 2013 4:43 PM > >> To: Deucher, Alexander; Koenig, Christian; Jerome Glisse; Anthoine > >> Bourgeois > >> Cc: dri-devel at lists.freedesktop.org > >> Subject: [PATCH] drm/radeon/dpm: add debugfs sup

[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Deucher, Alexander
erome Glisse; Anthoine > Bourgeois > Cc: dri-devel at lists.freedesktop.org > Subject: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 > (v2) > > This allows you to look at the current DPM state via > debugfs. > > Due to the way the hardware works on these asics, t

[PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-17 Thread Anthoine Bourgeois
t; Bourgeois > > Cc: dri-devel at lists.freedesktop.org > > Subject: [PATCH] drm/radeon/dpm: add debugfs support for rs780 > > > > This allows you to look at the current DPM state via debugfs. > > > > Signed-off-by: Anthoine Bourgeois > > --- > > drivers/gpu/

[PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-17 Thread Anthoine Bourgeois
This allows you to look at the current DPM state via debugfs. Signed-off-by: Anthoine Bourgeois --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 2 ++ drivers/gpu/drm/radeon/rs780_dpm.c | 28 3 files changed, 31

[PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-17 Thread Anthoine Bourgeois
This allows you to look at the current DPM state via debugfs. Signed-off-by: Anthoine Bourgeois anthoine.bourge...@gmail.com --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h | 2 ++ drivers/gpu/drm/radeon/rs780_dpm.c | 28 3 files

Re: [PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-17 Thread Anthoine Bourgeois
@lists.freedesktop.org Subject: [PATCH] drm/radeon/dpm: add debugfs support for rs780 This allows you to look at the current DPM state via debugfs. Signed-off-by: Anthoine Bourgeois anthoine.bourge...@gmail.com --- drivers/gpu/drm/radeon/radeon_asic.c | 1 + drivers/gpu/drm/radeon/radeon_asic.h

RE: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Deucher, Alexander
Bourgeois Cc: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2) This allows you to look at the current DPM state via debugfs. Due to the way the hardware works on these asics, there's no way to look up exactly what power state we

RE: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Deucher, Alexander
-Original Message- From: Anthoine Bourgeois [mailto:anthoine.bourge...@gmail.com] Sent: Wednesday, July 17, 2013 5:23 PM To: Deucher, Alexander; Koenig, Christian; Jerome Glisse Cc: dri-devel@lists.freedesktop.org Subject: Re: [PATCH] drm/radeon/dpm: add debugfs support for RS780

[PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Anthoine Bourgeois
This allows you to look at the current DPM state via debugfs. Due to the way the hardware works on these asics, there's no way to look up exactly what power state we are in, so we make the best guess we can based on the current sclk. v2: fix sclk equation Signed-off-by: Alex Deucher

Re: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Anthoine Bourgeois
[mailto:anthoine.bourge...@gmail.com] Sent: Wednesday, July 17, 2013 4:43 PM To: Deucher, Alexander; Koenig, Christian; Jerome Glisse; Anthoine Bourgeois Cc: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2) This allows you to look at the current DPM state via

Re: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2)

2013-07-17 Thread Anthoine Bourgeois
Subject: Re: [PATCH] drm/radeon/dpm: add debugfs support for RS780/RS880 (v2) On Wed, Jul 17, 2013 at 08:54:33PM +, Deucher, Alexander wrote: Good catch, I screwed up the ref divider calculation. How about the attached patch? It works too. But here was my logic, tell me if I'm wrong: Ok

[PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-16 Thread Deucher, Alexander
r600_power_level_get_current_index() doesn't actually do anything on rs780. There's no convenient way to look this up on rs780. I attempted to add support for it: http://people.freedesktop.org/~agd5f/0001-drm-radeon-dpm-add-debugfs-support-for-RS780-RS880.patch but the

RE: [PATCH] drm/radeon/dpm: add debugfs support for rs780

2013-07-16 Thread Deucher, Alexander
-Original Message- From: Anthoine Bourgeois [mailto:anthoine.bourge...@gmail.com] Sent: Tuesday, July 16, 2013 5:09 PM To: Deucher, Alexander; Koenig, Christian; Jerome Glisse; Anthoine Bourgeois Cc: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/radeon/dpm: add debugfs