18 Oct, 2008

26 commits

  • GEM allows the creation of persistent buffer objects accessible by the
    graphics device through new ioctls for managing execution of commands on the
    device. The userland API is almost entirely driver-specific to ensure that
    any driver building on this model can easily map the interface to individual
    driver requirements.

    GEM is used by the 2d driver for managing its internal state allocations and
    will be used for pixmap storage to reduce memory consumption and enable
    zero-copy GLX_EXT_texture_from_pixmap, and in the 3d driver is used to enable
    GL_EXT_framebuffer_object and GL_ARB_pixel_buffer_object.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • The driver would like to map IO space directly for copying data in when
    appropriate, to avoid CPU cache flushing for streaming writes.
    kmap_atomic_pfn lets us avoid IPIs associated with ioremap for this process.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • GEM needs to create shmem files to back buffer objects. Though currently
    creation of files for objects could have been driven from userland, the
    modesetting work will require allocation of buffer objects before userland
    is running, for boot-time message display.

    Signed-off-by: Eric Anholt
    Cc: Nick Piggin
    Signed-off-by: Dave Airlie

    Keith Packard
     
  • Previously, drivers supporting vblank interrupt waits would run the interrupt
    all the time, or all the time that any 3d client was running, preventing the
    CPU from sleeping for long when the system was otherwise idle. Now, interrupts
    are disabled any time that no client is waiting on a vblank event. The new
    method uses vblank counters on the chipsets when the interrupts are turned
    off, rather than counting interrupts, so that we can continue to present
    accurate vblank numbers.

    Co-author: Michel Dänzer
    Signed-off-by: Jesse Barnes
    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • Wrap access to task credentials so that they can be separated more easily from
    the task_struct during the introduction of COW creds.

    Change most current->(|e|s|fs)[ug]id to current_(|e|s|fs)[ug]id().

    Change some task->e?[ug]id to task_e?[ug]id(). In some places it makes more
    sense to use RCU directly rather than a convenient wrapper; these will be
    addressed by later patches.

    Signed-off-by: David Howells
    Reviewed-by: James Morris
    Acked-by: Serge Hallyn
    Signed-off-by: David Airlie

    David Howells
     
  • Author: Zhenyu Wang

    i915: official name for GM45 chipset

    Signed-off-by: Zhenyu Wang
    Acked-by: Jesse Barnes
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • [Patch against drm-next. Consider this a trial balloon for our new Linux
    development model.]

    This is a big chunk of code. Separating it out makes it easier to change
    without churn on the main i915_drv.c file (and there will be churn as we
    fix bugs and add things like kernel mode setting). Also makes it easier
    to share this file with BSD.

    Signed-off-by: Jesse Barnes
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • Make writeback not get disabled on resume.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • Pointed out by Roel Kluin on dri-devel.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • Reported-by: Randy Dunlap
    Signed-off-by: Adrian Bunk
    Signed-off-by: Dave Airlie

    Adrian Bunk
     
  • This adds the support necessary for allowing ACPI backlight control to
    work on some newer Intel-based graphics systems. Tested on Thinkpad T61
    and HP 2510p hardware.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Dave Airlie

    Matthew Garrett
     
  • Some chips were unstable with repeated setup/teardown of the hardware status
    page.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Keith Packard
     
  • This avoids early termination for long-running commands.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Keith Packard
     
  • Previous attempts at interrupt mitigation had been foiled by i915_wait_irq's
    failure to update the sarea seqno value when the status page indicated that
    the seqno had already been passed. MSI support has been seen to cut CPU
    costs by up to 40% in some workloads by avoiding other expensive interrupt
    handlers for frequent graphics interrupts.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Eric Anholt
     
  • Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Jesse Barnes
     
  • It is already correctly detected by the kernel for use in suspend/resume.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Keith Packard
     
  • The driver can know what hardware requires MI_BATCH_BUFFER vs
    MI_BATCH_BUFFER_START; there's no reason to let user mode configure this.

    Signed-off-by: Eric Anholt
    Signed-off-by: Dave Airlie

    Keith Packard
     
  • Fix a pointer cast warning in the SIS DRM code.

    This was introduced in patch ce65a44de07f73ceda1749812b75086b7add408d.

    Signed-off-by: David Howells
    Cc: Dave Airlie
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    David Howells
     
  • Fix the SIS DRM memory allocator if the SIS FB built as a module. The SIS DRM
    code initialises the mm allocation hooks, but _only_ if the SIS FB is not
    built as a module because it depends on CONFIG_FB_SIS, and that's unset if the
    SIS FB is not built in. It must check CONFIG_FB_SIS_MODULE as well.

    Signed-off-by: David Howells
    Cc: Dave Airlie
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    David Howells
     
  • There is no point in considering FreeBSD et al. in the linux kernel
    source code.

    Signed-off-by: Carlos R. Mafra
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Carlos R. Mafra
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (25 commits)
    staging: at76_usb wireless driver
    Staging: workaround build system bug
    Staging: Lindent sxg.c
    Staging: SLICOSS: Call pci_release_regions at driver exit
    Staging: SLICOSS: Fix remaining type names
    Staging: SLICOSS: Fix warnings due to static usage
    Staging: SLICOSS: lots of checkpatch fixes
    Staging: go7007 v4l fixes
    Staging: Fix gcc warnings in sxg
    Staging: add echo cancelation module
    Staging: add wlan-ng prism2 usb driver
    Staging: add w35und wifi driver
    Staging: USB/IP: add host driver
    Staging: USB/IP: add client driver
    Staging: USB/IP: add common functions needed
    Staging: add the go7007 video driver
    Staging: add me4000 pci data collection driver
    Staging: add me4000 firmware files
    Staging: add sxg network driver
    Staging: add Alacritech slicoss network driver
    ...

    Fixed up conflicts due to taint flags changes and MAINTAINERS cleanup in
    MAINTAINERS, include/linux/kernel.h and kernel/panic.c.

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6: (47 commits)
    hwmon: (adm1026) Prevent log spamming
    hwmon: (adm1026) Fix debug messages
    hwmon: (adm1029) Use mask for fan_div value
    hwmon: (adt7470) Add documentation
    hwmon: (ibmaem) Automatically load on IBM systems via DMI
    hwmon: (ibmpex) Automatically load on IBM systems via DMI
    hwmon: (w83781d) Use new style driver binding
    hwmon: (w83781d) Stop abusing struct i2c_client for ISA devices
    hwmon: (w83781d) Make ISA interface depend on CONFIG_ISA
    hwmon: (w83781d) Additional information about AS99127F PWM
    hwmon: (w83781d) Detect alias chips
    hwmon: (w83781d) Refactor beep enable handling
    hwmon: Drop dead links to old National Semiconductor chip datasheets
    hwmon: (w83791d) add support for thermal cruise mode
    hwmon: (w83791d) add pwm_enable support
    hwmon: (w83791d) add manual PWM support
    hwmon: (w83791d) fan 4/5 pins can also be used for gpio
    hwmon: (max1619) Use inline functions instead of macros
    hwmon: (it87) Fix thermal sensor type values
    hwmon: (lm78) Convert to a new-style i2c driver
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
    ALSA: Fix debugfs_create_dir's error checking method for sound/soc/
    ALSA: ASoC: Convert playpaq_wm8510 to bulk route registration API
    ALSA: kernel docs: fix sound/core/ kernel-doc
    ALSA: Handle NULL jacks in snd_jack_report()
    ALSA: hda - Fix PCM type of Nvidia HDMI devices

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    block: remove __generic_unplug_device() from exports
    block: move q->unplug_work initialization
    blktrace: pass zfcp driver data
    blktrace: add support for driver data
    block: fix current kernel-doc warnings
    block: only call ->request_fn when the queue is not stopped
    block: simplify string handling in elv_iosched_store()
    block: fix kernel-doc for blk_alloc_devt()
    block: fix nr_phys_segments miscalculation bug
    block: add partition attribute for partition number
    block: add BIG FAT WARNING to CONFIG_DEBUG_BLOCK_EXT_DEVT
    softirq: Add support for triggering softirq work on softirqs.

    Linus Torvalds
     
  • * 'for-linus' of git://www.jni.nu/cris:
    CRIS: proper defconfig setup
    [CRIS] Rename boot-linkscripts and fix the path to them.

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (39 commits)
    [SCSI] sd: fix compile failure with CONFIG_BLK_DEV_INTEGRITY=n
    libiscsi: fix locking in iscsi_eh_device_reset
    libiscsi: check reason why we are stopping iscsi session to determine error value
    [SCSI] iscsi_tcp: return a descriptive error value during connection errors
    [SCSI] libiscsi: rename host reset to target reset
    [SCSI] iscsi class: fix endpoint id handling
    [SCSI] libiscsi: Support drivers initiating session removal
    [SCSI] libiscsi: fix data corruption when target has to resend data-in packets
    [SCSI] sd: Switch kernel printing level for DIF messages
    [SCSI] sd: Correctly handle all combinations of DIF and DIX
    [SCSI] sd: Always print actual protection_type
    [SCSI] sd: Issue correct protection operation
    [SCSI] scsi_error: fix target reset handling
    [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events
    [SCSI] lpfc 8.2.8 v2 : Add sysfs control of target queue depth handling
    [SCSI] lpfc 8.2.8 v2 : Revert target busy in favor of transport disrupted
    [SCSI] scsi_dh_alua: remove REQ_NOMERGE
    [SCSI] lpfc 8.2.8 : update driver version to 8.2.8
    [SCSI] lpfc 8.2.8 : Add MSI-X support
    [SCSI] lpfc 8.2.8 : Update driver to use new Host byte error code DID_TRANSPORT_DISRUPTED
    ...

    Linus Torvalds
     

17 Oct, 2008

14 commits