Zhenyu Wang
f9c625e1e5
Disable render standby
...
Render standby is known to cause possible hang issue on some
mobile chips, so always disable it.
2008-09-11 15:35:27 +08:00
Eric Anholt
58a3817305
Track move of exec to bufmgr, and restoration of emit/wait funcs for non-drm.
2008-09-09 19:18:10 -07:00
Eric Anholt
f367334c63
Track the move of irq emit/wait to fake bufmgr.
2008-09-09 19:18:10 -07:00
Eric Anholt
0b4f7b6303
Track move of bufmgr functions to libdrm_intel.
2008-09-09 19:18:10 -07:00
Eric Anholt
0f804bfa1e
Bug #17446 : Don't try to manage IRQs in GEM mode.
...
The kernel told us that it was already doing so, resulting in failure.
2008-09-09 19:17:05 -07:00
Eric Anholt
da63b5adec
Add some MCHBAR registers for debugging tile swizzling issues.
2008-09-09 19:07:53 -07:00
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
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
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
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
1c224f72d5
Fix UXA build for distcheck
...
Was missing proper path info in CFLAGS.
2008-08-25 16:59:03 -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
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
Zhenyu Wang
ed7269e0a3
Always check and free driver private in LVDS destroy
2008-08-15 10:10:43 +08:00
Zhenyu Wang
f4cb9a135d
Make skip_panel_detect clear for its meaning
2008-08-15 10:02:44 +08:00
Jesse Barnes
22918f62c8
Fix pipe A force quirk
...
Last commit introduced a logic buglet, we went from (foo & BLAH) -> (!foo &
BLAH) rather than !(foo & BLAH), so fix it up to make my laptop work again.
2008-08-14 16:02:37 -07:00
Jesse Barnes
c1687f9ca9
Map/unmap render state only when bo is available
...
Otherwise just use the GTT address.
2008-08-14 15:48:02 -07:00
Jesse Barnes
380c80712f
Fixup AccelMethod kernel mode setting code
...
Allow UXA or EXA in the kernel mode setting case, defaulting to EXA.
2008-08-14 15:39:57 -07:00
Jesse Barnes
4475dfb541
Use pwrite for cursor updates
...
Don't open code map/memcpy/unmap, let libdrm do that for us if necessary.
2008-08-14 15:38:07 -07:00
Jesse Barnes
cb217d4bfd
Make EXA & UXA share bo getting function
...
Needed for proper acceleration & batch buffer handling.
2008-08-13 16:55:39 -07:00
Jesse Barnes
1ab7239b73
Map gen4 render state buffer before initializing
2008-08-12 18:16:37 -07:00