summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-22Use meta (win) key for moving surfacesHEADwaylandKristian Høgsberg1-8/+20
2009-09-22Make non-rootless work againKristian Høgsberg3-38/+40
2009-09-18Take CM selection, fixes and refactoringKristian Høgsberg2-77/+94
2009-09-17Implement move and resizeKristian Høgsberg1-27/+99
2009-09-17Don't destroy pixmaps before they get to the compositorKristian Høgsberg1-9/+45
2009-09-17User surface user data instead of find_windowKristian Høgsberg1-25/+5
2009-09-17Fix a couple of window move bugsKristian Høgsberg1-6/+16
2009-09-17Fixes for input redirection - needs SetDeviceRedirectWindowKristian Høgsberg1-31/+135
2009-09-13First step towards rootless XKristian Høgsberg3-37/+164
2009-09-12Revive wayland patchKristian Høgsberg5-3/+631
2009-09-09Update version to 2.8.99.901 for snapshot.2.8.99.901Carl Worth1-1/+1
2009-09-09NEWS: Add notes for the 2.8.99.901 snapshotCarl Worth1-0/+14
2009-09-09i915: Restore nearest samplingChris Wilson3-10/+13
My recent commit [94fc93] to use the pixel centre for sampling with the i830 broke the i915. This restores the previous sampling coordinates for the i915 whilst preserving the correct coordinates for i830. Fixes: gnome characters disappear http://bugs.freedesktop.org/show_bug.cgi?id=23803 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-09-08Add B43 chipset supportZhenyu Wang3-1/+14
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-09-05i830/i915: Set the sample position to the pixel center.Chris Wilson3-78/+105
And in particular we apply the nearest sample bias separately for src/mask. Fixes cairo/test: device-offset-scale finer-grained-fallbacks mask-transformed-{similar,image} meta-surface-pattern pixman-rotate surface-pattern-big-scale-down text-transform Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-09-05i830: Update commentsChris Wilson1-2/+4
i830_composite() is no longer shared with i915 but i830_emit_composite_primitive() is. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-09-05i830: Trim composite setupChris Wilson1-9/+9
Remove a couple of redundant NOOPs from the setup and correct the required space checking for atomic batch operation.
2009-09-05i830: remove padding NOOPs from compositeChris Wilson1-7/+1
Bumps aa10text up from 249k to 260k! These NOOPs have existed uncommented since 04d1584737fd0d14e99608a97281fd7b1549ae0e. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-09-05i830: do not use stale mask transformChris Wilson1-11/+4
Not only were incorrectly falling back if we had non-affine transformations, but we made the decision based on a stale transformation matrix. Related bug 22877: batch_start_atomic horribly breaks performance after a while https://bugs.freedesktop.org/show_bug.cgi?id=22877 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Tested-by: Maximilian Grothusmann <maxi@own-hero.net>
2009-09-03Don't set backlight level if going on->on.Matthias Hopf1-1/+2
Otherwise changed backlight will be reset upon DPMS switch off, because first this function is called with DPMSModeOn.
2009-09-03Use "Backlight" as backlight brightness property.Matthias Hopf1-7/+22
BACKLIGHT is now deprecated, though still usable.
2009-09-03Add get_property support.Matthias Hopf1-4/+32
So far only BACKLIGHT is changed.
2009-09-03Don't ignore backlight level change to the same level.Matthias Hopf1-3/+2
If set externally to a different level, this would result in a no-op. OTOH if the display is switched off (DPMS) you do not want the change to take place immediately, but rather to be saved and set later when the display is active again.
2009-09-02Make DGA optionalZhenyu Wang2-1/+6
As DGA is optional in xserver, we should check this too instead of always trying to init DGA. Found when update xserver to 6fffcd5825454a7fe58ffbcfb219f007cf38e731, but not update xf86dgaproto, which caused X fails to start. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-08-31debug: i830_valid_command: Return invalid for subopcodes with no nameCarl Worth1-2/+0
Previously the code would always return the count, before ever looking into the _3d_cmds table to see if there was actually a valid command. Thanks to Alan Coopersmith who reported that the code was confusing parfait: https://bugs.freedesktop.org/show_bug.cgi?id=21666
2009-08-27 set correct value for indirect access check boundZou Nan hai1-1/+1
2009-08-25Fix SHM functions to work with server after 1.6.0Keith Packard2-27/+15
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25KMS: allocate one bo per crtc for cursorKeith Packard3-27/+42
The KMS API doesn't provide for sharing a single bo for multiple cursor images, so allocate one bo for each crtc to hold the cursor image. KMS also only supports ARGB cursors, so don't bother to allocate buffers for two color cursors. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25Add cursor registers to debug dump output.Keith Packard1-1/+7
Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25Reload cursors as needed when setting new modes.Keith Packard1-0/+2
Cursor images may need rotation, or positions updated when new modes are set. The server provides a convenience function, xf86_reload_cursors for precisely this purpose. Just call it after the new mode is set. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-08-25Add KMS only build flagJesse Barnes2-2/+32
Rather than refactoring all our init code only to have it go away when we remove UMS, this patch adds a build time flag to allow the driver to assume KMS support. With this flag active, the driver will not request that I/O or MEM be enabled at probe time, which can allow the server (if other drivers also cooperate) to run as a non-root user. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-08-21Add HDMI audio registersWu Fengguang2-0/+46
Dump some of the audio registers at server startup time. (II) intel(0): AUD_CONFIG: 0x00000004 (II) intel(0): AUD_HDMIW_STATUS: 0x00000000 (II) intel(0): AUD_CONV_CHCNT: 0x00000000 (II) intel(0): VIDEO_DIP_CTL: 0x20000600 (II) intel(0): AUD_PINW_CNTR: 0x00000040 (II) intel(0): AUD_CNTL_ST: 0x00002000 (II) intel(0): AUD_PIN_CAP: 0x00000094 (II) intel(0): AUD_PINW_CAP: 0x004073bd (II) intel(0): AUD_PINW_UNSOLRESP: 0x80000008 (II) intel(0): AUD_OUT_DIG_CNVT: 0x00000001 (II) intel(0): AUD_OUT_CWCAP: 0x00006211 (II) intel(0): AUD_GRP_CAP: 0x00000004 Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-08-21Add intel_audio reg dumping programWu Fengguang2-1/+462
It can dump HDMI audio registers for G45. Signed-off-by: "Wang, Zhenyu Z" <zhenyu.z.wang@intel.com> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
2009-08-20kms: Don't use fb offset when using shadow bufferKristian Høgsberg1-1/+4
2009-08-18Align the height of untiled pixmaps to 2 lines as well.Eric Anholt1-2/+5
The 965 docs note, and it's probably the case on 915 as well, that the 2x2 subspans are read as a unit, even if the bottom row isn't used. If the address in that bottom row extended beyond the end of the GTT, a fault could occur. Thanks to Chris Wilson for pointing out the problem.
2009-08-18Print block length of backlight tableJesse Barnes1-1/+1
For debugging VBIOS dumps
2009-08-18Dump LVDS backlight info from bios_readerJesse Barnes2-0/+72
Add LVDS backlight and power VBT structures and dump from the BIOS reader.
2009-08-18Add BACKLIGHT property support in KMS case.Matthias Hopf1-0/+228
2009-08-18Fix VGA plane disablingZhenyu Wang1-18/+20
Only apply on G4X with SR01 bit5 workaround for VGA plane disable, and restore behavior back for other chips to make sure other modes got disabled too. For bug #17235, #19715, #21064, #23178 Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2009-08-13Add HP Mini 5101 to quirks list.Matthias Hopf1-0/+2
2009-08-11Fix the chip names printed in the log to be less obnoxious.Adam Jackson2-18/+18
Names taken from pci.ids. Pineview appears to be a platform not a GMCH, so use the G/GM convention to distinguish.
2009-08-07Fix math in the tiling alignment fix.Eric Anholt1-1/+1
2009-08-07Align tiled pixmap height so we don't address beyond the end of our buffers.Eric Anholt5-9/+11
2009-08-06Fix typo in bios_reader for invalid pointer castZhenyu Wang1-1/+1
Fixed locally for af45482a52999b52bf41468c458808e30c100e35, but pushed wrong commit.
2009-08-05Fix sampler indexes on i965 planar video.Eric Anholt3-6/+6
We only set up one sampler, because all of our sampling is the same. By using a non-zero index for the other two samplers, we'd dereference (likely) zeroed data, resulting in using NEAREST filtering. This was a regression in 40671132cb3732728703c6444f4577467fa9223f which incidentally switched from having 6 samplers to 1. Bug #22895, #19856
2009-08-05 It seems that indirect data upper bound check in STATE_BASE_ADDRESSZou Nan hai1-1/+1
is not acting like what bspec told on 965gm. G45+ follow bspec, but we have to set it to a large value for 965gm.
2009-08-04Calculate the DVO relative offset in LVDS data entry to get the DVO timingZhao Yakui2-5/+21
Now the DVO timing in LVDS data entry is obtained by using the following step: a. get the entry size for every LVDS panel data b. Get the LVDS fp entry for the preferred panel type c. get the DVO timing by using entry->dvo_timing In our driver the entry->dvo_timing is related with the size of lvds_fp_timing. For example: the size is 46. But it seems that the size of lvds_fp_timing varies on the differnt platform. In such case we will get the incorrect DVO timing because of the incorrect DVO offset in LVDS panel data entry. Calculate the DVO timing offset in LVDS data entry to get the DVO timing a. get the DVO timing offset in the LVDS fp data entry by using the pointer definition in LVDS data ptr b. get the LVDS data entry c. get the DVO timing by adding the DVO timing offset to data entry https://bugs.freedesktop.org/show_bug.cgi?id=22787 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
2009-07-28intel: drop RES_SHARED_VGA not needed anymoreDave Airlie2-70/+62
2009-07-28xserver: fix up for stable buildDave Airlie2-0/+9
reported by Arkadiusz Miskiewicz <arekm@maven.pl>
2009-07-28intel: since driver depends on newer server don't need to wrap thisDave Airlie2-30/+0
drop resource/RAC interactions