summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
AgeCommit message (Collapse)Author
2009-06-17TV: Set correct voltage level override valuesling.ma@intel.com
We detect TV connect status by setting DAC voltage level override values as 0.7 voltage for DAC_A/B/C. The corresponding 2-bits shold be 0x2, In order correctly to set last bit as 0, at first we must clean it. It fixed freedesktop.org bug #21204 Signed-off-by: Ma Ling <ling.ma@intel.com>
2009-03-16TV: fix contrast and saturation for 945GZhenyu Wang
Bug #20670.
2009-03-16TV: force TV as connected with TV_Connector optionZhenyu Wang
In order to bypass failure in TV load detect, TV_Connector option will always force TV as connected with user specified connector type.
2009-03-03TV: add property control for TV attributesZhenyu Wang
This is based on Jesse's origin patch for bug #12763. But export integer range to user instead of hardware float point format, and fix different real format on 965G and 945G for contrast and saturation.
2009-03-03TV: add option to set TV connector typeZhenyu Wang
This can let user override non-stable driver TV load detect, and set connector type manually, e.g for s-video to component converter, this patch seems must needed to use HD modes.
2009-03-03TV: update output and crtc modes when TV format change (try 3)Zhenyu Wang
This is to fix bug #16566, change TV format will cause BadMatch error when crtc config apply. Everytime when we change TV format, we may generate a new list of modelines as TV clock changed. After randr get info request, new modelines will be probed and randr output's modes will be renewed too. But crtc's mode failed to be updated, as it never can find a matching mode now within new modes list. So get info will return an invalid crtc's mode, later set crtc config will pass that info, and xserver catches a bad match. This patch trys to refresh output modes and setup crtc's mode with new modelines in TV format change. So get info would be sure to turn valid crtc mode that reference in current new modelines.
2009-03-03TV: sort input mode linesZhenyu Wang
2009-02-28warnings cleanupEric Anholt
2008-12-08Fix TV compiling warningZhenyu Wang
2008-12-03TV: add support to set TV margins in xorg.confRobert Lowery
2008-11-11TV: fix contrast and saturation for 915/945GZhenyu Wang
915/945G uses exponent-mantissa format instead of fixed-point format on 965G.
2008-11-06TV: subcarrier fix for NTSC and PALZhenyu Wang
Using subcarrier DDA values from spec give more close result to standard frequency.
2008-11-06TV: fix timing parameters for PAL, 480p, 1080iZhenyu Wang
2008-11-06TV: save serveral TV_CTL register fields in mode setZhenyu Wang
Driver should keep those fields according with spec.
2008-11-06TV: fix default contrast and saturation modifierZhenyu Wang
Color knobs was set with higher modifier which caused strong color on TV screen. Setting fixed point modifier to default 1.0 makes picture on TV look nicer.
2008-11-06TV: white space cleanupZhenyu Wang
2008-08-05Reorganize VBIOS codeJesse Barnes
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-07-18Get prototype for i830_bios_get_tv().Eric Anholt
2008-07-10Add VBIOS based TV connector detectionJesse Barnes
Now that the VBIOS code supports it, we can use the general features block to detect whether a TV connector is present on a given platform. Reviewed by Nanhai Zou.
2008-06-09Fix TV programming: add vblank wait after TV_CTL writesJesse Barnes
Fxies FDO bug #14000; we need to wait for vblank after writing TV_CTL or followi ng "DPMS on" calls may not actually enable the output.
2008-06-05Fix TV out connection type detectionRobert Lowery
Make sure we wait for vblank when using the TV DAC to detect the connection type. Fixes FDO bug #14000.
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.
2008-03-17Add support for new ->get_crtc output callbacksJesse Barnes
Using the new interface allows the server to avoid some flicker at startup.
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-01-02TV: fix 576p refresh rateNanhai Zou
2007-11-15Fix typo in 1920x1080 resolution entryJesse Barnes
2007-11-15Adjust default TV out paramatersJesse Barnes
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-15Add 1920x1080 mode to TV outJesse Barnes
Allows users to use 1080p modes on TV out, see bug #13034.
2007-10-24Fix typo in my hand-application of rglowery's patch.Eric Anholt
2007-10-24Fix a crash in TV mode handling by initializing the prev field of modes.Rob
2007-08-28Don't set supported TV formats until after RandR initialized.Keith Packard
The TV format property cannot be configured until RandR has been initialized.
2007-08-28Limit TV formats to those supported by current connectionKeith Packard
2007-08-26Mechanical API conversions for libpciaccess.Keith Packard
Uncomplicated API transistions for libpciaccess usage: Legacy xf86 API libpciaccess API --------------- ---------------- xf86ReadPciBIOS pci_device_read_rom pciReadWord pci_device_cfg_read_u16 pciWriteByte pci_device_cfg_write_u8 And, more use of the API-independent DEVICE_ID/SUBVENDOR_ID/SUBSYS_ID macros to pull PCI identification data from the underlying structure.
2007-08-16Disambiguate plane and pipe mapping, use plane A on pipe B on pre-965 LVDSJesse Barnes
Add a new 'plane' field to the intel_crtc private structure for tracking planes separate from pipes. This allows pre-965 chips to use plane A on pipe B, enabling framebuffer compression for builtin LVDS displays.
2007-08-10Clean up tv mode name allocation and copy.Keith Packard
TV mode names used to contain the signalling standard along with the pixel size. The signalling has been moved to the TV_FORMAT property, but the allocation and initialization of the mode name was left a bit messy as a result.
2007-07-27Add quirk supportWang Zhenyu
This one trys to use a flag for possible quirks. It adds a quirk for my Lenovo T61 TV output, and ports some origin LVDS quirks to it.
2007-07-13Ensure pipe/output active before doing load detection.Keith Packard
If the pipe or output have been set to DPMSOff, then load detection will not work correctly. Also, share the load detection configuration code between crt and tv outputs.
2007-06-30Fix load detection to use border region instead of blanking.Keith Packard
Make sure there is some border area to use by changing how the pipe is configured, then pick a scanline in the middle of the border for load detection. This lets the load detect code use an active pipe instead of requiring an idle one.
2007-05-17Make each output control clones/crtcs. Split DVO into LVDS, TMDS, TV.Keith Packard
Move clone/crtc config into each output where it's easier to understand (no need for a switch statement in I830PrepareOutputs. Also, split DVO into three sub-types (TMDS, LVDS, TVOUT) as those have different cloning abilities.
2007-04-03Move a bunch of debugging verbosity under Option "ModeDebug".Eric Anholt
2007-03-25Switch TV_FORMAT property to format XA_ATOMKeith Packard
This allows the driver to report the set of valid formats in the property data.
2007-03-23Eliminate calls to RRPostPendingProperty.Keith Packard
RRPostPendingProperty has been removed in favor of RRPostPendingProperties, and that call is now managed outside of the driver.
2007-03-23Property size is in units, not bytes.Keith Packard
Several places were using byte lengths instead of unit lengths for properties.
2007-03-23TV output properties: TV_FORMAT, LEFT, TOP, RIGHT, BOTTOM.Keith Packard
Remove TV format from mode name, instead use an explicit output property and split the input resolution from the tv format. Add properties to set the blank area on all four sides of the image.
2007-03-04Support new CRTC/Output prepare/commit hooks.Keith Packard
New hooks replace explicit invocation of DPMS functions to manage mode setting sequencing.
2007-02-14Global namespace cleanups, filename fixes.Keith Packard
Ensure all xf86 symbols created here are protected with XF86NAME. Remove accidentally exported symbols from namespace. Make all to-be-DI files prefixed with i830_xf86.
2007-02-09 TV EnableZou Nan hai
2007-01-16Interim work on rotation support with new xf86 code.Keith Packard
Yes, there are lots of bits tied together here, and we should split this patch apart. Move I830 mode setting to xf86 mode setting. Make mode setting function also set the base address. This should fix problems where the base gets set incorrectly at times. Add driver-independent rotation support, requires driver-specific hooks for shadow pixmap allocation, otherwise it uses Render for painting.
2007-01-15Convert I830PipeSetMode to xf86CrtcSetMode. Add rotation structures.Keith Packard
Makes the mode setting logic device independent. Magic rename hooks allow multiple drivers to provide the generic code without name conflicts. Rotation code requires special pixmap creation hook, and uses Render to perform the actual rotation.
2007-01-06Merge branch 'modesetting-origin' into modesettingWang Zhenyu