Commit Graph

2728 Commits

Author SHA1 Message Date
Dave Airlie c7aaf0118b mode: fix missing comma 2008-09-09 18:13:56 +10:00
Daniel Stone b9ef0ed7d7 i830: Fix timer leak
TimerCancel just cancels the timer: it still leaves the TimerRec intact and
unfreed.
2008-09-05 05:02:08 +03:00
Eric Anholt fba9b5aff4 DRI2: Move pixmap pitch alignment for use with depth to pixmap create.
The previous location for pitch fixup would have only worked when depth was
used with the backbuffer, and no page flipping or other adventures occurred.
2008-09-04 16:26:44 +01:00
Eric Anholt 71ec627c3a DRI2: Emit the MI_FLUSH before flushing batch in swapbuffers.
Should fix issues with swapbuffers flushing to front buffer on 965.
2008-09-04 16:26:41 +01:00
Eric Anholt daaefd173b UXA: Re-enable non-965 render. 2008-09-03 08:31:26 -07:00
Eric Anholt 32bb5fc7db Don't set up sarea or drm mappings in DRI2 mode. 2008-09-03 16:19:03 +01:00
Kristian Høgsberg 4a5e311381 Fix broken test for DRI1 in DRI2 conversion. 2008-09-03 16:18:45 +01:00
Stefan Dirsch fca7a4e9a5 Pipe A force quirk for Toshiba Satellite A30. 2008-09-03 15:32:11 +02:00
Fabio 57ad9cc689 Man page patch to clarify meaning of VideoRam option with i810/i815 2008-09-01 13:33:50 +08:00
Kristian Høgsberg fd6a9ca5b5 Add DRI2 support. 2008-08-29 14:31:02 -04:00
Jesse Barnes a1c802e4a0 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel 2008-08-29 09:23:35 -07:00
Jesse Barnes 3733a1b54c Fix build when using kernel DRM headers
Unfortunate mismatch between kernel and DRM master headers.
Kernel:
typedef struct _drm_i915_batchbuffer { ... } drm_i915_batchbuffer_t;
DRM master:
typedef struct drm_i915_batchbuffer { ... } drm_i915_batchbuffer_t;

so use the typedef rather than the morphing structure name.
2008-08-29 09:12:05 -07:00
Zou Nan hai bd7ee7fcf5 [965-xvmc] There is some issue with uv half pixel, remove it till fix 2008-08-29 11:57:46 +08:00
Zou Nan hai 973a5fb256 [965-xvmc] some shader optimize 2008-08-29 10:59:17 +08:00
Zou Nan hai e7379d1c48 [965-xvmc] half-pixel bug fix 2008-08-28 09:49:57 +08:00
Zou Nan hai be49ae6bd6 [965-xvmc] add missing g4a file 2008-08-27 11:29:15 +08:00
Zou Nan hai e813b139b7 [965-xvmc] support field prediction and dct type, optimize in GPU 2008-08-27 11:11:41 +08:00
Eamon Walsh 808b72f814 Change uxa private keys to integer variables.
Prepares for a devPrivates system that will store an index.
2008-08-26 22:34:05 -04:00
Eamon Walsh 62ce9e8f9c Remove unused exa_pixmap_key. 2008-08-26 22:23:06 -04:00
Robert Noland 087ade8e66 Fix typo in last commit 2008-08-26 16:35:07 -04:00
Robert Noland 6404ac178b Check for drm before calling modeset ioctl. 2008-08-26 15:10:52 -04:00
Zhenyu Wang c889198ab5 Fix X exit crash in NoAccel
NoAccel should still be needed for performance evaluation,
so don't crash me when exit.
2008-08-26 10:12:21 +08:00
Zhenyu Wang 0929a191ae Destroy bufmgr after allocation finish
Fixed X exit crash for me, allocation reset will
unreference bo which still requires bufmgr to be live.
2008-08-26 10:01:23 +08:00
Jesse Barnes 94a86fa51a Fix UXA build for distcheck
Was missing proper path info in CFLAGS.
2008-08-25 16:59:56 -07:00
Jesse Barnes 1c224f72d5 Fix UXA build for distcheck
Was missing proper path info in CFLAGS.
2008-08-25 16:59:03 -07:00
Jesse Barnes 09a235af0f Update version to 2.4.97 for first 2.5 test release 2008-08-25 16:38:17 -07:00
Jesse Barnes 8e3243b8e5 Update version to post-2.5 2008-08-25 16:37:34 -07:00
Jesse Barnes 7a5b090abc Hide kernel mode setting EXA code behind XF86DRM_MODE
Prevents compiler warnings in the non-kms case.
2008-08-21 09:40:57 -07:00
Jesse Barnes 4937b98981 Fix compiler warnings in VBIOS utils 2008-08-21 09:39:33 -07:00
Jesse Barnes 08326827fd Merge branch 'modesetting-gem' 2008-08-21 09:30:38 -07:00
Jesse Barnes 5af504166f Don't disable planes in i830_update_dsparb
We need to program DSPARB with only one plane enabled at most, and that's
guaranteed to be the case when we're called during mode set, so just assert
that case but otherwise leave the planes alone to avoid flicker on active
displays during output detection for example.

