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

2013-07-17 Thread Anthoine Bourgeois
isse >> 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-17 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

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

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

2013-07-17 Thread Anthoine Bourgeois
ourgeois [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 s

[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 Signed-off

[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 Signed-off-

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

2013-07-17 Thread Deucher, Alexander
rgeois [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:

[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

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

2013-07-17 Thread Deucher, Alexander
[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 debug

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

2013-07-17 Thread Deucher, Alexander
se; 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 > debugfs. > > Due to the way the hardware works on these asics, there&#

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

2013-07-17 Thread Anthoine Bourgeois
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/

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

2013-07-17 Thread Anthoine Bourgeois
Cc: dri-devel@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/drm/radeon/radeon_as

[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 insertions(+) d

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

2013-07-16 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 insertions(+)

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

2013-07-16 Thread Deucher, Alexander
> -Original Message- > From: Anthoine Bourgeois [mailto:anthoine.bourgeois at gmail.com] > Sent: Tuesday, July 16, 2013 5:09 PM > To: Deucher, Alexander; Koenig, Christian; Jerome Glisse; Anthoine > Bourgeois > Cc: dri-devel at lists.freedesktop.org > Subject: [PATCH

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/ra