1. 29 8月, 2017 1 次提交
    • J
      drm: kirin: Add mode_valid logic to avoid mode clocks we can't generate · 71f23543
      John Stultz 提交于
      Currently the hikey dsi logic cannot generate accurate byte
      clocks values for all pixel clock values. Thus if a mode clock
      is selected that cannot match the calculated byte clock, the
      device will boot with a blank screen.
      
      This patch uses the new mode_valid callback (many thanks to
      Jose Abreu for upstreaming it!) to ensure we don't select
      modes we cannot generate.
      
      Also, since the ade crtc code will adjust the mode in mode_set,
      this patch also adds a mode_fixup callback which we use to make
      sure we are validating the mode clock that will eventually be
      used.
      
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Sean Paul <seanpaul@chromium.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Rob Clark <robdclark@gmail.com>
      Cc: Xinliang Liu <xinliang.liu@linaro.org>
      Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
      Cc: Rongrong Zou <zourongrong@gmail.com>
      Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
      Cc: Chen Feng <puck.chen@hisilicon.com>
      Cc: Jose Abreu <Jose.Abreu@synopsys.com>
      Cc: Archit Taneja <architt@codeaurora.org>
      Cc: dri-devel@lists.freedesktop.org
      Reviewed-by: NSean Paul <seanpaul@chromium.org>
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Reviewed-by: NXinliang Liu <xinliang.liu@linaro.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      71f23543
  2. 25 8月, 2017 3 次提交
    • D
      Merge tag 'sunxi-drm-for-4.14-2' of... · e47ef302
      Dave Airlie 提交于
      Merge tag 'sunxi-drm-for-4.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux into drm-next
      
      sun4i DRM changes for 4.14, take 2
      
      A single patch switching to a new OF helper.
      
      * tag 'sunxi-drm-for-4.14-2' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux:
        drm/sun4i: use of_graph_get_remote_endpoint()
      e47ef302
    • D
      Merge tag 'omapdrm-4.14-fixes' of... · 72d45a76
      Dave Airlie 提交于
      Merge tag 'omapdrm-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next
      
      omapdrm fixes for 4.14
      
      * fix compilation when compiling omapfb driver
      * WA for OMAP3 endless sync lost issue
      * WA for OMAP5 DSI PLL issue
      * fix analog TV out modecheck
      
      * tag 'omapdrm-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux:
        ARM: OMAP2+: fix missing variable declaration
        drm/omap: work-around for omap3 display enable
        drm/omap: fix i886 work-around
        drm/omap: fix analog tv-out modecheck
      72d45a76
    • D
      Merge tag 'drm-msm-next-2017-08-22' of git://people.freedesktop.org/~robclark/linux into drm-next · cfcfb65a
      Dave Airlie 提交于
      Updates for 4.14..  I have some further patches from Jordan to add
      multiple priority levels and pre-emption, but those will probably be
      for 4.15 to give me time for the mesa parts.
      
      * tag 'drm-msm-next-2017-08-22' of git://people.freedesktop.org/~robclark/linux:
        drm/msm/mdp5: mark runtime_pm functions as __maybe_unused
        drm/msm: remove unused variable
        drm/msm/mdp5: make helper function static
        drm/msm: make msm_framebuffer_init() static
        drm/msm: add helper to allocate stolen fb
        drm/msm: don't track fbdev's gem object separately
        drm/msm: add modeset module param
        drm/msm/mdp5: add tracking for clk enable-count
        drm/msm: remove unused define
        drm/msm: Add a helper function for in-kernel buffer allocations
        drm/msm: Attach the GPU MMU when it is created
        drm/msm: Add A5XX hardware fault detection
        drm/msm: Remove uneeded platform dev members
        drm/msm/mdp5: Set up runtime PM for MDSS
        drm/msm/mdp5: Write to SMP registers even if allocations don't change
        drm/msm/mdp5: Don't use mode_set helper funcs for encoders and CRTCs
        drm/msm/dsi: Implement RPM suspend/resume callbacks
        drm/msm/dsi: Set up runtime PM for DSI
        drm/msm/hdmi: Set up runtime PM for HDMI
        drm/msm/mdp5: Use runtime PM get/put API instead of toggling clocks
      cfcfb65a
  3. 24 8月, 2017 1 次提交
  4. 23 8月, 2017 16 次提交
  5. 22 8月, 2017 19 次提交