#
00bc40ad |
|
28-Jan-2013 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
radeon_hd: Fix DisplayPort link training * Original changes by Bill Randle * Includes a large number of modifications and cleanups. * Add a "currentMode" to the gDisplay to enable easier checking of intended changes. (we pass the display_mode around quite a bit, adding a "currentMode" allows code to know the intended display mode being set without passing the mode pointer around as much)
|
#
09aaa658 |
|
15-Dec-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
DisplayPort call organization and cleanup * Add color space to BPP function * Pass display_mode to DP lane count function * Get BPP in DP lane count * Move some DPInfo population out of DP link training as other things need them sooner. * Fill out DP code in external encoder setup
|
#
0cd5024d |
|
09-Dec-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
Pointer style cleanup; Variable consolidation
|
#
f66a1a8d |
|
16-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* fix TODO style due to ML * rename bpc to bitsPerChannel * remove un-needed / unused PCI BAR reference * no functional change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42861 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7934da0f |
|
12-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add *very* preliminary dpms support we will need to query the card dpms state for each monitor at a later date git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42829 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b54c8119 |
|
04-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add encoder code to handle setting up and adjusting encoders * reorganize mode set code to match layout of linux DRM driver * add initial DPMS code * add lots of TODOs git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42801 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d356bf50 |
|
10-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* consolidate and remove unneeded Xorg headers * move mc code to more generic gpu source/header * add gpu reset functions (with r600 documented) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95e1d7e8 |
|
21-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Large refactoring of display detection and storage * Create new display.c/h for display management * Rename global gCRT to gDisplay * Add CRT connection type into gDisplay * Add CRT connection index into gDisplay * Refactor registers for each display into gDisplay via regs * We now shouldn't freak out too badly on multi-monitors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84bcfa3d |
|
12-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Add mc.cpp for memory controller functions * Remove read32MC as it doesn't apply to radeon cards >= r600 * Add tmds.cpp for tmds connected monitor management (current radeons only have TMDSA for the moment) still needs TDMSPower, etc. * Add some MC calls to mode.cpp, causes KDL so commented out atm. * Add command to idle all DACs (although POWER_RESET doesn't do anything on DACs, we should be consistent) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f2fe29a0 |
|
08-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Final (hopefully?) calculation for blank start/end * Lets actually call PLLPower after PLLSet * Improve screen blanking function * Detect DAC/PLL to use separately from CRT id * Add DACSense that senses displays on DACA/DACB * Grab CRT in PLL code via gRegister crtid * Set overscan to 0 for now * Setting extended video modes now kinda works sometimes :-/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42397 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1d65a79 |
|
15-Jun-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* malloc an array of pointers to hold active crt info, mode, limits, etc. Plan to move gRegister into the crt struct at some point. * Few style fixes * Added function to probe edid of attached monitors and populate CRT info * Disable VGA control modifications temporarly while I hammer out some issues. * Fix radeon card model checks (bitwise & is not |) * Finally fix? blanking start / end calculations using porch * Use mask for setting sync polarity * Add overscan (8 pixels is default?) * Disable PLLSet/Power for the moment as it seems to muck things up. * is_mode_supported now validates if a mode line is with the monitors h/v sync frequencies (how does is_mode_supported know what crt the os wants?) * PLL Write/Read don't actually use the PLL Write/Read functions (thanks AMD!) * Added better PLL legacy (r600-r610) support * Consistantly give no DCCG on legacy cards. * Tracing! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42191 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3fcaf0d6 |
|
01-Jun-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
remove unneeded orphan function declaration for AllocateFB git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
51a43d0f |
|
19-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
ensure framebuffer doesn't exceed PCI bar; add basic monitoring of frame buffer memory allocation; fix return of framebuffer to OS to be the correct area git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41586 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2613175e |
|
09-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add commented out radeon_hd driver/accel to HaikuImage * add boot item support to radeon hd driver * add edid storage to shared info * add pull of active monitor VESA EDID to radeon hd driver (until AtomBios complete) * EDID pulled in driver now passed to create_display_modes * move registers to external stock xorg radeon hd register headers (lic. allows it) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41411 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
192781dd |
|
07-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* use common accelerant code * remove manual sDisplayMode and make use of mode_list_area via Axel's common accelerant code using vesa as example * move mask enabled write32 function to accelerant with write32 calls * move register offsets into mode.h headers * rename DxMode* to CardMode* * make adjustments and implement radeon hd mode setting further * remove previously defined kStdModeTimings * hardware mode setting still needs work git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41374 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
91235829 |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
start a const list of common mode timings (mostly vesa); verify refresh rate is sane by calculating it using pixel clock and horizontal/vertical totals git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41354 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
089bcdea |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
move mode related registers into header file git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71f51395 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add header file ifndef guard git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d5c3acac |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
added header file for mode.cpp; change gDisplayMode to pointer for now; add function to quickly perform sanity check on mode lines; enhance tracing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41334 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
09aaa658b0fa53eff3ad4cd5a44cf488bdfc1e3c |
|
15-Dec-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
DisplayPort call organization and cleanup * Add color space to BPP function * Pass display_mode to DP lane count function * Get BPP in DP lane count * Move some DPInfo population out of DP link training as other things need them sooner. * Fill out DP code in external encoder setup
|
#
0cd5024dbb8c0b979798d10528cb8140470f129d |
|
09-Dec-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
Pointer style cleanup; Variable consolidation
|
#
f66a1a8d71e68f2c725fa556af7b9983a85e057e |
|
16-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* fix TODO style due to ML * rename bpc to bitsPerChannel * remove un-needed / unused PCI BAR reference * no functional change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42861 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7934da0f090bc6970fc259eff3f171e27966eeee |
|
12-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add *very* preliminary dpms support we will need to query the card dpms state for each monitor at a later date git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42829 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b54c811990b00b53158247e1daa019a6bda9c278 |
|
04-Oct-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add encoder code to handle setting up and adjusting encoders * reorganize mode set code to match layout of linux DRM driver * add initial DPMS code * add lots of TODOs git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42801 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d356bf503359f7581ac6c596588e70eff1f55117 |
|
10-Aug-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* consolidate and remove unneeded Xorg headers * move mc code to more generic gpu source/header * add gpu reset functions (with r600 documented) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
95e1d7e8288c9eb390705b0fa6e735ff091a0e65 |
|
21-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Large refactoring of display detection and storage * Create new display.c/h for display management * Rename global gCRT to gDisplay * Add CRT connection type into gDisplay * Add CRT connection index into gDisplay * Refactor registers for each display into gDisplay via regs * We now shouldn't freak out too badly on multi-monitors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
84bcfa3d4bc3f64b82bb80e0b5e88e284f191627 |
|
12-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Add mc.cpp for memory controller functions * Remove read32MC as it doesn't apply to radeon cards >= r600 * Add tmds.cpp for tmds connected monitor management (current radeons only have TMDSA for the moment) still needs TDMSPower, etc. * Add some MC calls to mode.cpp, causes KDL so commented out atm. * Add command to idle all DACs (although POWER_RESET doesn't do anything on DACs, we should be consistent) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f2fe29a0db13c08df7d88755775246f91c290ebf |
|
08-Jul-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* Final (hopefully?) calculation for blank start/end * Lets actually call PLLPower after PLLSet * Improve screen blanking function * Detect DAC/PLL to use separately from CRT id * Add DACSense that senses displays on DACA/DACB * Grab CRT in PLL code via gRegister crtid * Set overscan to 0 for now * Setting extended video modes now kinda works sometimes :-/ git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42397 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1d65a79cbba5eb871c2763824839ee56930a557 |
|
15-Jun-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* malloc an array of pointers to hold active crt info, mode, limits, etc. Plan to move gRegister into the crt struct at some point. * Few style fixes * Added function to probe edid of attached monitors and populate CRT info * Disable VGA control modifications temporarly while I hammer out some issues. * Fix radeon card model checks (bitwise & is not |) * Finally fix? blanking start / end calculations using porch * Use mask for setting sync polarity * Add overscan (8 pixels is default?) * Disable PLLSet/Power for the moment as it seems to muck things up. * is_mode_supported now validates if a mode line is with the monitors h/v sync frequencies (how does is_mode_supported know what crt the os wants?) * PLL Write/Read don't actually use the PLL Write/Read functions (thanks AMD!) * Added better PLL legacy (r600-r610) support * Consistantly give no DCCG on legacy cards. * Tracing! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42191 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3fcaf0d61c1dbfae3543430be2929d4dd5a3e916 |
|
01-Jun-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
remove unneeded orphan function declaration for AllocateFB git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41859 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
51a43d0ff44f711768d43462a253e4ff5806a608 |
|
19-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
ensure framebuffer doesn't exceed PCI bar; add basic monitoring of frame buffer memory allocation; fix return of framebuffer to OS to be the correct area git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41586 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2613175e19f6fd2969bd35fce36ba89fc20f88d9 |
|
09-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* add commented out radeon_hd driver/accel to HaikuImage * add boot item support to radeon hd driver * add edid storage to shared info * add pull of active monitor VESA EDID to radeon hd driver (until AtomBios complete) * EDID pulled in driver now passed to create_display_modes * move registers to external stock xorg radeon hd register headers (lic. allows it) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41411 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
192781dd493b0454d85747f2b0d2d75c3752b7e7 |
|
07-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
* use common accelerant code * remove manual sDisplayMode and make use of mode_list_area via Axel's common accelerant code using vesa as example * move mask enabled write32 function to accelerant with write32 calls * move register offsets into mode.h headers * rename DxMode* to CardMode* * make adjustments and implement radeon hd mode setting further * remove previously defined kStdModeTimings * hardware mode setting still needs work git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41374 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
91235829b272dd88a0ada67f48a43b3dfc22dab0 |
|
06-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
start a const list of common mode timings (mostly vesa); verify refresh rate is sane by calculating it using pixel clock and horizontal/vertical totals git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41354 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
089bcdeab0fb4bb42df9bcddf42a4d0b7b65c0b9 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
move mode related registers into header file git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71f51395d675636de873a0bf3854286e995490c1 |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
add header file ifndef guard git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d5c3acac3ef9425f21522c24db869047f68fa5bc |
|
05-May-2011 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
added header file for mode.cpp; change gDisplayMode to pointer for now; add function to quickly perform sanity check on mode lines; enhance tracing git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41334 a95241bf-73f2-0310-859d-f6bbb57e9c96
|