summaryrefslogtreecommitdiff
path: root/src/i830_video.c
AgeCommit message (Collapse)Author
2009-06-17Merge branch 'ulf' into dlfdebian-lenny-with-frc-patchesPaul Menzel
2009-06-17Some cosmetics.upstream-lenny-with-frc-patchesThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Merge branch 'ulf' into dlfPaul Menzel
2009-06-06Support for HDMI 1600x1200 50Hz interlaced resolution.Thomas Hilber
- now supports HDMI 1600x1200 50Hz interlaced resolution - adjustment control now operates at lower speed which is still fairly sufficient Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Some cosmetics and option to configure field/frame timing log output.Thomas Hilber
- field/frame timing log output now configurable per SF_Debug Xserver option - odd numbers will output a status line every second - even numbers will only spawn a line if a given value is exceeded either drift or by sync point or by both Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-06Improved field timing debug support.Thomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-02Add new scheduling option.Thomas Hilber
- new scheduling option added Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-02fast processors require additional delay of 32usecsThomas Hilber
- fast processors require additional delay of 32usecs where we wait for even field to pass - white space fixes/indentation Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-06-02[BUG FIX] delay until field update deadline must be delayed further by SHIFTVThomas Hilber
Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-05-31Rewrite for improved D945GSEJT support.Thomas Hilber
- the intel part of the patch did undergo a major rewrite for improved D945GSEJT support - full compatibility to prior intel hardware maintained - in the course of that the debug facility has been improved Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-05-31Include support for Intel D945GSEJT (Johnstown) and ASUS Eee PC 701 4G.Thomas Hilber
- support for Intel D945GSEJT (Johnstown) included - support for Asus Eee PC 701 included Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-05-31New options for xorg.conf and start with disconnected monitor.Thomas Hilber
- introduced new xorg.conf options for both intel and radeon FRC patches - FRC (aka sync_fields) switch (default on) - process priority (default 0) - FRC debug output (default off) - intel Xserver now starts even with disconnected monitor Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2009-05-31Add frame rate control.Thomas Hilber
- Full functionality of Radeon based original patch now ported to recent Intel graphics hardware. This includes support for i945G chipsets as found on EEE PCs and D945GCLF[2] boards. - Exploits some special features of i945G chipsets like vertical phase registers and fine tuning of vertical scaling. This enables us to compensate for interference effects observed when driving modern digital displays through a SCART interface. Signed-off-by: Thomas Hilber <sparkie@lowbyte.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
2008-07-27Add support for Intel 4 series chipsets.Zhenyu Wang
(cherry picked from commit 1cfe769c74d1a3a392bf1aaaf5c2dcc8273daf66) (cherry picked from commit 093f65fd04c38e6c1f19889074f9316749959c7a)
2008-05-14Only use FOURCC_XVMC when INTEL_XVMC is definedKeith Packard
The XVMC code uses a magic FOURCC code to signal frame updates, but that code is only defined when the XVMC code is used. (cherry picked from commit 18ef4158e5574bfc6621b268821532f13e261d13)
2008-05-14Skip copying on FOURCC_XVMC surfacesKeith Packard
(cherry picked from commit 6366e4de540c4713cbc8402c89516464bbdc35b9)
2008-05-07Overlay video doesn't require that the target pixmap be in video memory.Keith Packard
I830PutImage was checking to make sure the target pixmap resided in video memory, but this isn't necessary when using the overlay. Test (cherry picked from commit 1d467a8038946a37844795e8860be113d43219ac)
2008-04-12Single memcpy when pitches align on planar image transferKeith Packard
(cherry picked from commit d5a80e1e3ab5724d34b20f9ee6f830efd0f5b076)
2008-04-09Bug #15219: Fix default overlay CSC factors, and use BT709 if available.David Schleef
Using the updated factors even when BT709 conversion isn't available (non-965) should still give us better color reproduction. Tested on a 945GM, examining the +/-5% of black bars of videotestsrc. (cherry picked from commit af92f4f885c8eae2211d09080b2289aa5bab9ec1)
2008-03-28Disable overlay on new mobile chipsetZhenyu Wang
It's gone, really. (cherry picked from commit b1f358ba97473b792ec2b7ed5170152faebe7262)
2008-03-26More compile warning fixes.Paulo Cesar Pereira de Andrade
o Check for RANDR_GET_CRTC_INTERFACE before defining functions that are used only if it is defined. o Declare a variable before code, and rename it from ret to xvmc_status to better describe it. o if 0 some static functions not used. o Don't declare some unused variables. o Declare as static some functions that are used only in the file defining it. o Add a default/fallback return True to the Bool function src/xvmc/intel_batchbuffer.c:intelInitBatchBuffer(). o Ansify src/xvmc/xf86dri.c. o Add missing prototype to src/xvmc/xf86dri.h and follow pattern of other headers by adding "extern" before function prototype. (cherry picked from commit c13efdd3d6d3846078766814b57306a7519bce18)
2008-03-24Fix crash triggered by dpms low power mode with hardware overlay runningMaxim Levitsky
When overlay switch crtc, it ignores current crtc dpms mode which might lead to hang.
2008-03-18Merge branch 'master' into xvmcZhenyu Wang
2008-03-14Change OUT_RING and similar calls to OUT_BATCH for batchbuffer mergeEric Anholt
2008-03-13Merge branch 'master' into xvmcZhenyu Wang
2008-03-11Remove i830+ driver's use of CARD*/INT* types for great justice.Eric Anholt
Several uses are actually left, which are determined by the X Server interfaces we're implementing.
2008-03-11Add support for brightness control to i915 textured video output.Eric Anholt
2008-03-11Crack down on warnings.Kristian Høgsberg
Fix printf formatting warnings, wrap a couple of long lines, nuke unused variables, add missing #include <unistd.h>.
2008-03-11Merge branch 'master' into xvmcZhenyu Wang
Conflicts: man/intel.man src/i830_driver.c
2008-03-07Enable hardware overlay on 965Jesse Barnes
Based on Maxim Levitsky's patch for the same. Many thanks to Maxim for discovering that this features still works in recent hardware!
2008-02-25Fix overlay rotationZhenyu Wang
Track current covered crtc rotation in port's private, and fix overlay rotation transform to be against crtc mode coordinate.
2008-02-05Fix build warnings on 64 bitJesse Barnes
Use PRIx32 for printing CARD32 types, and PRIx64 for portably printing uint64_t types. Requires the addition of a new include, inttypes.h, to work. Hope C99 is ok with everybody...
2007-12-25xvmc: consolidate put surface interfacesZhenyu Wang
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-20xvmc: add disable xvmc build supportZhenyu Wang
Move xvmc source files under XVMC config
2007-12-19Merge branch 'master' into xvmcZhenyu Wang
2007-12-18Always set pPriv->buf to NULL after freeing the memory it pointed to.Michel Dänzer
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13108 .
2007-11-15xvmc: some code clean upZhenyu Wang
2007-11-09Merge branch 'master' into xvmcZhenyu Wang
2007-11-08Clear current video crtc on DPMS offJesse Barnes
When calling the video DPMS off function, make sure we zero out the current crtc so that it will be properly re-set up next time video is turned on. Fix from Peter Clifton with changes by Keith Packard.
2007-11-08Fix overlay destination clampingJesse Barnes
The overlay width & height scaling clamp check was reversed. Fix that and update the comment.
2007-10-23Merge branch 'master' into xvmcZhenyu Wang
2007-10-17intel: make block handler hook happen no matter what video is in useDave Airlie
This shouldn't make a difference now, but for upcoming EXA/batch changes it will be more useful
2007-10-11Fix potential use-after-free in XV overlay code on video stop.Eric Anholt
2007-10-08move some definition out of i915 specific headerZhenyu Wang
2007-09-29rename xvmc init function namesZhenyu Wang
2007-09-26Revert to origin xvmc setup stepsZhenyu Wang
We have to grab xvadaptor's PutImage earlier than xv init, otherwise no chance to do that..
2007-09-26Fix pixmap offsetHong Liu
Use consistent interface for counting pixmap offset.
2007-09-26Create xvmc driver interfaceZhenyu Wang
convert i915 to new xvmc driver interface
2007-09-20Fix pixmap offsetHong Liu
Use consistent interface for counting pixmap offset.
2007-09-19Merge branch 'master' into xvmc-i915Zhenyu Wang
Conflicts: src/i830.h src/i830_memory.c