summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-03-07Bug #10157: Fix cursor corruption on server regen.Eric Anholt
2007-03-07Add some additional checks when XAA is enabled.Alan Hourihane
2007-03-06Remove usage of 'shadow' module. Use xf86CrtcScreenInit.Keith Packard
With the new mode setting code, rotation is handled outside of the driver, so the old usage of the 'shadow' module is no longer needed. Code to initialize the crtc structures has been moved out of the driver and into the modes code.
2007-03-06Bug #9898: Fix a crash with NoAccel set.Eric Anholt
2007-03-06Remove leftover code that was disabling tiling after we set it up.Eric Anholt
2007-03-06Make the depth buffer X tiled instead of Y, and fix a Y tiling nit on 945.Eric Anholt
The previous code claimed to set the depth buffer up as Y tiled, but due to lack of implementation in SetFence, it ended up being X tiled. Actually setting the Y tiling flag in the new version broke the depth buffer, so just switch the depth buffer to X tiling, which appears to work fine.
2007-03-06Continue to allocate the legacy texture pool by default.Eric Anholt
This is a partial revert of 7358642e64ab6d13bc1dc1a44703ee66d715ff61 If we don't allocate it now, when the DRM version is too low there won't be any memory allocated and DRI will fail. Instead, waste the memory in the i915tex case for now, and leave fixing it right (check DRM version up front and decide which memory manager to set up) to later.
2007-03-06Fix build failure.Michel Dänzer
Not sure how I missed this before... Thanks to Todd Merrill for reporting.
2007-03-06Fix reduced DRI memory manager size.Michel Dänzer
pI830->mmSize is in kB.
2007-03-06Fix some conditionals related to triple buffering.Michel Dänzer
Guard code that dereferences pI830->third_buffer with tests for that instead of pI830->TripleBuffer. It could happen that we want to enable triple buffering but (temporarily) can't because the third buffer couldn't be allocated.
2007-03-06Unify allocation of back buffers.Michel Dänzer
2007-03-06Merge remote branch 'origin/master' into i830-pageflipMichel Dänzer
Conflicts: src/i830_display.c src/i830_driver.c
2007-03-05Move EnterVT mode setting code to xf86SetDesiredModes.Keith Packard
Make the application of crtc desiredModes generic code instead of per-driver by creating xf86SetDesiredModes from the code that was in EnterVT and calling it. Also, move the frame buffer clear until just before mode setting to make sure things are mapped correctly.
2007-03-06Merge branch 'master' of ↵Wang Zhenyu
git://proxy.ims.intel.com:9419/git/xorg/driver/xf86-video-intel
2007-03-06EXA: try to always alloc exa i965 state buffer in stolen memWang Zhenyu
I think this is a safe way to work around any possible chip error.
2007-03-05Merge branch 'modesetting'Keith Packard
2007-03-05Move single mode setting code to X server.Keith Packard
Code to drive the global configuration from a single mode setting operation (from RandR 1.1, XFree86-VidModeExtension or XFree86-DGA) has been included in the X server now, so remove it from this driver.
2007-03-05Fix 965GM SDVO by not setting fields in SDVO[BC] which have new meanings.Eric Anholt
2007-03-05Merge remote branch 'origin/master' into i830-pageflipMichel Dänzer
Conflicts: src/i830.h src/i830_dri.c src/i830_dri.h src/i830_driver.c src/i830_memory.c src/i830_xaa.c
2007-03-05Fix DRM memory manager initialization.Michel Dänzer
It takes the offset and size in pages, not bytes.
2007-03-05Merge branch 'modesetting' into crestlineEric Anholt
2007-03-05Fix handling of new vs. old texture pools.Michel Dänzer
Only one of them can be active.
2007-03-05Be more verbose when page flipping can't be enabled for various reasons.Michel Dänzer
2007-03-04Merge branch 'modesetting'Eric Anholt
Conflicts: configure.ac src/i830_driver.c src/i830_modes.c src/i830_video.c
2007-03-04Support new CRTC/Output prepare/commit hooks.Keith Packard
New hooks replace explicit invocation of DPMS functions to manage mode setting sequencing.
2007-03-04Fix a crash with XAA and DRI disabled after the allocation rework.Eric Anholt
2007-03-04Add a little BIOS dumper program.Eric Anholt
This isn't actually tested yet as libpciaccess doesn't do rom access on non-linux yet.
2007-03-04Shadow pixmaps use fixed offset of 0.Keith Packard
Shadow pixmap contents are copied from the main frame buffer and contain only the bits displayed by the crtc, not the whole frame buffer. The crtc origin is always interpreted by the shadow copying code, the frame buffer itself doesn't move.
2007-03-03Merge branch 'modesetting-origin' into modesettingKeith Packard
2007-03-03Update for Aaron's xserver changes.Keith Packard
Add xf86CrtcConfigFuncs to xf86CrtcConfigInit Add canGrow option to xf86InitialConfiguration
2007-03-03LVDS dither control moved from PFIT to LVDS register for CrestlineKeith Packard
The LVDS register now contains lots of new controls for dual-channel LVDS control along with dither enabling. The PFIT register has a lot fewer controls as a result.
2007-03-03Merge branch 'modesetting' into crestlineKeith Packard
2007-03-02Add a WIP UploadToScreen implementation. This almost displays right.Eric Anholt
2007-03-02Move EXA offscreen memory back after framebuffer to avoid fallbacks.Eric Anholt
Without this, the EXA code decides that the framebuffer is not in video memory because it's not located between the start of video memory and the end of EXA allocator memory. We should either have EXA let the driver decide if a pointer is in video memory, or add a new field for "end of video memory" (not just end of EXA offscreen allocation), but this fixes things for now.
2007-03-02Fix a crash when an ARGB cursor allocation had failed.Eric Anholt
2007-03-01Actually add the files for reg_dumper.Eric Anholt
2007-02-28Add a non-installed command line tool using libpciaccess to dump registers.Eric Anholt
This reuses the i830_debug.c code, so we can run that from the console or from the BIOS-based X server to debug some remaining issues.
2007-02-28Many fixes to mode_get, mode_set, clock limits, and register dumps on i855.Eric Anholt
This should fix a number of issues with i855s, particularly with integrated LVDS panels.
2007-02-28Update vblank pipe setup when setting a mode.Michel Dänzer
2007-02-28I830DRIClipNotify: Fix initialization of crtcBox[1].[xy]2.Michel Dänzer
2007-02-27Revert "EXA: enlarge 965 exa state buffer size"Wang Zhenyu
This reverts commit 1ac83f51ee46d65237eae1b5c767e106ac9e29bc. oops, current exa state + kernel program size + scratch space is actually ~36KB.
2007-02-27EXA: enlarge 965 exa state buffer sizeWang Zhenyu
Origin size seems break all render, be sure to assign enough mem. 80k works fine for me.
2007-02-27Fix typo when assign overlay reg mem pointerWang Zhenyu
2007-02-26Consolidate shared structure allocation to the start of ScreenInit.Eric Anholt
Previously, the structures would get allocated unnecessarily once, and wouldn't get reallocated in time at server regen.
2007-02-26Fix XV issues on 965 after the allocation reworkEric Anholt
2007-02-26Move the initial EnterVT to after we've set up acceleration.Eric Anholt
This fixes a crash with initial rotation and EXA due to EXA not being initialized in time for the shadow pixmap setup.
2007-02-26Bug #9604: Align the sizes of allocations to page increments as well.Eric Anholt
Without this, the 965 DRI driver fell over when pitch * height wasn't page-size aligned. Since the allocator only allocates at page-aligned offsets anyway this shouldn't hurt us at all.
2007-02-26Fix physical memory allocations, including description in log.Eric Anholt
2007-02-26Fix some texture memory allocation issues.Eric Anholt
2007-02-26Fix a crash in startup monitor detect.Eric Anholt