linux/drivers/gpu/drm/radeon
Alex Deucher 56278a8eda drm/radeon/kms: pull power mode info from bios tables (v3)
The general idea is to validate the current hw state
against the set of power states and select a power
state based on that.  This patch just pulls the power
states from the bios and prints the information.  It
is not currently hooked up in the actual power management
code.  Hooking it up will require reworking the the current
power state selection code and will be handled in a future
patch.

Additionally, we'd need to decide on some default lower
power states for cards without power tables.

v2 - increment state_index after checking for default state
v3 - fix typo in pm init on pre-atom cards, handle pre-atom
cards without x86 bioses

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-09 09:32:27 +10:00
..
reg_srcs drm/radeon/kms/r200: fix bug in CS parser 2010-01-21 08:17:27 +10:00
.gitignore drm: create gitignore file for radeon 2009-09-25 13:08:21 +10:00
atom-bits.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom-names.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom-types.h drm/radeon: introduce kernel modesetting for radeon hardware 2009-06-15 12:01:53 +10:00
atom.c drm/radeon/kms/atom: atom parser fixes 2010-01-24 17:25:05 +10:00
atom.h drm/radeon/kms/atom: upstream parser updates 2010-01-21 08:20:28 +10:00
atombios_crtc.c drm/radeon/kms/atom: clean up spread spectrum code 2010-02-09 09:32:22 +10:00
atombios_dp.c drm/kms/radeon: pick digitial encoders smarter. (v3) 2010-02-01 10:13:15 +10:00
atombios.h drm/radeon/kms: add definitions for v4 power tables 2009-12-23 11:14:05 +10:00
avivod.h drm/radeon/kms: Convert RV515 to new init path and associated cleanup 2009-09-29 11:15:54 +10:00
Kconfig drm/kms/radeon: make kms default a runtime option 2009-09-08 11:15:59 +10:00
Makefile drm/radeon/kms: add additional safe regs for r4xx/rs6xx and r5xx 2010-01-11 13:42:27 +10:00
mkregtable.c drm/radeon: mkregtable.c: close a file before exit 2010-01-08 13:11:55 +10:00
ObjectID.h drm/radeon/kms: pull in the latest upstream ObjectID.h changes 2010-01-08 13:03:57 +10:00
r100_track.h drm/radeon/kms: allow rendering while no colorbuffer is set on r300 2009-12-23 11:14:04 +10:00
r100.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
r100d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
r200.c drm/radeon/kms/r200: fix bug in CS parser 2010-01-21 08:17:13 +10:00
r300_cmdbuf.c DRM: Rename clamp variable 2009-12-23 10:04:01 +10:00
r300_reg.h drm/radeon/kms: add 3DC compression support 2009-12-23 11:14:04 +10:00
r300.c drm/radeon/kms: add functions to get current pcie lanes 2010-02-09 09:32:26 +10:00
r300d.h drm/radeon/kms: Convert R300 to new init path 2009-10-02 08:51:48 +10:00
r420.c drm/radeon/kms: clean up some low-hanging magic numbers 2010-02-09 09:31:20 +10:00
r420d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
r500_reg.h drm/radeon/kms: add support for hw i2c on r1xx-r5xx 2010-02-09 09:31:10 +10:00
r520.c drm/radeon/kms: don't call suspend path before cleaning up GPU 2010-02-05 11:49:52 +10:00
r520d.h drm/radeon/kms: Convert R520 to new init path and associated cleanup 2009-09-29 11:15:56 +10:00
r600_audio.c drm/radeon/kms: disable HDMI audio for now on rv710/rv730 2010-02-05 11:57:42 +10:00
r600_blit_kms.c drm/radeon/kms/r600: reduce gpu cache flushing 2010-02-09 09:32:24 +10:00
r600_blit_shaders.c drm/radeon/kms/r600: reduce gpu cache flushing 2010-02-09 09:32:24 +10:00
r600_blit_shaders.h drm/radeon/kms: add r600 KMS support 2009-09-08 11:15:52 +10:00
r600_blit.c drm/radeon/r600: only assign vb after we know space is available. 2009-10-26 13:28:21 +10:00
r600_cp.c drm/radeon/kms: add r600 KMS support 2009-09-08 11:15:52 +10:00
r600_cs.c drm/radeon/kms: preface warning printk with driver name 2010-01-25 16:13:55 +10:00
r600_hdmi.c drm/radeon/kms: HDMI support for R600 KMS 2009-12-16 15:46:48 +10:00
r600_reg.h drm/radeon/kms: HDMI support for R600 KMS 2009-12-16 15:46:48 +10:00
r600.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
r600d.h drm/radeon: r6xx/r7xx possible security issue, system ram access 2010-01-21 08:49:32 +10:00
radeon_agp.c drm/radeon/kms: release agp on error. 2010-02-01 11:22:10 +10:00
radeon_asic.h drm/radeon/kms: add functions to get current pcie lanes 2010-02-09 09:32:26 +10:00
radeon_atombios.c drm/radeon/kms: pull power mode info from bios tables (v3) 2010-02-09 09:32:27 +10:00
radeon_benchmark.c drm/radeon/kms: Rework radeon object handling 2009-12-02 14:00:18 +10:00
radeon_bios.c drm/radeon/kms: remove some misleading debugging output 2009-11-04 13:38:02 +10:00
radeon_clocks.c drm/radeon/kms: fix legacy get_engine/memory clock 2010-01-24 17:25:38 +10:00
radeon_combios.c drm/radeon/kms: pull power mode info from bios tables (v3) 2010-02-09 09:32:27 +10:00
radeon_connectors.c drm/radeon/kms: add radeon i2c algo 2010-02-05 15:10:19 +10:00
radeon_cp.c drm/radeon/kms: fix memory leak 2010-01-07 13:38:59 +10:00
radeon_cs.c drm/radeon/kms: Fix oops after radeon_cs_parser_init() failure. 2010-02-01 12:49:28 +10:00
radeon_cursor.c drm/radeon/kms/r7xx: add regs for 40 bit CUR/GRPH addresses 2009-10-26 13:28:22 +10:00
radeon_device.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
radeon_display.c drm/radeon/kms: consolidate crtc count in rdev 2010-02-09 09:32:25 +10:00
radeon_drv.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
radeon_drv.h drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3) 2009-12-02 14:00:06 +10:00
radeon_encoders.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
radeon_family.h drm/radeon: consolidate family flags used in pciids. 2009-09-23 10:21:00 +10:00
radeon_fb.c drm/radeon/kms: consolidate crtc count in rdev 2010-02-09 09:32:25 +10:00
radeon_fence.c drm/radeon/radeon_fence.c: move a dereference below the NULL test 2010-01-07 13:54:39 +10:00
radeon_fixed.h drm/radeon/kms/avivo: fix some bugs in the display bandwidth setup 2009-12-10 15:09:05 +10:00
radeon_gart.c drm/radeon/kms: Rework radeon object handling 2009-12-02 14:00:18 +10:00
radeon_gem.c drm/radeon/kms: fix regression rendering issue on R6XX/R7XX 2010-02-05 11:43:51 +10:00
radeon_i2c.c drm/radeon/kms: add support for hw i2c on r1xx-r5xx 2010-02-09 09:31:10 +10:00
radeon_ioc32.c drm: convert drm_ioctl to unlocked_ioctl 2009-12-18 11:22:31 +10:00
radeon_irq_kms.c drm/radeon/kms: Don't try to enable IRQ if we have no handler installed 2010-01-08 13:12:20 +10:00
radeon_irq.c gpu/drm/radeon/radeon_irq.c: move a dereference below a NULL test 2010-01-07 13:56:32 +10:00
radeon_kms.c drm/radeon/kms: switch all KMS driver ioctls to unlocked. 2010-02-09 09:32:24 +10:00
radeon_legacy_crtc.c drm/radeon/kms: rework pll algo selection 2010-02-09 09:31:21 +10:00
radeon_legacy_encoders.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
radeon_legacy_tv.c drm/radeon: fix a couple of array index errors 2010-01-08 13:05:16 +10:00
radeon_mem.c drm: Remove memory debugging infrastructure. 2009-06-18 13:00:33 -07:00
radeon_mode.h drm/radeon/kms: rework pll algo selection 2010-02-09 09:31:21 +10:00
radeon_object.c drm/radeon/kms: make hibernate work on IGPs 2010-01-25 16:04:42 +10:00
radeon_object.h drm/radeon/kms: Return to userspace on ERESTARTSYS 2009-12-16 15:39:24 +10:00
radeon_pm.c drm/radeon/kms: pull power mode info from bios tables (v3) 2010-02-09 09:32:27 +10:00
radeon_reg.h drm/radeon/kms: add support for hw i2c on r1xx-r5xx 2010-02-09 09:31:10 +10:00
radeon_ring.c drm/radeon/kms: Rework radeon object handling 2009-12-02 14:00:18 +10:00
radeon_state.c drm/radeon/r600: don't do interrupts 2009-09-18 14:34:06 +10:00
radeon_test.c drm/radeon: fix build on 64-bit with some compilers. 2009-12-23 10:04:02 +10:00
radeon_ttm.c drm/radeon/kms: only evict to GTT if CP is ready 2010-01-13 13:25:14 +10:00
radeon.h drm/radeon/kms: pull power mode info from bios tables (v3) 2010-02-09 09:32:27 +10:00
rs100d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rs400.c drm/radeon/kms: rs400/480 MC setup is different than r300. 2010-02-05 13:40:16 +10:00
rs400d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
rs600.c drm/radeon/kms: add dynamic engine reclocking (V9) 2010-02-09 09:32:26 +10:00
rs600d.h drm/radeon/kms: add regs and irq tracking bits for hpd 2009-12-08 10:46:34 +10:00
rs690.c drm/radeon/kms: don't call suspend path before cleaning up GPU 2010-02-05 11:49:52 +10:00
rs690d.h drm/radeon/kms: Convert RS690/RS740 to new init path (V2). 2009-10-02 08:51:50 +10:00
rv200d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rv250d.h drm/radeon/kms: Convert R100 to new init path (V2) 2009-10-02 08:51:49 +10:00
rv350d.h drm/radeon/kms: Convert RS400/RS480 to new init path & fix legacy VGA (V3) 2009-10-02 08:51:46 +10:00
rv515.c drm/radeon/kms: don't call suspend path before cleaning up GPU 2010-02-05 11:49:52 +10:00
rv515d.h drm/radeon/kms: Convert RV515 to new init path and associated cleanup 2009-09-29 11:15:54 +10:00
rv770.c drm/radeon/kms: don't call suspend path before cleaning up GPU 2010-02-05 11:49:52 +10:00
rv770d.h drm/radeon/kms: fix vram_width calculation on r6xx/r7xx 2009-10-26 13:28:19 +10:00