All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHES] radeon kms pm patches
@ 2010-03-15  0:01 Alex Deucher
  2010-03-15  5:44 ` Rafał Miłecki
                   ` (5 more replies)
  0 siblings, 6 replies; 32+ messages in thread
From: Alex Deucher @ 2010-03-15  0:01 UTC (permalink / raw)
  To: Dave Airlie, DRI Development Mailing List,
	Rafał Miłecki, Matthew Garrett

This weekend I finally got some time to sit down with kms pm, and I
created a new patch set (against drm-radeon-testing).  For those that
want to play with the i2c stuff for thermal chips, you'll probably
grab my recent i2c patches as well.  You can grab my latest pm patches
here:
http://people.freedesktop.org/~agd5f/pm2/

So far I haven't seen any corruption when changing power modes.

What the patches do:
- implement gui idle irq support
- only change clocks when the engine is idle
- add support for turning down the number of active simds in lower
power modes (r6xx+)
- add a pm_fini function
- move set/get power state logic into asic specific callbacks.
Different strategies for handling
different power tables formats.

Things left to do:
- reset clocks to default on module unload (in pm_fini function)
- add request module support for hwmon i2c thermal chip drivers
- add hwmon support for internal thermal/fan support used on some
r6xx/r7xx boards
- add more robust power state selection
- tie power state selection into external events (manual power mode
selection, AC/DC state, etc.)
- hook up memory reclocking
- hook up pcie lane setting
- hook up voltage setting

Alex

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [PATCHES] radeon kms pm patches
@ 2010-03-16 10:56 Sedat Dilek
  0 siblings, 0 replies; 32+ messages in thread
From: Sedat Dilek @ 2010-03-16 10:56 UTC (permalink / raw)
  To: DRI; +Cc: alexdeucher

Hi,

I tried the pm2 patches from [1] on top of Linus-tree -
2.6.34-rc1-git6 to be precise.

I have prepared a single patch of drm-radeon-testing GIT branch (as of
15-Mar-2010) [2].

The patch-series file against 2.6.34-rc1 looks like:

[series]
# upstream updates
upstream/patch-2.6.34-rc1-git6

# patch from <http://files.iniza.org/drm-radeon-kms/drm-radeon-testing/>
drm-radeon-testing/drm-radeon-testing.patch

# patches from <http://people.freedesktop.org/~agd5f/pm2/>
agd5f/pm2/0001-drm-radeon-kms-pm-fix-typo-in-power-table-parsing.patch
agd5f/pm2/0002-drm-radeon-kms-gfx-init-fixes-for-r6xx-r7xx.patch
#agd5f/pm2/0003-i2c-algo-bit-Add-pre-and-post-xfer-hooks.patch
agd5f/pm2/0004-drm-radeon-kms-use-new-pre-post_xfer-i2c-bit-algo-h.patch
agd5f/pm2/0005-drm-radeon-kms-add-gui_idle-callback.patch
agd5f/pm2/0006-drm-radeon-kms-add-support-for-gui-idle-interrupts.patch
agd5f/pm2/0007-drm-radeon-kms-wait-for-gpu-idle-before-changing-po.patch
agd5f/pm2/0008-drm-radeon-kms-pm-rework-power-mode-parsing.patch
agd5f/pm2/0009-drm-radeon-kms-pm-add-asic-specific-callbacks-for-s.patch
agd5f/pm2/0010-drm-radeon-kms-pm-add-asic-specific-callbacks-for-g.patch
agd5f/pm2/0011-drm-radeon-kms-r6xx-add-support-for-SIMD-pm.patch
[/series]


Happy testing...
- Sedat -

References:
------------------
[1] http://people.freedesktop.org/~agd5f/pm2/
[2] http://files.iniza.org/drm-radeon-kms/drm-radeon-testing/

NOTE:
---------
These two patches are now in latest drm-radeon-testing GIT branch:
* 0001-drm-radeon-kms-pm-fix-typo-in-power-table-parsing.patch
* 0002-drm-radeon-kms-gfx-init-fixes-for-r6xx-r7xx.patch

You can drop this patch it is included in upstream:
* 0003-i2c-algo-bit-Add-pre-and-post-xfer-hooks.patch

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [PATCHES] radeon kms pm patches
@ 2010-03-18  9:55 Sedat Dilek
  0 siblings, 0 replies; 32+ messages in thread
From: Sedat Dilek @ 2010-03-18  9:55 UTC (permalink / raw)
  To: DRI; +Cc: alexdeucher

