1. 12 Mar, 2018 1 commit
    • Ondrej Jirman's avatar
      drm/sun4i: Fix exclusivity of the TCON clocks · 7035046d
      Ondrej Jirman authored
      Currently the exclusivity is enabled when the rate is set by
      the mode setting functions. These functions are called by
      mode_set_nofb callback of drm_crc_helper. Then exclusivity
      is disabled when tcon is disabled by atomic_disable
      callback.
      
      What happens is that mode_set_nofb can be called once when
      mode changes, and afterwards the system can call atomic_enable
      and atomic_disable multiple times without further calls to
      mode_set_nofb.
      
      This happens:
      
      mode_set_nofb   - clk exclusivity is enabled
      atomic_enable
      atomic_disable  - clk exclusivity is disabled
      atomic_enable
      atomic_disable  - clk exclusivity is already disabled, leading to WARN
                        in clk_rate_exclusive_put
      
      Solution is to enable exclusivity in sun4i_tcon_channel_set_status.
      Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
      Cc: Jernej Skrabec <jernej.skrabec@siol.net>
      Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20180310110511.14697-1-megous@megous.com
      7035046d
  2. 08 Mar, 2018 3 commits
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · b0655d66
      Dave Airlie authored
      Fixes for 4.16.  A bit bigger than I would have liked, but most of that
      is DC fixes which Harry helped me pull together from the past few weeks.
      Highlights:
      - Fix DL DVI with DC
      - Various RV fixes for DC
      - Overlay fixes for DC
      - Fix HDMI2 handling on boards without HBR tables in the vbios
      - Fix crash with pass-through on SI on amdgpu
      - Fix RB harvesting on KV
      - Fix hibernation failures on UVD with certain cards
      
      * 'drm-fixes-4.16' of git://people.freedesktop.org/~agd5f/linux: (35 commits)
        drm/amd/display: validate plane format on primary plane
        drm/amdgpu:Always save uvd vcpu_bo in VM Mode
        drm/amdgpu:Correct max uvd handles
        drm/amd/display: early return if not in vga mode in disable_vga
        drm/amd/display: Fix takover from VGA mode
        drm/amd/display: Fix memleaks when atomic check fails.
        drm/amd/display: Return success when enabling interrupt
        drm/amd/display: Use crtc enable/disable_vblank hooks
        drm/amd/display: update infoframe after dig fe is turned on
        drm/amd/display: fix boot-up on vega10
        drm/amd/display: fix cursor related Pstate hang
        drm/amd/display: Set irq state only on existing crtcs
        drm/amd/display: Fixed non-native modes not lighting up
        drm/amd/display: Call update_stream_signal directly from amdgpu_dm
        drm/amd/display: Make create_stream_for_sink more consistent
        drm/amd/display: Don't block dual-link DVI modes
        drm/amd/display: Don't allow dual-link DVI on all ASICs.
        drm/amd/display: Pass signal directly to enable_tmds_output
        drm/amd/display: Remove unnecessary fail labels in create_stream_for_sink
        drm/amd/display: Move MAX_TMDS_CLOCK define to header
        ...
      b0655d66
    • Dave Airlie's avatar
      Merge tag 'drm-misc-fixes-2018-03-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes · f5732e66
      Dave Airlie authored
      sun4i fixes on clk, division by zero and LVDS.
      
      * tag 'drm-misc-fixes-2018-03-07' of git://anongit.freedesktop.org/drm/drm-misc:
        drm/sun4i: crtc: Call drm_crtc_vblank_on / drm_crtc_vblank_off
        drm/sun4i: rgb: Fix potential division by zero
        drm/sun4i: tcon: Reduce the scope of the LVDS error a bit
        drm/sun4i: Release exclusive clock lock when disabling TCON
        drm/sun4i: Fix dclk_set_phase
      f5732e66
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2018-03-07' of... · aa87d62f
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2018-03-07' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - 2 fixes: 1 for perf and 1 execlist submission race.
      
      * tag 'drm-intel-fixes-2018-03-07' of git://anongit.freedesktop.org/drm/drm-intel:
        drm/i915: Suspend submission tasklets around wedging
        drm/i915/perf: fix perf stream opening lock
      aa87d62f
  3. 07 Mar, 2018 32 commits
  4. 06 Mar, 2018 4 commits