Commit Graph

2018 Commits

Author SHA1 Message Date
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
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
Olivier Fourdan 9ec36e0c8b Fix DPMS off in the presence of the pipe A quirk.
Still turn off the VGA plane, and also handle the DRI path at the end.
2008-08-11 12:07:32 -04:00
Olivier Fourdan 445c2e9ef8 Apply pipe A quirk to 845 as well. 2008-08-11 11:30:51 -04:00
Zhenyu Wang d592eabc80 Fix possible spurious interrupts in hotplug detect on 4 series chip 2008-08-11 15:16:44 +08:00
Zhenyu Wang d0018a9606 Disable display clock gating for 4 series chips 2008-08-11 15:16:09 +08:00
Eric Anholt fe90c0522f Set lvds_ddc_mode before use to avoid a segfault on mac mini. 2008-08-08 16:35:25 -07:00
Eric Anholt 91e7b93c12 intel_idle: Instead if #if 0, add an ignore flag for unreliable INSTDONE bits.
This lets us produce a decent total value, and still show the unreliable bits
in case they aren't on your platform.
2008-08-07 11:07:12 -07:00
Jesse Barnes f9504eff31 Merge branch 'drm-gem' 2008-08-06 12:40:47 -07:00
Jesse Barnes 5c9a62a29f Revert "Switch to using a buffer object for the vertex buffer"
This reverts commit 1abf4d3a7a.

Conflicts:

	src/i965_render.c - flushing was removed, keep it that way