Hi,

the last days I am testing Alex's pm2-patches with Linus-tree - this
report based on patchset as of 17-Mar-2010 22:42 [0].

Unfortunately, I cannot load radeon kernel-module with dynpm=1 (0 =
disabled works fine).
All testing was done in init-3 in a virtual-console.
Looking into the log-files show (a) regression(s).

I have prepared patches against Linux-2.6.34-rc1 [1] and also attached
logs in [2].
The agdf5-pm2-with-linustree.tar.bz2 tarball contains all data (see [3]).

Have fun.


Kind Regards,
- Sedat -

References:
------------------

[0] http://people.freedesktop.org/~agd5f/pm2/
[1] http://files.iniza.org/agdf5-pm2-with-linustree/patches/
[2] http://files.iniza.org/agdf5-pm2-with-linustree/logs/
[3] http://files.iniza.org/agdf5-pm2-with-linustree/archive/

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [PATCHES] radeon kms pm patches
@ 2010-03-18 10:39 Sedat Dilek
  2010-03-18 11:53 ` Sedat Dilek
  0 siblings, 1 reply; 32+ messages in thread
From: Sedat Dilek @ 2010-03-18 10:39 UTC (permalink / raw)
  To: DRI; +Cc: alexdeucher

[1] shows:
...
Mar 18 10:07:35 seduxbox kernel: [  127.005632]
[drm:r500_hw_i2c_xfer], i2c write error 0x00000002
...

- Sedat -

[1] http://files.iniza.org/agdf5-pm2-with-linustree/logs/debug.txt

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [PATCHES] radeon kms pm patches
@ 2010-03-18 12:53 Sedat Dilek
  0 siblings, 0 replies; 32+ messages in thread
From: Sedat Dilek @ 2010-03-18 12:53 UTC (permalink / raw)
  To: DRI; +Cc: alexdeucher

Experiences (II) - OpenArena

Mostly, I am using radeon Gallium3D driver r300g dri/statetracker.
Here I can start openarena (OA) but entering fight-mode closes OA immediately.
There seems to be a problem in mesa master GIT branch.

commit 9d48a621d2a0e55a76a2cfd0aea3b773e907ed50
"llvmpipe: Fix crashes when there is no depth buffer bound."

OA is playable with "classic" mesa (KMS/DRI2).

After Anholt's OA benchmark is finished - I get a blank screen.

Log-file see [1].

- Sedat -

[1] http://files.iniza.org/agdf5-pm2-with-linustree/logs/dmesg_openarena-r300classic.txt

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2010-03-27 10:07 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15  0:01 [PATCHES] radeon kms pm patches Alex Deucher
2010-03-15  5:44 ` Rafał Miłecki
2010-03-15  7:26   ` Alex Deucher
2010-03-15  5:50 ` Rafał Miłecki
2010-03-15  7:26   ` Alex Deucher
2010-03-15  5:52 ` Rafał Miłecki
2010-03-15  7:26   ` Alex Deucher
2010-03-15  6:04 ` Rafał Miłecki
2010-03-15  7:26   ` Alex Deucher
2010-03-15  6:27 ` Rafał Miłecki
2010-03-15  7:26   ` Alex Deucher
2010-03-15  7:30 ` Alex Deucher
2010-03-17  1:43   ` Alex Deucher
2010-03-17  6:28     ` Rafał Miłecki
2010-03-17 14:35       ` Alex Deucher
2010-03-17 23:18     ` Rafał Miłecki
2010-03-18  3:27       ` Alex Deucher
2010-03-18  0:06     ` Rafał Miłecki
2010-03-18  3:27       ` Alex Deucher
2010-03-18  9:05         ` Rafał Miłecki
2010-03-18 11:37           ` Rafał Miłecki
2010-03-18 16:40             ` Alex Deucher
2010-03-18 16:43               ` Rafał Miłecki
2010-03-26 19:49               ` Rafał Miłecki
2010-03-26 19:54                 ` Alex Deucher
2010-03-26 19:56                 ` Matthew Garrett
2010-03-27 10:07                   ` Michel Dänzer
  -- strict thread matches above, loose matches on Subject: below --
2010-03-16 10:56 Sedat Dilek
2010-03-18  9:55 Sedat Dilek
2010-03-18 10:39 Sedat Dilek
2010-03-18 11:53 ` Sedat Dilek
2010-03-18 12:53 Sedat Dilek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.