Fixes bug #17050.
2008-08-20 15:08:54 -07:00
Jesse Barnes 7b6f4d2221 Don't allocate a pipe for hotplug detection
It shouldn't be needed...
2008-08-20 14:40:29 -07:00
Jesse Barnes ba4a4b7887 Add more panel debugging info to register dump & vbios reader 2008-08-20 14:39:34 -07:00
Jesse Barnes 0de8ca3630 Merge branch 'master' into modesetting-gem
Conflicts:

	configure.ac
2008-08-20 12:11:00 -07:00
Julien Cristau 5eccb5ec7e Don't skip the checks for DRI headers with --enable-dri 2008-08-20 15:33:59 +08:00
Jesse Barnes 1baebabc3a Add swf_dumper to .gitignore 2008-08-19 16:02:55 -07:00
Jesse Barnes f26bcb9cb8 Merge branch 'master' into modesetting-gem
Conflicts:

	src/i830_driver.c
2008-08-19 15:53:18 -07:00
Jesse Barnes 67ab546252 Use GTT mapping for EXA PrepareAccess function
Makes software fallbacks *much* faster.
2008-08-19 15:46:52 -07:00
Jesse Barnes 547cf77480 Don't allocate EXA offscreen space if kernel mode setting is active
We'll use GEM alloc & free routines in that case.
2008-08-19 15:45:26 -07:00
Jesse Barnes 2ddd85f8ae Bail out if kernel mode setting is active but DRI fails 2008-08-19 15:41:41 -07:00
Jesse Barnes 646bbdc4b6 Add quirk for pre-915s with working PFIT regs
The regs are undocumented, but on some machines they work fine, so add this
quirk to indicate it.
2008-08-19 15:05:00 -07:00
Jesse Barnes 7a1cc48276 Add VBIOS software flags dumper program
Still need to actually print all the flags & test on various platforms, but at
least the bits are documented now.
2008-08-19 10:45:11 -07:00
Zou Nan hai 385dc85881 Fix from He Shuang(shuang.he@intel.com),
XvMCDestroyContext to check pointer valid
2008-08-19 16:27:12 +08:00
Zou Nan hai 3147fa775c Fix from He Shuang(shuang.he@intel.com),
XvMCDestroyContext to check pointer valid
2008-08-19 16:20:16 +08:00
Jesse Barnes 078a59dd48 Remove unused VBIOS flag defines
We just use the structure definitions now.
2008-08-18 12:53:33 -07:00
Jesse Barnes 7048141254 Pack bdb_general_definitions block
More correct & consistent with other definitions.
2008-08-18 12:51:31 -07:00
Zhenyu Wang 0e6759bb6a Fix reverted LVDS bios capability dword definition
Issue found by Peter Clifton.
2008-08-19 07:30:01 +08:00
Shaohua Li 76b5a7ff5c [PATCH] avoid duplicate mode set in lvds
xf86SetDesiredModes() already sets lvds to full mode. later when
xf86CrtcScreenInit() initialized randr12, i830_lvds_set_property will
recall xf86CrtcSetMode and set mode to full. This patch is to remove the
duplication. In my test, this can save about 0.2 - 0.4s x startup time.
2008-08-18 11:13:20 +08:00
Jesse Barnes b8ee31cd80 Remove last TTM bits
Makes it build again with drm#modesetting-gem.
2008-08-16 12:18:01 -07:00
Adam Jackson 6eb3e0f2f4 Don't touch pScrn->monitor->DDC directly. 2008-08-15 15:47:35 -04:00