You are not logged in.

#1 2014-04-29 11:30:27

amenzhisnky
Member
From: Minsk
Registered: 2013-12-01
Posts: 27

Radeon dpm issue

Hi, I use radeon driver (vanilla kernel) in combination with hybrid graphics, but unfortunately in doesn't swich my card off properly and my laptop runs at 50C (~40C if I swith it off by acpi_call).

cat /sys/class/drm/card1/device/power/runtime_status # is always active
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XT [Radeon HD 8800M Series]
	Subsystem: Samsung Electronics Co Ltd Device c0e6
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f7d00000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at e000 [size=256]
	Expansion ROM at f7d40000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [270] #19
	Kernel driver in use: radeon
	Kernel modules: radeon
agpmode=0 : AGP Mode (-1 == PCI) (int)
aspm=1 : ASPM support (1 = enable, 0 = disable, -1 = auto) (int)
audio=-1 : Audio enable (-1 = auto, 0 = disable, 1 = enable) (int)
benchmark=0 : Run benchmark (int)
connector_table=0 : Force connector table (int)
disp_priority=0 : Display Priority (0 = auto, 1 = normal, 2 = high) (int)
dpm=1 : DPM support (1 = enable, 0 = disable, -1 = auto) (int)
dynclks=-1 : Disable/Enable dynamic clocks (int)
fastfb=0 : Direct FB access for IGP chips (0 = disable, 1 = enable) (int)
gartsize=1024 : Size of PCIE/IGP gart to setup in megabytes (32, 64, etc., -1 = auto) (int)
hard_reset=0 : PCI config reset (1 = force enable, 0 = disable (default)) (int)
hw_i2c=0 : hw i2c engine enable (0 = disable) (int)
lockup_timeout=10000 : GPU lockup timeout in ms (defaul 10000 = 10 seconds, 0 = disable) (int)
modeset=1 : Disable/Enable modesetting (int)
msi=-1 : MSI support (1 = enable, 0 = disable, -1 = auto) (int)
no_wb=0 : Disable AGP writeback for scratch registers (int)
pcie_gen2=-1 : PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = enable) (int)
r4xx_atom=0 : Enable ATOMBIOS modesetting for R4xx (int)
runpm=1 : PX runtime pm (1 = force enable, 0 = disable, -1 = PX only default) (int)
test=0 : Run tests (int)
tv=1 : TV enable (0 = disable) (int)
vramlimit=0 : Restrict VRAM for testing (int)

Am I doing something wrong or it's a bug?

Last edited by amenzhisnky (2014-04-29 11:44:38)

Offline

#2 2014-04-30 09:20:09

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Radeon dpm issue

It appears you forced enabled these options. Maybe they are still off by default as they are not working properly yet.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-05-02 13:24:04

amenzhisnky
Member
From: Minsk
Registered: 2013-12-01
Posts: 27

Re: Radeon dpm issue

I tried to change aspm and dpm options but it didn't help.

$ for i in /sys/class/drm/card1/device/power/*; do echo "${i}: $(cat "${i}")"; done 
/sys/class/drm/card1/device/power/async: enabled
/sys/class/drm/card1/device/power/autosuspend_delay_ms: 5000
/sys/class/drm/card1/device/power/control: on
/sys/class/drm/card1/device/power/runtime_active_kids: 0
/sys/class/drm/card1/device/power/runtime_active_time: 176376
/sys/class/drm/card1/device/power/runtime_enabled: forbidden
/sys/class/drm/card1/device/power/runtime_status: active
/sys/class/drm/card1/device/power/runtime_suspended_time: 0
/sys/class/drm/card1/device/power/runtime_usage: 1
/sys/class/drm/card1/device/power/wakeup: disabled
/sys/class/drm/card1/device/power/wakeup_abort_count: 
/sys/class/drm/card1/device/power/wakeup_active: 
/sys/class/drm/card1/device/power/wakeup_active_count: 
/sys/class/drm/card1/device/power/wakeup_count: 
/sys/class/drm/card1/device/power/wakeup_expire_count: 
/sys/class/drm/card1/device/power/wakeup_last_time_ms: 
/sys/class/drm/card1/device/power/wakeup_max_time_ms: 
/sys/class/drm/card1/device/power/wakeup_prevent_sleep_time_ms: 
/sys/class/drm/card1/device/power/wakeup_total_time_ms: 

This command tels runtime power management is forbidden, it's quite strange.

Offline

Board footer

Powered by FluxBB