summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-11-15Merge branch 'master' into xvmcZhenyu Wang
2007-11-15Merge branch 'master' into xvmcZhenyu Wang
2007-11-14Backlight fixesJesse Barnes
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-14Disable FBC by default on 965GMJesse Barnes
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-14Add more FBC regsJesse Barnes
Needed for the new debug code
2007-11-14Fix kernel get_brightness functionJesse Barnes
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-14Correct FBC debug messageJesse Barnes
To be consistent, it should say 'plane' rather than 'pipe'.
2007-11-14Add FBC registers to register dump outputJesse Barnes
Just for completeness.
2007-11-14Don't stop ring before restoring hw stateJesse Barnes
Some of the hw state restoration callbacks may want to use the ring for various things like stopping video playback, so leave the ring enabled until we get back from RestoreHWState. Also rename the functions so that their purpose is clearer and remove a couple of redundant lines.
2007-11-15xvmc: move batch buffer init/fini to intel_batchbuffer.cZhenyu Wang
2007-11-15xvmc: take out batch buffer handling codeZhenyu Wang
2007-11-14Don't enable fbc with XAA or tiling is off.Zhenyu Wang
This slightly reworks my last fbc patch. We don't support tiled front buffer with XAA now, so also disable fbc on it. If tiled alloc failed, disable fbc too.
2007-11-13Review PLL spreadsheet and update register ranges.Keith Packard
The PLL spreadsheet makes the precise register ranges allowed for each mode quite clear, and shows a few inaccuracies in the b-spec. In particular, the N register value may range from 1 to 6 instead of 3 to 8. This should close the gap we've seen in the reachable frequencies.
2007-11-14Remove one redundant line.Zhenyu Wang
2007-11-14Don't setup fb compression if fb is not tilingZhenyu Wang
2007-11-13Remove harmless error messageJesse Barnes
This really isn't an error in general. If vblank pipe setup really fails for some reason, it'll be obvious enough when the user tries to use vblank events for something. Patch from Hong Liu.
2007-11-14xvmc: attempt to move batch buffer code out of i915 privateZhenyu Wang
2007-11-13Merge branch 'master' into xvmcZhenyu Wang
2007-11-12Improve backlight controlJesse Barnes
This commit fixes backlight support for several platforms. Except on recent machines supporting the IGD OpRegion specification, backlight control is rather platform specific. In some cases, we can program the native backlight control regsiters directly without any trouble. On others, we need to use the legacy backlight control register. On still others, we need a combination of the two. And on some platforms, none of the above will work, so we go through the kernel backlight interface, which provides a platform specific driver for backlight control.
2007-11-12Fix typo in PLL enable checkJesse Barnes
Check against DPLL_A instead of DPLL_B before writing PIPEACONF. Thanks to Colin Guthrie for his sharp eyes.
2007-11-09Add 'ret' variable to i830_allocator_initJesse Barnes
Needed in the XF86DRI_MM case.
2007-11-09Fixup warningsJesse Barnes
Remove unused 'ret' variable, move pI830 under #ifdef XF86DRI_MM in i830_allocate_memory.
2007-11-09Remove unused 'palette_enable' variableJesse Barnes
2007-11-09Merge branch 'xvmc' of ↵Zhenyu Wang
git+ssh://zhen@people.freedesktop.org/~zhen/xf86-video-intel into xvmc
2007-11-09Merge branch 'master' into xvmcZhenyu Wang
2007-11-08Default to EXAJesse Barnes
If EXA is compiled into the driver, default to using it for acceleration. Hopefully we can remove XAA entirely one day.
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-11-08Setup 3D state at EnterVT timeJesse Barnes
In the absence of full suspend/resume support in the kernel, we have to save/restore state in Enter/LeaveVT. For 8xx chips, 3D state may be lost during suspend/resume, so re-emit the basic setup at EnterVT time. Patch from Peter Clifton.
2007-11-08Bug #12059: Add ch7019 to the list of supported devices for ch7017.Eric Anholt
While I'm here, fix the chip description to be LVDS instead of TMDS in i2c device.
2007-11-08Check DPLL status before writing PIPEnCONF regsJesse Barnes
If the DPLL isn't enabled or is in VGA mode, writing the PIPEnCONF registers may cause a hang or crash. So ensure the DPLL is in the proper state before writing them. Another excellent fix from Peter Clifton.
2007-11-01Framebuffer compression fix: front buffer may not be at fence 0Jesse Barnes
Fix a long standing bug in the framebuffer compression code (thanks to Pierre Willenbrock!) that prevented FBC from working correctly if the front buffer was anywhere but fence register 0.
2007-11-01Fix allocation reset for really not free BO allocatorZhenyu Wang
2007-10-30Fix builds without DRIAlan Coopersmith
2007-10-30Clear compiler error: "void functions cannot return values"Alan Coopersmith
2007-10-26try to move some fields to xvmc driver structureZhenyu Wang
Still a lot of things to move include batch buffer, lock, context, surface resource handling, etc.
2007-10-26Fix DRI context creation for XvMCZhenyu Wang
2007-10-24Adapt to DRM Lockfree and setStatus changes.Thomas Hellstrom
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-10-24fix xvmc return valuesZhenyu Wang
Use values defined by xvmc lib spec
2007-10-23add missing license header for new filesZhenyu Wang
2007-10-22intel_reg_dumper - dump VGA AR registers tooJesse Barnes
Add a VGA AR dumping function so we can debug text mode problems too.
2007-10-22revert xvmc memory allocation hacksZhenyu Wang
2007-10-23Merge branch 'master' into xvmcZhenyu Wang
2007-10-23split xvmc user lib chipset driversZhenyu Wang
2007-10-19In the clock graph, draw the VCO as erasures in the lines representing clocks.Eric Anholt
This shows one of the reasons for the gaps: with the other settings, the VCO is too low inside the gap. However, it also points out another issue: we aren't using the high end of the VCO range due to some other limits being hit.
2007-10-18Warn in the log if we choose a PLL clock that's way out of line.Eric Anholt
2007-10-18Add some nickle scripts for looking at PLL issues.Eric Anholt
While here, move similar nickle scripts under src/scripts/
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