summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-03-02KMS: Wire up output DPMS.Adam Jackson
2009-03-02Skip LVDS config parsing on pre-9xx chips.Zhenyu Wang
855GM laptops seems pretty broken when parsing this block.
2009-03-02Update driver feature block definition for missed fieldsZhenyu Wang
2009-02-28warnings cleanupEric Anholt
2009-02-27Only allocate pixmaps aligned for tiling when requested by DRI2 GetBuffers.Eric Anholt
This saves massive quantities of memory on pre-965 since the DRI2 tiling enable caused the minimum size of any pixmap to be 1MB.
2009-02-26Intel video driver patchShaohua Li
This is the intel video driver patch for a new chip, which is G33-like and has some clocking setting related register changes. This patch adds the pci id and DPLx/FPx register changes. The gtt tool should just work to me, as the chip hasn't any changes against G33 on this side. Signed-off-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
2009-02-26Fix UXA for server 1.4.Eric Anholt
2009-02-26uxa: Fix composite fallback debug printing of main memory versus bo info.Eric Anholt
It was just printing whether it was a pixmap (it is), instead of whether the pixmap was offscreen.
2009-02-26Regard the screen pixmap as suitable for acceleration.Eric Anholt
With UXA on the fake bufmgr, the screen pixmap doesn't have a BO and so no acceleration was occurring.
2009-02-26Disable fb resizing for DRI1-only server so that DRI1 can initialize.Eric Anholt
2009-02-26Fix up i915 composite and common solid/copy code to use check_aperture.Eric Anholt
This could fix complaints about binding BOs and resulting failure to render.
2009-02-25XvMC: fix broken xvmc on 965Xiang, Haihao
2009-02-25Use LVDS config in Driver feature BDB for integrated LVDS checkZhenyu Wang
The LVDS config bits in VBT driver feature block is used by vendor to identify the board implement of integrated LVDS/eDP or SDVO LVDS. And video bios uses these bits for LVDS enabling or not. So check these bits for integrated LVDS might eliminate more quirks.
2009-02-25Update LVDS config bits definition in driver feature blockZhenyu Wang
ALL_LVDS is actually not defined before and include GM45. Embedded DP bit will be used for newer chips.
2009-02-24Fix distcheck from drmmode_display.h deletion.Eric Anholt
2009-02-24Don't do AdjustFrame in KMS mode.Eric Anholt
This was hit by xv86vm's SwitchMode path, and for that the CRTC offsets get set at mode setting time anyway.
2009-02-24Remove a handful of unused variable warnings.Kristian Høgsberg
2009-02-24Update kms to work with drmModeModeInfo API update.Kristian Høgsberg
2009-02-24Limit CRT DAC speed better.Adam Jackson
Verified against the public docs for i8xx parts, although not 9xx yet.
2009-02-23Revert "Limit CRT DAC speed better."Keith Packard
This reverts commit 8fd0e46571c7ba15c05f0a759113f8ca842c76a2. This doesn't even build. Please try again.
2009-02-23Limit CRT DAC speed better.Adam Jackson
Verified against the public docs for i8xx parts, although not 9xx yet.
2009-02-23KMS: Fix bug that prevented EDID data from getting propagated.Kristian Høgsberg
2009-02-23Use stat() and the dev_t to find the drm device filename.Kristian Høgsberg
Simpler and more robust. Works when we haven't set the device PCI ID, ie when not going through the legacy DRI module.
2009-02-21Move disable_render_standby to EnterVT instead of startup.Helge Bahmann
Otherwise, with a pre-2.6.28 older kernel the disable would be lost at resume time and cause hangs. Bug #20214
2009-02-21uxa: Ask for BOs ready for rendering for pixmaps.Eric Anholt
The assumption is that we're almost always accelerating our drawing to new pixmaps (fill, copy, etc.).
2009-02-20KMS: Hook up rotated shadow buffers.Kristian Høgsberg
2009-02-20Access the Xv buffer through the GTT for the non-KMS case.Kristian Høgsberg
2009-02-20Fix i915 textured video to work with the i830_memory -> bo change.Kristian Høgsberg
Forgot to update i915_video.c in 872aadc7102bd5131e1582ede081e22672911ba2.
2009-02-20Dont allocate overlay registers in KMS mode.Kristian Høgsberg
2009-02-18Make Xv used a buffer object instead of i830_memory.Kristian Høgsberg
We still pin the buffer object in case of overlay, but for textured video we're now no longer using i830_memory for Xv anymore.
2009-02-18bios_reader: parse driver feature BDBZhenyu Wang
2009-02-18Fix SDVO mulitiplier setting for 945GZhenyu Wang
Wrong SDVO multiplier setup has been slipped in SDVO TV patch. Thanks Michael Fu to point this out!
2009-02-17KMS: Hook up crtc::gamma_set.Kristian Høgsberg
2009-02-16Safely init SDVO found variableZhenyu Wang
Found by Michael Fu for my last SDVO detect fix.
2009-02-13Fix SDVO/HDMI detectZhenyu Wang
SDVOC detect bit is only valid for HDMIC. And for SDVO devices, SDVOB detect bit should be used to probe all possible SDVO outputs.
2009-02-13SDVO: remove ForceSDVODetect optionZhenyu Wang
Which is just a hack to hide our SDVO detect drawback, we will have SDVO/HDMI detect fix later.
2009-02-13SDVO: Switch control bus only before DDC accessZhenyu Wang
Instead of set control bus switch before every i2c start, just set once before doing DDC. This should eliminate some encoders returning error during that.
2009-02-13SDVO: Fix TV supportZhenyu Wang
As SDVO TV uses SDVO_TVClkIn from SDVO encoder for clock reference, it needs to generate proper PLL for current input clock. This uses fixed PLL table from vbios for this. And possible sdvo mulitiplier has to be setup correctly. This makes TV output stable on my 945GCLF2 board with NTSC-M format.
2009-02-13SDVO: fix CREATE_PREFERRED_INPUT_TIMING commandZhenyu Wang
2009-02-13SDVO: fix usage for SET_TV_FORMAT and GET_SDTV_RESOLUTION_SUPPORT commandZhenyu Wang
They both needs parameters.
2009-02-13SDVO: fix error in modeline and DTD convertZhenyu Wang
2009-02-13SDVO: check EDID info for DVI-IZhenyu Wang
For SDVO DVI-I, check EDID info for digital output, otherwise mark it to be disconnected as analog output is driven by VGA then.
2009-02-13SDVO: Fix for HDMI encode and audio setup (try 5)Zhenyu Wang
SDVO HDMI encode and audio is not setup in detect, which fails in hotplug case for HDMI audio. Fix to check current encode type and set flag for HDMI audio enabling. Check and set HDMI encode state in get_modes.
2009-02-10uxa: Fix breakage from UXA_FALLBACK conversion from "do {} while (0)" construct.Eric Anholt
Thanks to keithp for post-commit review.
2009-02-10uxa: Fix driver against fbDoCopy -> miDoCopy change in the server.Eric Anholt
2009-02-10uxa: Fix failure to --amend in further changes in previous commit.Eric Anholt
2009-02-10uxa: hook up the fallback debug to the driver's fallback debug option.Eric Anholt
2009-02-06Don't disable vga centering bit.Ma Ling
commit id b9f5915ce812144ffd9d2aa42e8ba856129c35e, which resolved bug #17235, but generate new regression-bug #19715. This patch intends to resolve bug #17235, and avoid regression as well. We have successfully re-tested it for bug #17235 and #19715 respectively.