Age | Commit message (Collapse) | Author |
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Should have been removed in:
ef9bfb262db7004bef3704e5d914687e50d3fca4
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
It was a duplicate of the R600 variant.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
linear aligned is supposedly more performant, but more
importantly, linear general only works on the CB without
slices. The texture blocks technically don't support
linear general although, I think linear general gets
upgraded to linear aligned in the hw which is why it
currently works.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
|
|
Noticed by: Warren Block <wblock@wonkity.com>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
atombios_pick_dig_encoder() needs to be called
with a valid crtc assigned.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Use UTS/DFS to tile/untile as appropriate for sw access on
pre-6xx.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33738
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Thanks for Michel for final fix. Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33738
for r6xx+ asics. A similar approach for pre-r6xx
asics is pending.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
0x4243 is a PCI bridge, not a gpu.
See:
https://bugs.freedesktop.org/show_bug.cgi?id=33815
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
This will ensure the xserver definitions necessary to compile the new code are
there. xf86CrtcSetMode will be unresolved at runtime with a few xserver
commits, but I'm afraid this is the best we can do.
See https://bugs.freedesktop.org/show_bug.cgi?id=33719 .
|
|
xf86CrtcSetMode was removed in:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=8b35118c03590a7ad3786d3284bafb3f40fcb8cc
|
|
Warning the dp clock value are divided by 10 in ddx (10 times
bigger than kernel value) this is somethings very picky.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
|
|
Always flush the cbuf in case we end up with a cbuf mapped in
Prepare*(), but never end up issuing a draw call since the cbuf
may be in use by multiple ops.
The CS check for the cbuf bo is no longer necessay because
the cbuf bo is NULL at this point due to the radeon_vbo_put()
just prior.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=32188
|
|
Make sure we have a valid bo before revalidating.
|
|
bo_ref() and bo_map() in radeon_vbo_get()
bo_unmap() and bo_unref() in radeon_vbo_put()
rather than doing the bo_map() separately in
radeon_vbo_space().
|
|
|
|
We already reset vb_start_op to -1 in the
UMS/KMS ib discard functions.
|
|
Port of the 6xx/7xx fix to evergreen. Bad texture size
for texture cache flush.
|
|
bad textures size for cache flushes.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=22007
|
|
Where's that brown paper bag? :}
|
|
v2: Fix radeon_legacy_free_memory() argument type error pointed out by
Marton Balint, refactor video memory freeing logic into helper function.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=33193 .
|
|
this is also needed for certain things like stipple rendering.
Signed-off-by: Dave Airlie <airlied@redhat.com>
|
|
Noticed by Nigel Taylor
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33057
|
|
Display has slightly stricter pitch alignment requirements
than other blocks. Factor that in when aligning pitch.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=32997
|
|
|
|
|
|
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-ati
|
|
|
|
|
|
NI cards require KMS.
|
|
|
|
target_msc wasn't passed from vblank event handler
to pageflip routine, due to a missing initalization.
Now fixed.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
|
|
There are issues with rendering to gart memory that haven't
been sorted out completely yet.
|
|
Works more like DCE4.0. With only two DIGx blocks
the routing is hardcoded based on link.
This fixes blank screen issues when changing crtc
routing due to incorrect crtc to dig mapping.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
|
|
Also kill unneeded vbe.h include from radeon_bios.c.
Signed-off-by: Matt Turner <mattst88@gmail.com>
|
|
xfixedtofloat macro was defined several times
|
|
We need to implement a texture lookup with perspective
divide for non-affine transforms. For now just fallback.
Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=31799
although it appears either EXA or the xserver gets this
wrong too.
|
|
When a drawable is page-flipped on multiple crtc's (fullscreen
drawable on mirror-mode or multi-head x-screen), only one pageflip
event is finally delivered, after the last participating crtc signals
flip completion, this to avoid visual corruption.
Old code returned vblank count and timestamps of flip completion
of this last crtc, instead of the values of the "master crtc", the
one that was used for initially scheduling/triggering the pagflip
via vblank events. (master = radeon_dri2_drawable_crtc(drawable))
This patch makes sure that the pageflip completion values of the
"master" crtc are returned, otherwise client applications will
get confused by the random (msc, ust) values returned by whichever
crtc was the last to complete its flip. Without this, the returned
values change randomly and jump forward and backward in time and
count.
The patch also implements a consistency check on returned vblank
count values of pageflip completion. Impossible values are detected,
a x-warning is logged and returned (msc,ust) values are marked invalid,
so clients could perform error handling. Such a warning would indicate
bugs in the pageflip completion routine of future kms drivers or the
ddx to aid driver debugging.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
|
|
A new optional kms driver option "SwapbuffersWait" is defined
for xorg.conf, which defaults to "on". If "on", DRI2 bufferswaps
will be synchronized to vsync, otherwise not.
This currently only affects copy-swaps, not pageflipped swaps.
It also requires a swap_interval setting of zero by the OpenGL
client.
Ideally, we'd provide a way for dri2 to pass the current swap
interval to the ddx so we could change this dynamically.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
|
|
requires radeon drm 2.8.0 or higher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
|
|
Use UTS/DFS to tile/untile as appropriate for sw access.
Also enables pageflipping with tiling enabled.
|