summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-02-05Don't crash if SW cursorZhenyu Wang
In case of device option or hw cursor allocation fails.
2008-02-05Fix last commit on i8xx debug p2 valueZhenyu Wang
2008-02-05Fix PLL reference clk debug dumpHong Liu
2008-02-05Allow non-strict free order for bo_listHong Liu
2008-02-05Bug 10584: Mac Mini EDID data assigned to TMDS outputHong Liu
EDID data for TMDS output got from crt should be applied to TMDS output on mac mini.
2008-02-04Bug 10773: fix i8xx pll p2 value in i830_crtc_clock_get()Hong Liu
Also fix debug dump, slightly modified to use macro instead.
2008-02-01Make sure symbols used by other modules are public.Paulo Cesar Pereira de Andrade
These symbols must be explicitly exported, otherwise if compiled with hidden symbols, LoaderSymbol (and dlopen) will fail to find them.
2008-01-31Bug #14246: Fix biuld on OpenBSD.Mark Kettenis
2008-01-30Add detail on different units to intel_idle.Eric Anholt
2008-01-31Don't crash if SW cursorZhenyu Wang
In case of device option or hw cursor allocation fails.
2008-01-30Frame buffer compression support on new chipsetJesse Barnes
2008-01-30hardware status page initialization reworkZhenyu Wang
Order hardware status page setup more reasonable after all memory bound, in case new chipset requires non-stolen page and that could be bound then. Also clean up drm irq handler install function, and put first install in starting stage later than status page setup, so we won't make device cry for uninitialized status page.
2008-01-30Wrap up chipsets which needs graphics address for status pageZhenyu Wang
Also add support on new chipset.
2008-01-30Add intel_idle to measure GPU load ratio.Keith Packard
Samples GPU idle register to detect when the GPU is busy; prints out the number of busy samples per 100 total samples once per second.
2008-01-25Clevo M720R has no TV-outErik Andren
2008-01-25Set vtSema before EnterVTZhenyu Wang
Which was missing in our ScreenInit and initial EnterVT. This not only causes failure in initial rotation with TTM, as we won't bind in rotate_mem alloc in this case, and hide another bug that we call randr12 function in I830LoadPalete before we call xf86RandR12Init.
2008-01-24Clear shadow memory after allocationZhenyu Wang
2008-01-24Fix i830 block handler wrapZhenyu Wang
which was observed in rotation crash with stack overflow.
2008-01-24Samsung Q45 has no TV outputAndreas Stawinoga
2008-01-22Add missing i830M and 845G pci ids infoZhenyu Wang
2008-01-17Bug 14032: i810, set default depth to 16Julien Cristau
X fails to start without an xorg.conf on i810, because the default depth set by the server (32) is not supported by the driver. I think the driver should default to 16 bits (it supports 24, but when I tested it that didn't seem to work very well, and dri is disabled at 24 bits depth anyway) instead of letting the server use 32 and failing later on.
2008-01-11Turn on backlight when LVDS panel is powered upJesse Barnes
In some configurations, the LVDS may be off at startup along with the backlight. So when turning the LVDS on for the first time, we may also need to set the backlight to a non-zero value. So try to use the saved value if possible, but if it's zero, make the backlight full brightness when turning on the LVDS. Note that this is slightly sub-optimal for configurations where zero is a valid backlight brightness. Fixes fdo bz #13958.
2008-01-10Remove unnecessary quirk code in CRT probingJesse Barnes
Since we return early in the CRTC DPMS code, keeping the pipes & clocks enabled, this code is no longer necessary. As an added bonus, VGA connections should be reported correctly even when the pipe A quirk is active. Updates fix for fdo bz #11432.
2008-01-09Add pipe A force enable quirkJesse Barnes
On some platforms, the firmware may read & write GPU registers on lid close, suspend/resume time or during various SMM events. If one of the graphics pipes is disabled at that time, the GPU may hang due to the programming dependencies of the various registers. This patch adds a quirk to force the driver to keep pipe A enabled if necessary, through user configuration in xorg.conf or via a platform specific quirk. Leaving the pipe enabled comes at a power cost however, so the quirk should only be enabled when strictly necessary. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=11432.
2008-01-09Disable frame buffer compression on new chipset now.Zhenyu Wang
2008-01-09Update PIPELINE_SELECT instruction and surface state format for new chipsetZhenyu Wang
2008-01-09GTT access change for new integrated graphics deviceZhenyu Wang
2008-01-09Add new integrated graphics chipset idsZhenyu Wang
2008-01-07Merge branch 'upstream-experimental' into debian-experimentalDavid Nusinow
2008-01-07Change origin i965G_1 to chipset market name G35.Zhenyu Wang
2008-01-04Don't modify low bit of BLC_PWM_CTL when using combo backlight controlJesse Barnes
On some platforms, the low bit of BLC_PWM_CTL is wired as a 'max brightness' flag, rather than a regular part of the backlight duty cycle. So when in the combo mode, divide the total number of backlight levels available by two (tossing one bit) and adjust the programming in the set_brightness routine. Note that platforms with this behavior may need quirks added so that they work by default.
2008-01-04Fix copy'n'paste-o in unused airlied i2c code.hulifox008
2008-01-03Fix compilation error when not using DRIJesse Barnes
This patch complements 88f8b688e2316ae4a1f7485f0010ce90de54783a which added uint64_t typed variables to avoid unsigned long overflows in 32-bit architectures but didn't include <stdint.h> with the required definition. When XF86DRI and _XF86DRI_SERVER_ are defined this header gets indirectly included through "i830_dri.h", thanks to "i830_common.h" which masquerades this problem as released in 2.1.0 and that manifests with : In file included from i810_driver.c:88: i830.h:137: error: expected specifier-qualifier-list before 'uint64_t' i830.h:240: error: expected specifier-qualifier-list before 'uint64_t' Patch from Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
2008-01-02xvmc: setup driver info for XvMCGetDRInfo requestZhenyu Wang
User don't need to have XvMCConfig file then, if ld.so can find libIntelXvMC.so in ld path.
2008-01-02xvmc: add context id info in debug/traceZhenyu Wang
2008-01-02TV: fix 576p refresh rateNanhai Zou
2007-12-28xvmc: move drmOpen earlierZhenyu Wang
remove wrong comments
2007-12-27Aopen Minipc 965GM LVDS quirkJoakim
2007-12-26xvmc: make XvMC default onZhenyu Wang
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-24xvmc: store XvMCContext pointer instead of context_id in internal ctx listZhenyu Wang
2007-12-20xvmc: add disable xvmc build supportZhenyu Wang
Move xvmc source files under XVMC config
2007-12-20xvmc: handle surface create/destory in generic codeZhenyu Wang
2007-12-20xvmc: move dri context handling to generic codeZhenyu Wang
Use XvMCContext's context_id for dri context handling instead of driver private id. Remove unnecessary field for i915 private structs.
2007-12-19Merge branch 'master' into xvmcZhenyu Wang
2007-12-18Unconditionally restore pipe configurationJesse Barnes
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-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-12-13i830_sdvo_mode_valid: Fix return values to match what we actually check.Adam Jackson
2007-12-10CRT hotplug detection improvementsJesse Barnes
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-10ivch: fails on address mismatch as I seem to get this on my 865 systemDave Airlie