1. 03 4月, 2017 4 次提交
    • T
      drm/omap: remove divider constraint from hsdiv · 0e81798e
      Tomi Valkeinen 提交于
      The driver only uses even dividers for hsdiv when pclk >= 100MHz, as odd
      dividers can create uneven duty cycle. However, while this holds true
      for some dividers like DISPC's LCK and PCK dividers, it is not actually
      true for hsdiv.
      
      hsdiv always produces even duty cycle, so the constraint can be removed.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      0e81798e
    • T
      drm/omap: refactor CRTC HW property setup · 7e3d9274
      Tomi Valkeinen 提交于
      The current driver doesn't expose any of the CRTC HW properties like
      background color or transparency key, and sets them at CRTC enable time.
      
      Refactor this into a separate function and call that function from
      omap_crtc_atomic_flush(). This is the behavior we want when the
      properties can be configured, so this patch makes it easier to add
      patches later which implement those properties.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      7e3d9274
    • T
      drm/omap: work-around for errata i886 · 7d267f06
      Tomi Valkeinen 提交于
      DRA7 errata i886 (FPDLink PLL Unlocks With Certain SoC PLL M/N Values)
      says that FPDLink is sensitive to jitter on the vout clock, and that low
      PLL M and N values result in more jitter than high M and N values.
      
      This patch implements a workaround for the problem by changing the PLL
      setup to search for clocks starting from high M and N values, instead of
      low values. This should not cause any functional change, and only
      reduces the jitter.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Reviewed-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      7d267f06
    • D
      Merge tag 'drm-misc-next-2017-03-31' of git://anongit.freedesktop.org/git/drm-misc into drm-next · 320d8c3d
      Dave Airlie 提交于
      drm-misc for 4.12:
      
      Core:
      - Removed some fb subsampling dimension checks from core (Ville)
      - Some MST slot cleanup (Dhinakaran)
      - Extracted drm_debugfs.h & drm_ioctl.h from drmP.h (Daniel)
      - Added drm_atomic_helper_shutdown() to compliment suspend/resume counterparts
        (Daniel)
      - Pipe context through legacy modeset to remove legacy_backoff nasties (Daniel)
      - Cleanups around vblank as well as allowing lockless counter reads (Chris W.)
      - VGA Switcheroo added to MAINTAINERS with Lukas Wunner as reviewer (Lukas)
      
      Drivers:
      - Enhancements to rockchip driver probe (Jeffy) and dsi (Chris Z.)
      - Thunderbolt external GPU awareness added (Lukas)
      
      * tag 'drm-misc-next-2017-03-31' of git://anongit.freedesktop.org/git/drm-misc: (63 commits)
        apple-gmux: Don't switch external DP port on 2011+ MacBook Pros
        drm/nouveau: Don't register Thunderbolt eGPU with vga_switcheroo
        drm/amdgpu: Don't register Thunderbolt eGPU with vga_switcheroo
        drm/radeon: Don't register Thunderbolt eGPU with vga_switcheroo
        PCI: Recognize Thunderbolt devices
        MAINTAINERS: Add Lukas Wunner as reviewer for vga_switcheroo
        drm: Fix locking gotcha in page_flip ioctl
        drm: Clarify the role of plane_state argument to drm_simple update().
        drm: Clear e after kfree in drm_mode_page_flip_ioctl
        drm: Convert cmpxchg(bool) back to a two step operation
        drm/bridge: ti-tfp410: support hpd via gpio
        drm: use .hword to represent 16-bit numbers
        Revert unrelated part of "drm: simplify the locking in the GETCRTC ioctl"
        drm: Fixup failure paths in drm_atomic_helper_set_config
        drm: Peek at the current counter/timestamp for vblank queries
        drm: Refactor vblank sequence number comparison
        drm: vblank cannot be enabled if dev->irq_enabled is false
        drm: Mark up accesses of vblank->enabled outside of its spinlock
        drm: Make the decision to keep vblank irq enabled earlier
        drm/atomic-helper: Remove the backoff hack from set_config
        ...
      320d8c3d
  2. 02 4月, 2017 1 次提交
    • D
      Merge branch 'drm-vmwgfx-next' of git://people.freedesktop.org/~syeh/repos_linux into drm-next · 7558ab66
      Dave Airlie 提交于
      This series enables atomic mode set for vmwgfx.  A number of features and
      larger fixes are also included.
      
      * 'drm-vmwgfx-next' of git://people.freedesktop.org/~syeh/repos_linux: (22 commits)
        drm/vmwgfx: Properly check display/scanout surface size
        drm/vmwgfx: Support topology greater than texture size
        drm/vmwgfx: Define an overlaid handle_close ioctl.
        drm/vmwgfx: Re-implement the stream resource as a simple resource.
        drm/vmwgfx: Introduce a simple resource type
        drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444 with macro"
        drm/vmwgfx: Fix LDU X blank screen until mode change issue
        drm/vmwgfx: Skipping fbdev fb pinning for ldu
        drm/vmwgfx: Explicityly track screen target width and height
        drm/vmwgfx: Turn on DRIVER_ATOMIC flag
        drm/vmwgfx: Switch over to internal atomic API for SOU and LDU
        drm/vmwgfx: Switch over to internal atomic API for STDU
        drm/vmwgfx: Fixes to vmwgfx_fb
        drm/vmwgfx: Add and connect atomic state object check/commit
        drm/vmwgfx: Add and connect connector helper function
        drm/vmwgfx: Add and connect plane helper functions
        drm/vmwgfx: Add and connect CRTC helper functions
        drm/vmwgfx: Connector atomic state
        drm/vmwgfx: Plane atomic state
        drm/vmwgfx: CRTC atomic state
        ...
      7558ab66
  3. 01 4月, 2017 22 次提交
  4. 31 3月, 2017 13 次提交