2008-08-06 12:39:03 -07:00
Zhenyu Wang f91134795b Fix SDVO HDMI encoding detect (#16920)
Check return value of get supported encode command and current
encoding mode, which could be DVI or HDMI.
2008-08-06 16:19:29 +08:00
Keith Packard fc3e287e6b [uxa] Remove unused pixmap size limits.
All size-related rendering limits should be managed by the driver in the
pixmap_is_offscreen call. There's no need for uxa to even know these values.
2008-08-05 22:50:01 -07:00
Keith Packard 68f0872db6 [uxa] Check xalloc returns and deal with failure
Failing xalloc in a rendering function means just dropping the drawing on
the floor (that's what we've always done).
2008-08-05 22:36:03 -07:00
Keith Packard 8f10bfb127 Use EXA by default instead of UXA until we have GTT mapping 2008-08-05 22:34:24 -07:00
Keith Packard b2d058d80c Rename uxa using _ instead of caps 2008-08-05 15:41:52 -07:00
Keith Packard fc4d9c55a7 Change PrepareAccess to take access mode rather than index 2008-08-05 15:41:51 -07:00
Keith Packard c155bb3cb1 Add batch flush in i830_uxa_prepare_access 2008-08-05 15:41:51 -07:00
Keith Packard 6670671855 Add throttling 2008-08-05 15:41:51 -07:00
Keith Packard 12df8f40d2 Use dri_bo for all object allocations, including pixmaps under uxa 2008-08-05 15:40:14 -07:00
Keith Packard 4cc20b7f6e Don't call sync on prepare_access -- just let the driver deal with it.
Let the driver do whatever sync is necessary from the prepare_access hook
rather than forcing a full sync.
2008-08-05 15:29:50 -07:00
Keith Packard b0b0998b5d Make EXA functions work for UXA as well
EXA and UXA have the same acceleration interface, but UXA doesn't provide
pixmap stride information as it doesn't manage pixmaps. Move all of that
into the driver structure so that the acceleration functions needn't
reference the EXA structure.
2008-08-05 15:29:50 -07:00
Keith Packard 59774e9aca Add UXA - the unified memory acceleration architecture.
This eliminates the cost of EXA migration management while providing full
pixmap allocation control to the driver. The goal is to make something
useful for UMA drivers.
2008-08-05 15:29:50 -07:00
Jesse Barnes a21d4794b6 Reorganize VBIOS code
Make VBT parsing happen at driver init time rather than in each output init
function, to save time and better separate VBIOS code into i830_bios.[ch].  The
changes end up touching the output files due to field name changes, and allow
us to reorder & simplify our LFP mode detection code.
2008-08-05 13:37:38 -07:00
Jesse Barnes c2f0df4dc9 Merge branch 'drm-gem' of ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel into drm-gem 2008-08-05 13:03:46 -07:00
Jesse Barnes 4f1f308542 Merge branch 'master' into drm-gem
Conflicts:

	src/i830_driver.c
2008-08-05 13:02:47 -07:00
Julien Cristau 1a59cc6b9a Fix up the HP Pavilion ze4944ea quirk
The chip is 855GM, not GM45.
2008-08-04 12:18:12 +02:00
Alan Coopersmith 27e9506fda Man page typo fixes 2008-07-31 20:02:21 -07:00
Jesse Barnes da2eb83fb9 Update man page
Add example dual head config, add info on bug reporting.
2008-07-31 19:21:36 -07:00
Jesse Barnes 2aaa207db2 Merge branch 'master' of ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
Conflicts:

	src/i830_display.c
2008-07-31 13:10:19 -07:00
Jesse Barnes 2049ba211e Update DSPARB while planes are still off
This avoids the flickering people reported in the 2.4.0 release.
2008-07-31 13:07:20 -07:00
Carl Worth 750bd0bde0 Call DRM_I915_GEM_THROTTLE from I830BlockHandler
This prevents the CPU from ridiculously outrunning the GPU.
2008-07-31 11:14:25 -07:00
Carl Worth a893f176dd Add call to intel_bufmgr_gem_enable_reuse
This instructs GEM to reuse buffer objects and improves the
performance of my favorite 'x11perf -aa10text' from about
169k to about 188k glyphs/sec.
2008-07-31 11:14:25 -07:00
Carl Worth b3c1a14867 Eliminate unnecessary flush from i965_composite
This improves 'x11perf -aa10text' performance from ~144k to ~169k
2008-07-31 11:14:25 -07:00
Carl Worth 1abf4d3a7a Switch to using a buffer object for the vertex buffer 2008-07-31 11:14:25 -07:00
Carl Worth e5fab0b768 Add OUT_RELOC macro and backing intel_batch_emit_reloc function 2008-07-31 11:14:25 -07:00
Zhenyu Wang 76eb8e6f1f Fix SDVO reg definition
Remove wrong set tv resolution command, adding HDMI regs in dump.
2008-07-31 16:59:43 +08:00
Zhenyu Wang 77ed3d7600 Don't program dsparb on new Intel chip
On new chip, DSPARB is controlled by hardware only.
2008-07-31 13:13:45 +08:00
Eric Anholt e9e6b47385 intel-gem: Use new getparam to detect kernel GEM support. 2008-07-30 14:15:57 -07:00
Tomas Carnecky 42fb06f3f1 Reorder visuals reported by the intel driver
The root window visual can not be changed. Neither at runtime nor
through the configuration file. The xserver simply selects the first one
that matches the class (usually TrueColor). I need a root window visual
with stencil buffer because my compiz plugin uses the it for some
operations. This patch reorders the visuals that the 3D driver reports
and puts the one with stencil (and depth) bits as first.
2008-07-30 11:29:13 -07:00
Julien Cristau 1e90c82161 Link with -lm for sin/cos 2008-07-27 12:07:21 +02:00
Eric Anholt d77d42e543 intel-gem: Give a better error message if the kernel rejects the tiling mode. 2008-07-26 16:10:05 -07:00
Zhenyu Wang 6ac352f146 shut up gcc warning 2008-07-23 15:10:07 +08:00
Zhenyu Wang 075cf7fce5 Fix distcheck for clean doltcompile 2008-07-23 15:07:48 +08:00
Zhenyu Wang 29d982c6bf Fix HDMI output number
Output 33 is confusing.
2008-07-23 11:16:14 +08:00