1. 19 10月, 2015 1 次提交
  2. 16 10月, 2015 15 次提交
    • G
      virtio-gpu: add page flip support · d24796a4
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      d24796a4
    • D
      virtio-gpu: mark as a render gpu · f3380a30
      Dave Airlie 提交于
      Also add DRM_RENDER_ALLOW to the ioctls.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f3380a30
    • D
      virtio-gpu: add basic prime support · 11a8f280
      Dave Airlie 提交于
      This is enough to enable DRI3.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      11a8f280
    • G
      virtio-gpu: add 3d/virgl support · 62fb7a5e
      Gerd Hoffmann 提交于
      Add the bits needed for opengl rendering support: query
      capabilities, new virtio commands, drm ioctls.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      62fb7a5e
    • D
      virtio-gpu: don't free things on ttm_bo_init failure · 7552ed8a
      Dave Airlie 提交于
      ttm_bo_init will call the destroy callback which will do all
      this, this was causing a double free.
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7552ed8a
    • G
      virtio-gpu: wait for cursor updates finish · 6d415334
      Gerd Hoffmann 提交于
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      6d415334
    • G
      virtio-gpu: add & use virtio_gpu_queue_fenced_ctrl_buffer · ec2f0577
      Gerd Hoffmann 提交于
      Add helper function to handle the submission of fenced control requests.
      Make sure we initialize the fence while holding the virtqueue lock, so
      requests can't be reordered.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      ec2f0577
    • G
      virtio-gpu: add virtio_gpu_queue_ctrl_buffer_locked · 9c73f478
      Gerd Hoffmann 提交于
      Add virtio_gpu_queue_ctrl_buffer_locked function, which does the same as
      virtio_gpu_queue_ctrl_buffer but does not take the virtqueue lock.  The
      caller must hold the lock instead.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      9c73f478
    • M
      via_drm.h: move struct via_file_private definition to drivers/gpu/drm/via/via_drv.h · c76af02d
      Mikko Rapeli 提交于
      Fixes userspace compile error since list_head is not exported to userspace
      headers.
      
      Suggested by Emil Velikov <emil.l.velikov@gmail.com> at
      https://lkml.org/lkml/2015/6/3/792Signed-off-by: NMikko Rapeli <mikko.rapeli@iki.fi>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      c76af02d
    • M
      include/uapi/drm/sis_drm.h: move sis_file_private to drivers/gpu/drm/sis/sis_drv.h · 7a6007c3
      Mikko Rapeli 提交于
      Fixes userspace compile error:
      
      drm/sis_drm.h:68:19: error: field ‘obj_list’ has incomplete type
        struct list_head obj_list;
      
      Suggested by Emil Velikov <emil.l.velikov@gmail.com> at
      https://lkml.org/lkml/2015/6/3/792Signed-off-by: NMikko Rapeli <mikko.rapeli@iki.fi>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      7a6007c3
    • D
      Merge branch 'drm-dwhdmi-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm into drm-next · 9ace42b1
      Dave Airlie 提交于
      This series:
      * adds support for interlaced video modes to the ipu-v3 driver
        and dw_hdmi bridge.
      * reworks the dw_hdmi connector enable/disable support, to ensure that
        when DRM disables the output, it stays disabled irrespective of the
        hotplug state.
      * adds support for connector forcing, so we can force the hotplug state
        for this connector.
      * adds the ALSA AHB audio driver to the bridge: Iwai has acked the
        audio driver.
      * a few fixes to the ACR calculations to allow more modes to work with
        audio on iMX6.
      
      Fabio has independently tested this series, so all patches here carry
      his tested-by tag.
      
      * 'drm-dwhdmi-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        drm: bridge/dw_hdmi: replace CTS calculation for the ACR
        drm: bridge/dw_hdmi: remove ratio support from ACR code
        drm: bridge/dw_hdmi: adjust pixel clock values in N calculation
        drm: bridge/dw_hdmi: avoid being recursive in N calculation
        drm: bridge/dw_hdmi-ahb-audio: allow larger buffer sizes
        drm: bridge/dw_hdmi-ahb-audio: basic support for multi-channel PCM audio
        drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver
        drm: bridge/dw_hdmi-ahb-audio: add audio driver
        drm: bridge/dw_hdmi: improve HDMI enable/disable handling
        drm: bridge/dw_hdmi: add connector mode forcing
        drm: bridge/dw_hdmi: add support for interlaced video modes
        gpu: imx: fix support for interlaced modes
        gpu: imx: simplify sync polarity setting
      9ace42b1
    • D
      Merge commit '06d1ee32' of... · 48f87dd1
      Dave Airlie 提交于
      Merge commit '06d1ee32' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next
      
      Backmerge the drm-fixes pull from Linus's tree into drm-next.
      
      This is to fix some conflicts and make future pulls cleaner
      48f87dd1
    • D
      Merge tag 'topic/drm-misc-2015-10-08' of git://anongit.freedesktop.org/drm-intel into drm-next · 6b62b3e1
      Dave Airlie 提交于
      Another round of drm-misc. Unfortunately the DRM_UNLOCKED removal for
      DRIVER_MODESET isn't complete yet for lack of review on 1-2 patches.
      Otherwise just various stuff all over.
      
      * tag 'topic/drm-misc-2015-10-08' of git://anongit.freedesktop.org/drm-intel:
        drm: Stop using drm_vblank_count() as the hw frame counter
        drm/irq: Use unsigned int pipe in public API
        drm: Use DRM_ROTATE_MASK and DRM_REFLECT_MASK
        drm: Add DRM_ROTATE_MASK and DRM_REFLECT_MASK
        vga_switcheroo: Add missing locking
        vgaarb: use kzalloc in vga_arbiter_add_pci_device()
        drm: Don't zero vblank timestamps from the irq handler
        drm: Hack around CONFIG_AGP=m build failures
        drm/i915: Remove setparam ioctl
        drm: Remove dummy agp ioctl wrappers
        drm/vmwgfx: Stop checking for DRM_UNLOCKED
        drm/drm_ioctl.c: kerneldoc
        drm: Define a drm_invalid_op ioctl implementation
        drm: Remove __OS_HAS_AGP
        drm/doc: Update docs about device instance setup
      6b62b3e1
    • D
      Merge tag 'drm-intel-next-2015-09-28-merged' of... · b3127855
      Dave Airlie 提交于
      Merge tag 'drm-intel-next-2015-09-28-merged' of git://anongit.freedesktop.org/drm-intel into drm-next
      
      drm-intel-next-2015-09-28:
      - fastboot by default for some systems (Maarten Lankhorts)
      - piles of workarounds for bxt and skl
      - more fbc work from Paulo
      - fix hdmi hotplug detection (Sonika)
      - first few patches from Ville to parametrize register macros, prep work for
        typesafe mmio functions
      - prep work for nv12 rotation (Tvrtko Ursulin)
      - various other bugfixes and improvements all over
      
      I have another backmerge here since things became messy and I didn't
      realize you resolved some of them already (usually you complain when
      there's a conflict ...).
      
      For 4.4 I plan one more feature round after this and then that's it.
      * tag 'drm-intel-next-2015-09-28-merged' of git://anongit.freedesktop.org/drm-intel: (80 commits)
        drm/i915: Update DRIVER_DATE to 20150928
        drm/i915: fix task reference leak in i915_debugfs.c
        drm/i915: Defer adding preallocated stolen objects to the VM list
        drm/i915: Remove extraneous request cancel.
        drm/i915: Enable querying offset of UV plane with intel_plane_obj_offset
        drm/i915: Support NV12 in rotated GGTT mapping
        drm/i915: Support appending to the rotated pages mapping
        drm/i915: Support planar formats in tile height calculations
        drm/i915/bxt: Update revision id for BXT C0
        drm/i915: Parametrize CSR_PROGRAM registers
        drm/i915: Parametrize DDI_BUF_TRANS registers
        drm/i915: Parametrize TV luma/chroma filter registers
        drm/i915: Replace raw numbers with the approproate register name in ILK turbo code
        drm/i915: Parametrize ILK turbo registers
        drm/i915: Parametrize FBC_TAG registers
        drm/i915: Parametrize GEN7_GT_SCRATCH and GEN7_LRA_LIMITS
        drm/i915: Parametrize LRC registers
        drm/i915: Don't pass sdvo_reg to intel_sdvo_select_{ddc, i2c}_bus()
        drm/i915: Ignore "digital output" and "not HDMI output" bits for eDP detection
        drm/i915: Make sure we don't detect eDP on g4x
        ...
      b3127855
    • D
      Merge branch 'drm-next-4.4' of git://people.freedesktop.org/~agd5f/linux into drm-next · aa1b36f2
      Dave Airlie 提交于
      This is the first radeon and amdgpu pull for drm-next. Highlights include:
      - Efficiency improvements to the CS checker for pre-SI asics
      - Cursor fixes ported from radeon to amdgpu
      - Enable GPU scheduler by default
      - Add a bunch of GPUVM debugging options
      - Add support for some new atombios opcodes
      - Misc cleanups and fixes
      
      * 'drm-next-4.4' of git://people.freedesktop.org/~agd5f/linux: (42 commits)
        drm/amdgpu: fix lockup when clean pending fences
        drm/amdgpu: add timer to fence to detect scheduler lockup
        drm/amdgpu: add VM CS mapping trace point
        drm/amdgpu: add option to clear VM page tables after every submit
        drm/amdgpu: add option to stop on VM fault
        drm/amdgpu: only print meaningful VM faults
        drm/amdgpu: also trace already allocated VMIDs
        drm/amdgpu: Drop unnecessary #include <linux/vga_switcheroo.h>
        drm/radeon: Drop unnecessary #include <linux/vga_switcheroo.h>
        drm/amdgpu: clean up pageflip interrupt handling
        drm/amdgpu: rework sdma structures
        drm/amdgpu: unpin cursor BOs on suspend and pin them again on resume
        drm/amdgpu/dce8: Fold set_cursor() into show_cursor()
        drm/amdgpu/dce8: Clean up reference counting and pinning of the cursor BOs
        drm/amdgpu/dce8: Move hotspot handling out of set_cursor
        drm/amdgpu/dce8: Re-show the cursor after a modeset (v2)
        drm/amdgpu/dce8: Use cursor_set2 hook for enabling / disabling the HW cursor
        drm/amdgpu/dce11: Fold set_cursor() into show_cursor()
        drm/amdgpu/dce11: Clean up reference counting and pinning of the cursor BOs
        drm/amdgpu/dce11: Move hotspot handling out of set_cursor
        ...
      aa1b36f2
  3. 15 10月, 2015 24 次提交