summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-04radeon: add new pci idsAlex Deucher
2010-08-02r6xx/r7xx: move syrface sync emit to the functions that emit surface infoAlex Deucher
reduces code duplication.
2010-08-02EXA: move more common helpers to exa_sharedAlex Deucher
2010-08-02remove unused reg headers from radeon_exa_shared.cAlex Deucher
2010-08-02r6xx/r7xx: set VGT_MAX_VTX_INDX to a larger valueAlex Deucher
2010-08-02fix make distcheckDave Airlie
2010-08-01radeon/r600: restructure exa + vbo to provide more sharingDave Airlie
This is a precursor for r300/500 vbo support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-07-30r6xx/r7xx: unify composite mask and non-mask pixel shaderAlex Deucher
2010-07-30r6xx/r7xx: clean up composite vertex shaderAlex Deucher
keep CF, ALU, Fetch instructions in separate groups
2010-07-28The local copy of the modes code is no longer required.Gaetan Nadon
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>
2010-07-24config: add AM_PROG_CC_C_O for per-target compilation flagsGaetan Nadon
Per-target compilation flags (theatre200_drv_la_CFLAGS) are required when multiple targets which require different compiler flags, are build in the same makefile. Automake issues a command with -c and -o flags which not all compilers support. The object fles are prefixed with theatre200_drv_la. The macro AM_PROG_CC_C_O must then be used to provide this feature on compilers that do not have it. If not, a warning is issued at make time. This macros checks for compiler support and if missing, uses a "compile" script it generates in the package root directory. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: add comments for main statementsGaetan Nadon
2010-07-21config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILESGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21r6xx/r7xx: group op variable stateAlex Deucher
Group the op variable state into one emit block, re-order to reduce dwords emitted.
2010-07-21config: complete AC_INIT m4 quotingGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-21config: remove unrequired AC_SUBST for LIBDRM and LIBUDEVGaetan Nadon
These macros are called by the PKG_CHECK_MODULES macro. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_SUBST([DRI_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_SUBST([XORG_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove unrequired AC_HEADER_STDCGaetan Nadon
Autoconf says: "This macro is obsolescent, as current systems have conforming header files. New programs need not use this macro". Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-07-20config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages.
2010-07-15kms: don't call cursor helper if using software cursorJerome Glisse
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>
2010-07-07fix build on non-kmsDave Airlie
2010-07-07configure.ac: bump version post releaseDave Airlie
2010-07-07set version for releasexf86-video-ati-6.13.1Dave Airlie
2010-06-30remove rv100 quirkAlex Deucher
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>
2010-06-29Remove HDP_SOFT_RESET function, there is no need to reset HDP block.Cooper Yuan
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.
2010-06-24r6xx shader: use ADDR() for CF_DWORD0Alex Deucher
no change in functionality
2010-06-21r6xx/r7xx: fix ums cmd buffer leakWolfram
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=27957
2010-06-21r6xx/r7xx: fix miscount in state emitAlex Deucher
2010-06-21r6xx/r7xx accel: add back some additional default stateAlex Deucher
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>
2010-06-21DRI2: Fix up confusion between windows and pixmaps.Michel Dänzer
Fixes crashes with xserver master, where looking up a pixmap private on a window no longer happens to work.
2010-06-21Convert x(c)alloc/xfree to m/calloc/free.Michel Dänzer
Fixes deprecation warnings with xserver master and should also work with older xservers.
2010-06-21radeon: fix support for 1.9 server master.Dave Airlie
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>
2010-06-16r6xx/r7xx: macro safety fixesAlex Deucher
2010-06-16radeon: fix depth 16 with umsAlex Deucher
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>
2010-06-16r3xx-r5xx Xv: disable bicubic filtering by defaultAlex Deucher
- 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>
2010-06-15r6xx/r7xx: remove unnecessary state emitAlex Deucher
No need to emit state that doesn't impact that we use for EXA/Xv. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-06-15r6xx/r7xx: reorg default and clipping state emitAlex Deucher
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>
2010-06-15r6xx/r7xx accel: remove some duplicate emits and minor clean upAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-06-12COPYING: replace stub file with actual copyright noticesGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-11radeon: fixup last fix, use CURSOR_WIDTH not RADEON_CURSOR_WIDTH.Dave Airlie
2010-06-11radeon: set proper stride for cursor in tiling flags.Dave Airlie
definitely incorrect, but hope it doesn't break anything. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-11drmmode: fix big endian issue with properties.Dave Airlie
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>
2010-06-08radeon: fix rn50 cloning with kmsAlex Deucher
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>
2010-06-08xv: fix Xv on M6/RV100 under KMS.Dave Airlie
pRADEONEnt->HasCRTC2 wasn't setup under KMS. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-03evergreen: explicitly disable accel on evergreenAlex Deucher
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>