summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon/radeon_screen.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-06r600c: add support for NI asicsAlex Deucher1-0/+48
2010-11-22r600c: add Ontario Fusion APU supportAlex Deucher1-0/+8
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-17r600c/evergreen: texture align is group_bytes just like 6xx/7xxAlex Deucher1-4/+12
Default group bytes to 512 on evergreen. Don't query tiling config yet for evergreen, the current info returned is not adequate for evergreen (no way to get bank info).
2010-11-08radeon: Implement __DRI_IMAGE and EGL_MESA_image_drmJohann Rudloff1-0/+185
2010-11-08r600c: properly align mipmaps to group sizeAlex Deucher1-1/+4
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31400
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg1-1/+1
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg1-4/+4
2010-08-20evergreen : initial support driver code.richard1-1/+56
2010-08-05r600c: tiling require drm 2.6.0, not 2.5.0Alex Deucher1-1/+1
2010-08-05r600: add support for getting the tiling config via drm ioctl (v2)Alex Deucher1-0/+57
Needed for the the 2D tiling span functions. v2: rebase on new kernel, mesa changes Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-08-02radeon: Add DRI2 flush extension support, so we synchronize properly.Mario Kleiner1-0/+17
When a DRI2 swap buffer is pending we need to make sure we have the flush extension so radeon doesn't resume rendering to or reading from the not yet blitted front buffer. This fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-08-02Revert "radeon: Add DRI2 flush extension to so we synchronize properly."Jerome Glisse1-17/+0
This reverts commit 8446f257b3e3ca4a3eb2c79bc357e46343e04e87.
2010-08-02radeon: Add DRI2 flush extension to so we synchronize properly.Mario Kleiner1-0/+17
When DRI2 swap buffer is pending (copy buffer not pageflipping) we need to make sure we have the flush extension so radeon doesn't resume rendering on the not yet blitted front buffer. Modified version of Jerome's patch to add flush extension in the correct place. This prepares a possible fix for: https://bugs.freedesktop.org/show_bug.cgi?id=28341 https://bugs.freedesktop.org/show_bug.cgi?id=28410 Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
2010-07-20radeon: Remove unnecessary header.Vinson Lee1-1/+0
2010-07-19glx: Remove support for MESA_swap_frame_usageKristian Høgsberg1-2/+0
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
2010-07-19glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg1-12/+0
Only r200 implemented it.
2010-07-15radeon: allow driconf vblank settings with dri2Alex Deucher1-0/+1
fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28771 NOTE: This is a candidate for the 7.8 branch.
2010-04-23Merge branch '7.8'Michel Dänzer1-0/+2
2010-04-22radeon: 9800 SE has only one quadpipeTormod Volden1-0/+2
Although these cards have 2 pipelines on the silicon only the first passed the QA and the other should be disabled. http://www.digital-daily.com/video/ati-radeon9800se/ http://www.rojakpot.com/showarticle.aspx?artno=101&pgno=1 Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2010-04-22DRI2: add config query extensionJesse Barnes1-0/+2
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie1-0/+1
2010-04-09r600: add new r7xx pci idsAlex Deucher1-0/+3
2010-03-03r600: add new rs880 pci idAlex Deucher1-0/+1
2010-02-10dri: Fix copy-and-paste brain damage in previous commitIan Romanick1-3/+3
A number of places in 3cce4a1e10361458630511543b7a8a6438544775 use TRUE instead of GL_TRUE. This causes build failures in all of the drivers that I don't typically build. Win. Reported by sungami on IRC. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-02-10dri: Allow selective generation of accum. buffer configsIan Romanick1-4/+5
Modify the interface to driCreateConfigs allowing drivers to not expose configs with an accumuation buffer. All of the drivers calling function have been updated to pass true for the accumulation selector. This maintains the current behavior. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2010-02-03mesa: Factor out the fb initialization details from _mesa_new_framebuffer.Francisco Jerez1-1/+1
This should make things easier for drivers wanting to work with a "subclass" of gl_framebuffer. The complementary "_mesa_initialize_framebuffer" function is now called "_mesa_initialize_window_framebuffer" for the sake of symmetry. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-30radeon: Remove unnecessary headers.Vinson Lee1-2/+0
2010-01-04Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg1-0/+7
This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
2010-01-04Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg1-13/+13
As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
2009-11-17radeon: FBO fixes for big endian.Michel Dänzer1-3/+3
2009-11-17radeon: rn50's have no 3D engine so don't try and init 3D driver.Dave Airlie1-2/+4
2009-10-28Merge branch 'texformat-rework'Brian Paul1-8/+11
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-23mesa: Enable remap table in core.Chia-I Wu1-54/+0
This enables the remap table in core. driInitExtensions is adapted to use the remap table. All uses of extension_helper.h are replaced by remap_helper.h. The chicken-egg problem of the DRI drivers is also solved. It is now also possible to pass NULL extensions to driInitExtensions. It will cause driInitExtensions to map all known functions. This functionality is used by software drivers and EGL_i915. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-22radeon: simplify radeon_create_renderbuffer()Brian Paul1-8/+11
2009-09-16radeon: cleanup compile defines mess.Dave Airlie1-31/+31
I inherited this and really it stayed around far too long, make it nice and simple.
2009-09-03radeon/dri2: add gl20 bits for r300/r600 just like dri1 doesDave Airlie1-0/+2
2009-08-31r100: Use shared debug code.Pauli Nieminen1-30/+3
Converted r100 to use shared debug code with sed and fast compile check. New code has compability layer so old debugging code doesn't have to be changed all immidiatly.
2009-08-31r600: add missing r7xx pci idAlex Deucher1-0/+1
2009-08-25radeon: Fix all compiler warnings.Pauli Nieminen1-24/+5
2009-08-24r300: add support for getting Z pipe info from drmAlex Deucher1-0/+18
Needed for occulsion queries on rv530 chips Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-08-22r600: add support for RS880Alex Deucher1-0/+8
2009-08-20r600: split state emit into block specific functionsAlex Deucher1-1/+1
We probably want to go finer grained eventually, but this is a good start.
2009-08-15radeon: add flag for drm OQ supportMaciej Cencora1-5/+7
2009-08-12r600: clean up Create/DestroyContextAlex Deucher1-5/+3
2009-08-12r200: Prevent TexGenMatrix from leaking when destroying r200 context.Pauli Nieminen1-5/+5
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-03r600: add some new r7xx pci idsAlex Deucher1-0/+5
2009-08-03r600: add some missing pci idsAlex Deucher1-0/+2
2009-07-27r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle1-1/+3
This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSETAlex Deucher1-1/+1
noticed by vehemens on IRC.
2009-07-20Merge branch 'mesa_7_5_branch'Michel Dänzer1-2/+2