Age | Commit message (Collapse) | Author |
|
Fixes:
http://bugs.freedesktop.org/show_bug.cgi?id=27452
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
The pins for ddc and aux are shared so you need to switch the
mode when doing ddc. The ProcessAuxChannel table already sets
the pin mode to DP. This should fix unreliable ddc issues
on DP ports using non-DP monitors.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
|
|
|
|
|
|
This removes a bunch of strict aliasing warnings and fixes the
codepaths up like the latest KMS code, including a workaround for a bug
on evergreen.
|
|
This reworks the pixel clock adjusting code to follow the KMS style,
also fixes warnings in this code.
|
|
this is ported from KMS
|
|
|
|
|
|
|
|
|
|
fixes digital output problems on evergreen asics
|
|
SW de-tiling used in the r600c 3D driver has issues with
certain configurations.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Requires radeon drm 2.6.0 and updated mesa.
v2: - fix lockup due to not emiting DB_DEPTH_INFO
https://bugs.freedesktop.org/show_bug.cgi?id=28342
- fix drm minor version to deal with evergreen accel
v3: rebase on current ddx git
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
reduces code duplication.
|
|
|
|
|
|
|
|
|
|
This is a precursor for r300/500 vbo support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
keep CF, ALU, Fetch instructions in separate groups
|
|
The server 1.2 as shipped in the tarball on the web does not contain the
modes code. It was added just after and found in git branch server-1.2-branch.
The modes code was initially included in version ati 6.8.0 and fails to compile
with server 1.2 as it requires randr 1.2. The modes code is included in server
versions 1.3 and later, so there is no need to provide an unknown version of
the modes code in the ati driver tarball. It will never be used.
This patch makes the ati driver requiring server 1.3 or later.
Version 6.8.0 configures and builds ok on server 1.3
Master branch post 6.13.1 configures and builds ok on server 1.3
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
|
|
Group the op variable state into one emit block, re-order
to reduce dwords emitted.
|
|
Fix :
https://bugzilla.redhat.com/show_bug.cgi?id=601713
https://bugzilla.redhat.com/show_bug.cgi?id=598358
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
|
|
Some RV100 cards with 2 VGA ports show up with DVI+VGA, however
some boards with DVI+VGA have the same subsystem ids. Better
to have a VGA port show up as DVI than having a non-useable
DVI port.
reported by DHR in irc.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
This commit can fix an issue reported on DELL server, system gets hang
during soft resetting while another application tries to access PCI
configuration space.
|
|
no change in functionality
|
|
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=27957
|
|
|
|
This adds back everything removed in c29157bbf5b0dd26857675282ab094082fbaed0d
except CB_FOG_*, CB_CLEAR_* and the VPORT transforms. Those shouldn't
be needed as we aren't using fog or viewport transforms. We probably don't
need all the state that was added back either but I can't reproduce any
problems here, so it's hard to say which parts are problematic.
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=28629
and several corruption reports on #radeon.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Fixes crashes with xserver master, where looking up a pixmap private on a
window no longer happens to work.
|
|
Fixes deprecation warnings with xserver master and should also work with older
xservers.
|
|
This moves pixmap and mode set into CSR where its allowed. Should work fine on
old servers also.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28494
https://bugzilla.redhat.com/show_bug.cgi?id=554967
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
- makes Xv more consistent with r1xx/r2xx/r6xx/r7xx
- Xv attributes like brightness, contrast, hue, etc. only work
when bicubic is disabled.
- avoids performance issues on some systems when sampling from textures
in GART with kms.
- It can be re-enabled with using xvattr
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
No need to emit state that doesn't impact that we use for EXA/Xv.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Group ordered registers to save command buffer space.
Reduces the default and clipping state from 256 to 160 dwords.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
definitely incorrect, but hope it doesn't break anything.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
On a power machine with an rn50, this was causing load detection to be turned off after the first X run, subsequent X runs would find nothing connected.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Since they only have one crtc sometimes the xserver doesn't assign
a crtc to one of the outputs even though both outputs have common modes
which results in only one monitor being enabled. Assign a crtc in
preinit so that both outputs light up.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
pRADEONEnt->HasCRTC2 wasn't setup under KMS.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Previously we relied on the drm not having accel enabled
to make sure evergreen used shadowfb, now we when we enable
accel in the drm, we need to make sure the ddx doesn't try
and use it until it's implemented.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|