Age | Commit message (Collapse) | Author |
|
I missed these in my initial search/replace for some reason.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Also fix some RADEON_ALIGN(x, 63), which would return incorrect results
for odd x. Though this shouldn't happen, it's still not right. You
wouldn't ever write (x + 62) & ~62 which is clearly wrong (and what it
expands to).
CC: Jerome Glisse <jglisse@redhat.com>
CC: Alex Deucher <alexdeucher@gmail.com>
CC: Dave Airlie <airlied@redhat.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
|
|
fixes mac laptops without an edid
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
sync polarity, etc. This will likely fix LVDS problems
on some laptops.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
avoids needing to hack around with the edid
|
|
This reverts commit 1a2b16561d19ec9c027c562902f5fc086c856994.
|
|
we can scale, so add the default modes. for panels
with an EDID, set the continous freq bit. for panels without
and EDID, add a FAKE edid with the continous freq bit set.
Based on similar code in the Intel driver.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to Joseph Adams for helping me sort this out.
Verified on eMac G4/1.0 with radeon 7500
Later eMacs with radeon 9200 or 9600 chips may have
different ddc setups. Need to verify.
|
|
|
|
|
|
Component output is still not working.
|
|
|
|
re-organize the output type
|
|
- Reduce the number of times we do DDC and don't
skip the magical GPIO dance when doing DDC.
- If no DDC modes are found, add the screen modes
|
|
Shouldn't be needed any longer as I've finally sorted out
the LVDS issues due to the crtc setup.
|
|
|
|
Seems some laptops need the native mode from the bios for
LVDS while others seem to prefer a CVT mode. Add an option
to pick the preferred mode. The default it to use the bios
table timing.
|
|
- The panel timing from the bios tables is for the crtc,
not the native panel mode, so add cvt modes for the panel
and fix up the crtc values in mode_fixup().
- rename and reconfigure RADEONValidateFPModes() to what it
really does: add screen modes. I suppose for backwards
compatibility we ought to add the screen modes to every
reasonable output, but everyone should really use xrandr
or an output monitor section to add custom modes. Hopefully
this will go away at some point.
|
|
Hopefully this will fix up the weird mode issues with LVDS and
native and RMX modes, but I can't seem to get quite the right
combo to fix everyone.
|
|
also print out LVDS mode info from bios for both
legacy and atom bioses
|
|
The old validation code wasn't really well suited to randr.
This fixes several issues:
- missing display size for panels with edid
- broken duplicate modes
|
|
|
|
Since TV/VGA/DVI-I can share the TV DAC, we often get false detection
of all inputs that share that DAC. Make load detection an output
attribute. Enabled by default on primary dac and on cards where
tv dac is (usually) dedicated to tv (non-IGP mobilities).
|
|
Based on the GATOS tv-out support by Federico Ulivi <fulivi@lycos.com>
and information from ati with substantial rework by myself.
Code is not actually hooked up yet.
|
|
|
|
If we have a native mode from the BIOS make it preferred mode
|
|
Move code where it's used, remove unused variables, etc.
|
|
- give better DDC names
- disable DAC if connector is DVI-D
- fix indentation in ProbeDDCModes()
|
|
|
|
- server still hangs if you start with external monitor connected
- RMX not working
- more than 2 outputs now possible (untested)
|
|
|
|
|
|
According to Lisa Wu, this is correct regarding the VESA EEDID standard.
Bugzilla #10620 (2), original patch by Lisa Wu @ATI
|
|
Some scans used to only check every second entry, some stopped at the entry
before the last entry.
Bugzilla #10620 (1), original patch by Lisa Wu @ATI
|
|
This makes sure mode lists will always be sorted from larger to smaller.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and it breaks my cursor
|