On Mon, Jun 7, 2010 at 11:25 AM, Jan Engelhardt jengelh@medozas.de wrote:
On Monday 2010-06-07 17:03, Alex Deucher wrote:
- Why is it that I am only allowed to have sound in graphics mode?
HDMI audio is only enabled on active outputs during modeset.
Bleh. If it shows text, that seems pretty active to me.
Do you mean vga console prior to loading radeon or fb console after loading radeon? The driver needs to be loaded. Also, the attached monitor has to announce itself as hdmi for audio to be enabled.
- The radeon.ko module does not have any PCI IDs defined, thus does not
get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
What kernel are you using? It definitely has pci ids and autoloads just fine.
17:20 lxwks:~ > modinfo radeon filename: /lib/modules/2.6.31.12-jen93-rt/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. srcversion: D95F7F85D05C72112F277F3 depends: drm vermagic: 2.6.31.12-jen93-rt SMP preempt mod_unload modversions 686 parm: no_wb:Disable AGP writeback for scratch registers (int)
17:23 samsung:~ # modinfo radeon filename: /lib/modules/2.6.35-rc2-default+/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/CYPRESS_rlc.bin firmware: radeon/CYPRESS_me.bin firmware: radeon/CYPRESS_pfp.bin firmware: radeon/JUNIPER_rlc.bin firmware: radeon/JUNIPER_me.bin firmware: radeon/JUNIPER_pfp.bin firmware: radeon/REDWOOD_rlc.bin firmware: radeon/REDWOOD_me.bin firmware: radeon/REDWOOD_pfp.bin firmware: radeon/CEDAR_rlc.bin firmware: radeon/CEDAR_me.bin firmware: radeon/CEDAR_pfp.bin firmware: radeon/R700_rlc.bin firmware: radeon/R600_rlc.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin srcversion: DF143D97DD12F63E6EEAF3F depends: drm,drm_kms_helper,ttm,i2c-core,i2c-algo-bit vermagic: 2.6.35-rc2-default+ SMP mod_unload modversions parm: no_wb:Disable AGP writeback for scratch registers (int) parm: modeset:Disable/Enable modesetting (int) parm: dynclks:Disable/Enable dynamic clocks (int) parm: r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int) parm: vramlimit:Restrict VRAM for testing (int) parm: agpmode:AGP Mode (-1 == PCI) (int) parm: gartsize:Size of PCIE/IGP gart to setup in megabytes (32,64, etc) (int) parm: benchmark:Run benchmark (int) parm: test:Run tests (int) parm: connector_table:Force connector table (int) parm: tv:TV enable (0 = disable) (int) parm: new_pll:Select new PLL code (int) parm: audio:Audio enable (0 = disable) (int) parm: disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int) parm: hw_i2c:hw i2c engine enable (0 = disable) (int) 17:24 samsung:~/linux-2.6 # git describe v2.6.35-rc2-1-g386f40c 17:25 samsung:../gpu/drm # git grep PCI_DEVICE_TABLE radeon/ 17:25 samsung:../gpu/drm #
The pci ids are in include/drm/drm_pciids.h
modinfo radeon ... srcversion: 0D187768753F1469A0E118E alias: pci:v00001002d00009715sv*sd*bc*sc*i* alias: pci:v00001002d00009714sv*sd*bc*sc*i* alias: pci:v00001002d00009713sv*sd*bc*sc*i* alias: pci:v00001002d00009712sv*sd*bc*sc*i* alias: pci:v00001002d00009711sv*sd*bc*sc*i* alias: pci:v00001002d00009710sv*sd*bc*sc*i* alias: pci:v00001002d00009616sv*sd*bc*sc*i* alias: pci:v00001002d00009615sv*sd*bc*sc*i* alias: pci:v00001002d00009614sv*sd*bc*sc*i* alias: pci:v00001002d00009613sv*sd*bc*sc*i* alias: pci:v00001002d00009612sv*sd*bc*sc*i* alias: pci:v00001002d00009611sv*sd*bc*sc*i* alias: pci:v00001002d00009610sv*sd*bc*sc*i* alias: pci:v00001002d000095CFsv*sd*bc*sc*i* alias: pci:v00001002d000095CEsv*sd*bc*sc*i* alias: pci:v00001002d000095CDsv*sd*bc*sc*i* ...
Alex