summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-04-09SDVO: Fix lols TV mode list handling.Eric Anholt
2008-04-09SDVO: Use the TV reference clock for SDVO TV outputs.Eric Anholt
Based on a patch by Will Wiseman.
2008-04-09Implement support for 24 bit pixel formatMike Isely
The Intel driver appears to be coded to only work with displays expecting 18 bit pixels. However I have an application using a LCD display that expects pixel data in 24 bit format. The difference is only 2 bits in a single GPU register. This patch implements that change, controlled by a new driver option, "LVDS24Bit". The default value is false, which is the previous behavior. When set to true, then 24 bit panels should work (at least the one I'm testing here does). Fd.o bug #15201 Signed-off-by: Mike Isely <isely@pobox.com>
2008-04-09Include <stdint.h> in i810.h for integer types definitionZhenyu Wang
2008-04-09Fix LVDS regressionJesse Barnes
Disable panel fitting on 855GM, and fix dither setting.
2008-04-08Bug #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.
2008-04-07Quirks from Ubuntu/DellBryce Harrington
FD bug #15353. Launchpad bug ID is available for reference. (cherry picked from commit 24248097988775d62f6c416f2988e74d31c91cd0)
2008-04-04Merge commit 'origin/master' into projective-965Keith Packard
2008-04-04Forgot to build exa_wm_src_sample_argb.g4bKeith Packard
2008-04-02SDVO: Fix DDC bus selection based on output priority list.Hong Liu
2008-04-02SDVO: Fix mixups with input and output channels.Eric Anholt
The 2-bit input_mask was actually an input count -- in0 is always there, and in1 is optional. The output flags weren't being reported in the log, so I mistakenly took controlled_output == RGB0 to mean that the device only reported an RGB0, while it actually reported RGB0|SVID0|YPRPB0|misc|other. Move SVID0 up in priority and remove the RGB-is-it-really-TV hack I had just come up with. Finally, set the input/output mapping at mode set time. We're always supposed to do this, but haven't had to so far as we've never handled devices with more than one output.
2008-04-02SDVO: Handle RGB outputs that are really TV outputs, and select a TV format.Eric Anholt
Still doesn't light anything up.
2008-04-02Add WIP SDVO TV-out support.Eric Anholt
Doesn't include properties for selecting TV formats or picture enhancements, and totally untested.
2008-04-02Add SDVO TV-out registers.Eric Anholt
2008-04-01Remove extra flushingKeith Packard
2008-04-01Add projective versions of the PS kernelsKeith Packard
2008-04-01Shrink WM thread to 32 registers and 1024 scratch space.Keith Packard
Saving registers means we can run more in parallel.
2008-03-31Fix composite with mask using new compositing thread codeKeith Packard
Clean up register allocation to never overlap Always write 4 values for each texture vertex.
2008-03-31remove old shader source filesKeith Packard
2008-03-31remove old monolithic shadersKeith Packard
2008-03-31remove old monolithic shadersKeith Packard
2008-03-31Back to new shaders, fix urb read lengthKeith Packard
2008-03-31Dont set the compr bit on 8-unit sendsKeith Packard
2008-03-31Use m4 to clean up gen4 asm progs. Start adding projective transform support.Keith Packard
Use macros for register names, modularize functions into separate files.
2008-03-30Remove rotation sf and wm progsKeith Packard
2008-03-30Fix the sf_mask program to compute and pass corrected uvw cooefficientsKeith Packard
sf_mask is the same as sf except that it must compute both src and mask uvw cooefficients, which are conveniently adjacent in the same registers, and so need only an extended execution width
2008-03-30Reimplement wm program for nomask case to handle affine transformsKeith Packard
This involves correctly computing u/v locations based on x/y vectors and line constants computed in new sf program. Also, use fewer instructions to make this go a bit faster (2X for 500x500 composite).
2008-03-30Clarify comment in exa_sf programKeith Packard
2008-03-30Compute du/dv/dw in no-mask SF progKeith Packard
2008-03-30Disable cursors while switching modesKeith Packard
2008-03-28Add a "total" field to intel_idle output (set when any unit is busy).Eric Anholt
2008-03-28Use combo backlight control rather than pure legacyJesse Barnes
If the legacy bit is set, use both the BLC_PWM_CTL and LBB regs to control the backlight, rather than just LBB. Looks like more platforms want that than what the current code does. Note that kernel provided interfaces will always be used if available, so this shouldn't affect users with /sys/class/backlight interfaces at all. Fixes #14721.
2008-03-28Include missing stdlib.h for free()Matthias Hopf
2008-03-28Fix obviously wrong verification of DRI_SUPPORTS_CLIP_NOTIFY.Matthias Hopf
2008-03-28Fix obviously stray '(' in non-I830_USE_EXA case.Matthias Hopf
2008-03-28Disable DRI earlier if fb width > 2048Zhenyu Wang
2008-03-28Disable overlay on new mobile chipsetZhenyu Wang
It's gone, really.
2008-03-26Merge branch 'master' into pfitJesse Barnes
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-25Fix 965+ rendering issues with DRI disabled.Eric Anholt
The new chips no longer automatically flush the rendering cache, so if we don't flush the RC at blockhandler, the last rendering done may not appear on the screen. This was particularly noticable with a bare Xorg with some missing root weave, and terminals where the last character wouldn't appear until the cursor blinked. A flush in the DRI blockhandler path had hidden this issue for most people.
2008-03-24Revert "Use mprotect on unbound AGP memory to attempt to catch use while ↵Eric Anholt
unbound." While I still like the idea, the mprotect calls themselves are failing on Linux and causing more trouble than they're worth. This reverts commit a1612b7728d4153499fe86b6713a13c8702cc7d9. Conflicts: src/i830_driver.c src/i830_memory.c
2008-03-24Disable a bunch of clock gating disables on IGD_GM, which doesn't need them.Eric Anholt
Besides our driver having fallen through to the GM965 path for RENCLK_GATE_D1, the BIOS was turning some of these on. It may be relevant for previous platforms as well to zero out the fields that should be zero in the other registers.
2008-03-24Don't try to build XvMC if DRI is disabledJulien Cristau
Instead of failing the build, don't even try unless --enable-xvmc was used.
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-21Transformed coord computed using floats. Don't move bilinear composite dst.Keith Packard
The homogeneous coordinate computation in the core server cannot be used for many legal matrices as it overflows. Just use floats in the driver; faster and avoids troubles. When compositing with bilinear filter, don't push the dst coordinates around as that makes the output blurry when pixels are aligned.
2008-03-21xvmc: fix distcheckZhenyu Wang
Add i915 headers in Makefile.am
2008-03-21Fix DRI config for NetBSDJoerg Sonnenberger
Reported by Joerg. This does a little more clearn up.
2008-03-20Merge branch 'xvmc'Zhenyu Wang
2008-03-19Fixup backlight control and panel fitting property namesJesse Barnes
They should be listed as lower case, since that's what you'd pass to xrandr.
2008-03-18Handle projective transforms on 9xx for Composite.Keith Packard
Projective transforms require un-normalized texture coordinates and the use of the texldp instruction. The coordinates are passed as x/y/z/w (the z is unused, but there isn't a vertext format for just x/y/w).