Commit Graph

1619 Commits

Author SHA1 Message Date
Zhenyu Wang 666e01bd42 xvmc: add info in intel.man 2007-12-26 09:51:09 +08:00
Zhenyu Wang e75d0c20e3 xvmc: make XvMC default on 2007-12-26 09:37:34 +08:00
Zhenyu Wang ed9ff6f30f xvmc: consolidate put surface interfaces
Make surface list track like context list, and move
generic PutSurface code out of i915. So MC driver just
needs to fill specific the command params, and we can
get one single type of intel xvmc command to issue,
ddx driver's put_image_size got removed.

Fix last commit with missing XvMCContext assignment.

Fix priv_data free with apropriate X11 XFree.
2007-12-25 08:32:47 +08:00
Zhenyu Wang f0ced5edae xvmc: store XvMCContext pointer instead of context_id in internal ctx list 2007-12-24 10:53:57 +08:00
Zhenyu Wang 216ad73987 xvmc: add disable xvmc build support
Move xvmc source files under XVMC config
2007-12-20 13:39:32 +08:00
Zhenyu Wang a811ca3065 xvmc: handle surface create/destory in generic code 2007-12-20 13:08:07 +08:00
Zhenyu Wang 5f961f2831 xvmc: move dri context handling to generic code
Use XvMCContext's context_id for dri context handling instead
of driver private id. Remove unnecessary field for i915 private
structs.
2007-12-20 12:51:06 +08:00
Zhenyu Wang 73827e7835 Merge branch 'master' into xvmc 2007-12-19 22:47:02 +08:00
Jesse Barnes f69b48fe24 Unconditionally restore pipe configuration
This is a partial fix for #13196, which covers both leaving pipes disabled at
server exit time and problems with restoring the pipe configuration on certain
chipsets.  It restores the pipe configuration unconditionally (previously we
made sure the PLL was running and we weren't in VGA mode) but also adds some
additional PLL settle time to the PLL register write paths.
2007-12-18 18:10:33 -08:00
Michel Dänzer 4757a218d7 Always set pPriv->buf to NULL after freeing the memory it pointed to.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13108 .
2007-12-18 19:37:46 +01:00
Adam Jackson 5cbb411011 i830_sdvo_mode_valid: Fix return values to match what we actually check. 2007-12-13 15:10:43 -05:00
Jesse Barnes e03bc385e9 Add cscope files to .gitignore 2007-12-11 13:28:01 -08:00
Jesse Barnes e720ae4476 CRT hotplug detection improvements
Patch from Hong Liu.

Fixup CRT detection by making sure the pipe is enabled before CRT
detection actually occurs.  Fixes bugs Hong was seeing on G35 and other
machines.
2007-12-10 13:00:14 -08:00
Dave Airlie d9df93578b ivch: fails on address mismatch as I seem to get this on my 865 system 2007-12-10 16:41:44 +10:00
Zhenyu Wang cd6f83519c Fix tv quirk for Dell Latitude X1
which is actually 915GM, reported by
Andreas Schildbach <andreas@schildbach.de>
2007-12-10 05:51:32 +08:00
Zhenyu Wang 13ec9c8141 exa: fix rendering issue on some 855GM laptops
This trys to initialize more 3d states on i830 like mesa
code, which fixes exa rendering failure for some 855GM users.
2007-12-09 00:52:13 +08:00
Jesse Barnes e2d9fd6425 Describe output properties in more detail
Add descriptions for LVDS and TV output properties and also mention the EDID
property a new output configuration section.
2007-12-07 16:30:46 -08:00
Jesse Barnes 6f92200db3 Fix backlight setting save/restore
We need to save the current backlight value at LVDS init time, as well as when
we change the DPMS setting.  Also, since 0 is a valid backlight value, don't
set the backlight value to maximum at startup if the value happens to be zero.

These fixes should make the backlight user experience much more consistent and
hopefully less frustrating.
2007-12-05 08:10:17 -08:00
Jesse Barnes 4c1fa52355 Add BCM_ to backlight control method enums
Avoids polluting the global namespace with such generic terms.
2007-12-04 18:27:24 -08:00
Jesse Barnes 30d74f1b1f Use "LEGACY" backlight method if backlight control is such
This may regress the user experience a bit (fewer backlight levels) on machines
where both the LBB and native registers work, but it's better that it work for
everyone than work extra well for some and not at all for others.
2007-12-04 18:23:44 -08:00
Eric Anholt 0e554e6dd4 Remove extra have_libpciaccess=no that broke tools build with old servers. 2007-12-04 10:40:17 -08:00
Zhenyu Wang 3cf8627176 xvmc: add "XvMC" option, default is false. 2007-11-29 23:12:16 +08:00
Zhenyu Wang 6da4b7a80c xvmc: move batch buffer init/fini code into generic 2007-11-29 22:56:13 +08:00
Zhenyu Wang 75ef3e669d Replace ALLOCATE_LOCAL/DEALLOCATE_LOCAL with xalloc/xfree 2007-11-28 22:13:55 +08:00
Zhenyu Wang df47b7ba57 Merge branch 'master' into xvmc 2007-11-27 01:13:43 +08:00
Alan Hourihane 7f9cefffbf vendor is CARD8 2007-11-16 15:56:08 +00:00
Zhenyu Wang df718a77c8 xvmc: add xvmc decoder type string 2007-11-16 16:08:06 +08:00
Zhenyu Wang a03a758db0 xvmc: move some i915 context destroy code to generic function 2007-11-16 15:49:10 +08:00
Zhenyu Wang 7bfbcb4dc7 xvmc: clean batch buffer finish 2007-11-16 15:43:04 +08:00
Zhenyu Wang a6e8f4ef04 xvmc: remove i915 drm map type 2007-11-16 13:51:44 +08:00
Jesse Barnes 4a2b0f3403 Fix typo in 1920x1080 resolution entry 2007-11-15 18:36:54 -08:00
Zhenyu Wang 6c68fcc939 xvmc: more i915 xvmc cleanups 2007-11-16 10:04:46 +08:00
Jesse Barnes 04b60b6d34 Bump version to 2.2.0 2007-11-15 11:49:53 -08:00
Jesse Barnes 6eecef4fed Adjust default TV out paramaters
According to several users, a default brightness of 0 results in much better TV
output.  Improved control of these parameters will be provided by Randr1.3,
which will standardize several output properties across various chips.
2007-11-15 10:10:59 -08:00
Jesse Barnes 7552d80e36 Add 1920x1080 mode to TV out
Allows users to use 1080p modes on TV out, see bug #13034.
2007-11-15 10:07:34 -08:00
Zhenyu Wang e56c166ceb remove unnecessary i830_reg.h includes
i830_reg.h only contains 3d engine cmds for 8XX chips.
2007-11-15 18:37:57 +08:00
Zhenyu Wang 6f3de19159 Move fb compression reg definition into i810_reg.h
where we put MMIO control reg in, and shared with intel_reg_dump
program.
2007-11-15 18:33:27 +08:00
Zhenyu Wang 1ff97991a4 xvmc: intel_xvmc.c cleanups 2007-11-15 17:01:31 +08:00
Zhenyu Wang 1cfdf19288 xvmc: remove unused SAREAPTR macro 2007-11-15 16:38:21 +08:00
Zhenyu Wang d9ea2fbdcc xvmc: i915 rename files 2007-11-15 15:25:35 +08:00
Zhenyu Wang 06c0579df8 xvmc: some code clean up 2007-11-15 15:01:56 +08:00
Zhenyu Wang 4983e34013 xvmc: move locking code into generic place 2007-11-15 13:56:24 +08:00
Zhenyu Wang bcd656c8df xvmc: oops, should first map batch buffer before init 2007-11-15 11:18:38 +08:00
Zhenyu Wang 0464af581b Merge branch 'master' into xvmc 2007-11-15 11:05:44 +08:00
Zhenyu Wang 22565198b3 Merge branch 'master' into xvmc 2007-11-15 18:53:22 +08:00
Jesse Barnes e64f492969 Backlight fixes
Open the "actual_brightness" file as read only, since we only read from it.
Also set an initial backlight_duty_cycle at init time so we don't set the
brightness to 0 at startup.
2007-11-14 16:44:34 -08:00
Jesse Barnes 53e3693ef1 Disable FBC by default on 965GM
Several people have reported that they see frequent FBC related display
corruption on 965GM, so disable it for now.  Users wanting to enable it can use
the driver option "Framebuffercompression" to override the default.
2007-11-14 16:24:56 -08:00
Jesse Barnes b2726899bc Add more FBC regs
Needed for the new debug code
2007-11-14 15:49:41 -08:00
Jesse Barnes b7bc694c6b Fix kernel get_brightness function
We need to look at "actual_brightness" rather than "brightness".  The former
contains the brightness value the kernel driver has actually set, while the
latter is merely what the user requested.
2007-11-14 15:46:57 -08:00
Jesse Barnes 9ee96ed02a Correct FBC debug message
To be consistent, it should say 'plane' rather than 'pipe'.
2007-11-14 15:44:56 -08:00