1. 27 1月, 2015 10 次提交
    • D
      drm/i915/chv: Populate total EU count on Cherryview · 693d11c3
      Deepak S 提交于
      Starting with Cherryview, devices may have a varying number of EU for
      a given ID due to creative fusing. Punit support different frequency for
      different fuse data. We use this patch to help get total eu enabled and
      read the right offset to get RP0
      
      Based upon a patch from Jeff, but reworked to only store eu_total and
      avoid sending info to userspace
      
      v2: Format register definitions (Jani)
      Signed-off-by: NDeepak S <deepak.s@linux.intel.com>
      Acked-by: NJeff McGee <jeff.mcgee@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      693d11c3
    • M
      drm/i915: Don't cleanup plane state in intel_plane_destroy() · d0dc1c83
      Matt Roper 提交于
      When we transitioned to the atomic plane helpers in commit:
      
              commit ea2c67bb
              Author: Matt Roper <matthew.d.roper@intel.com>
              Date:   Tue Dec 23 10:41:52 2014 -0800
      
                  drm/i915: Move to atomic plane helpers (v9)
      
      one of the changes was to call intel_plane_destroy_state() while tearing
      down a plane to prevent leaks when unloading the driver.  That made
      sense when the patches were first written, but before they were merged,
      
              commit 3009c037
              Author:     Thierry Reding <treding@nvidia.com>
              Date:       Tue Nov 25 12:09:49 2014 +0100
      
                  drm: Free atomic state during cleanup
      
      had already landed, which made this the responsibility of the DRM core.
      The result was that we were kfree()'ing the state twice, and also
      possibly double-unref'ing a framebuffer, leading to memory corruption
      when the driver was unloaded.
      
      The fix is to simply not try to cleanup the state in the i915 teardown
      code now that the core handles this for us.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88433
      Testcase: igt/drv_module_reload
      Root-cause-analysis-by: NAnder Conselvan de Oliveira <conselvan2@gmail.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      d0dc1c83
    • M
      drm: Add rotation value to plane state · 1da30627
      Matt Roper 提交于
      The rotation property is shared by multiple drivers, so it makes sense
      to store the rotation value (for atomic-converted drivers) in the common
      plane state so that core code can eventually access it as well.
      
      Cc: dri-devel@lists.freedesktop.org
      Suggested-by: NDaniel Vetter <daniel@ffwll.ch>
      Reviewed-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      1da30627
    • D
      Merge branch 'drm-next' of https://github.com/markyzq/kernel-drm-rockchip into drm-next · 9e262202
      Dave Airlie 提交于
      single rockchip fix.
      
      * 'drm-next' of https://github.com/markyzq/kernel-drm-rockchip:
        drm/rockchip: fix dma_alloc_attrs() error check
      9e262202
    • D
      Merge branch 'drm-next-3.20' of git://people.freedesktop.org/~agd5f/linux into drm-next · cc0cc1aa
      Dave Airlie 提交于
      Radeon drm-next changes for 3.20.  Highlights:
      - Indirect draw support for evergreen/NI hw
      - SMC fan control support for SI/CI
      - Manual fan control for SI/CI
      - DP audio support
      - Lots of code cleanup
      
      * 'drm-next-3.20' of git://people.freedesktop.org/~agd5f/linux: (45 commits)
        drm/radeon: make MMU_NOTIFIER optional
        drm/radeon: use NULL rather then 0 in audio detect
        drm/radeon: whitespace clean up in radeon_audio.c
        radeon/audio: enable DP audio
        radeon/audio: moved audio caps programming to audio_hotplug() function
        radeon/audio: applied audio_dpms() and audio_mode_set() calls
        radeon/audio: consolidate audio_mode_set() functions
        radeon/audio: removed unnecessary debug settings
        radeon/audio: moved mute programming to a separate function
        radeon/audio: moved audio packet programming to a separate function
        radeon/audio: set_avi_packet() function cleanup
        radeon/audio: removed unnecessary CRC control programing
        radeon: moved HDMI color depth programming to a separate function
        radeon/audio: moved VBI packet programming to separate functions
        radeon/audio: consolidate update_acr() functions (v2)
        radeon/audio: consolidate update_avi_infoframe() functions
        radeon/audio: consolidate audio_set_dto() functions
        radeon/audio: consolidate audio_fini() functions
        radeon/audio: consolidate audio_enable() functions
        radeon/audio: consolidate select_pin() functions
        ...
      cc0cc1aa
    • D
      Merge branch 'exynos-drm-next' of... · 923e0575
      Dave Airlie 提交于
      Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
        This pull request includes some code refactoring which removes
         Exynos specific structure names and uses generic structure
         names instead, and makes all plane updating to be done
         by only exynos_update_plane function. And also it includes
         some cleanup and fixup patches.
      
      * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (22 commits)
        drm/exynos: fimd: check error status for drm_iommu_attach_device
        drm/exynos: create exynos_check_plane()
        drm/exynos: remove mode_set() ops from exynos_crtc
        drm/exynos: don't duplicate drm_display_mode in fimd context
        drm/exynos: remove struct exynos_drm_manager
        drm/exynos: remove drm_dev from struct exynos_drm_manager
        drm/exynos: move 'type' from manager to crtc struct
        drm/exynos: remove pipe member of struct exynos_drm_manager
        drm/exynos: add pipe param to exynos_drm_crtc_create()
        drm/exynos: rename base object of struct exynos_drm_crtc to 'base'
        drm/exynos: remove exynos_drm_crtc_mode_set_commit()
        drm/exynos: call exynos_update_plane() directly on page flips
        drm/exynos: unify plane update on exynos_update_plane()
        drm/exynos: remove exynos_plane_commit() wrapper
        drm/exynos: don't do any DPMS operation while updating planes
        drm/exynos: Don't touch DPMS when updating overlay planes
        drm/exynos/vidi: remove useless ops->commit()
        drm/exynos/fimd: don't initialize 'ret' variable in fimd_probe()
        drm/exynos: remove struct exynos_drm_overlay
        drm/exynos: remove exynos_drm_crtc_plane_* wrappers
        ...
      923e0575
    • D
      Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of... · f43dff0e
      Dave Airlie 提交于
      Merge tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux into drm-next
      
      Here is a pull request of fixes for 3.20 patches, including the fix you asked
      me when you merged the previous pull request.
      
      * tag 'drm-amdkfd-next-fixes-2015-01-25' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: change amdkfd version to 0.7.1
        drm/radeon: cik_sdma_ctx_switch_enable() can be static
        drm/amdkfd: Fix sparse errors
        drm/amdkfd: Handle case of invalid queue type
        drm/amdkfd: Add break at the end of case
        drm/amdkfd: Remove negative check of uint variable
      f43dff0e
    • B
      drm: fix drm_display_info_set_bus_formats kernel doc header · e37bfa1a
      Boris Brezillon 提交于
      formats and num_formats arguments were previously called fmts and nfmts.
      Fix the kernel doc comment so that it matches the new argument names.
      Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      e37bfa1a
    • D
      Merge tag 'drm-intel-next-2015-01-17' of git://anongit.freedesktop.org/drm-intel into drm-next · d3e7a0da
      Dave Airlie 提交于
      - refactor i915/snd-hda interaction to use the component framework (Imre)
      - psr cleanups and small fixes (Rodrigo)
      - a few perf w/a from Ken Graunke
      - switch to atomic plane helpers (Matt Roper)
      - wc mmap support (Chris Wilson & Akash Goel)
      - smaller things all over
      
      * tag 'drm-intel-next-2015-01-17' of git://anongit.freedesktop.org/drm-intel: (40 commits)
        drm/i915: Update DRIVER_DATE to 20150117
        i915: reuse %ph to dump small buffers
        drm/i915: Ensure the HiZ RAW Stall Optimization is on for Cherryview.
        drm/i915: Enable the HiZ RAW Stall Optimization on Broadwell.
        drm/i915: PSR link standby at debugfs
        drm/i915: group link_standby setup and let this info visible everywhere.
        drm/i915: Add missing vbt check.
        drm/i915: PSR HSW/BDW: Fix inverted logic at sink main_link_active bit.
        drm/i915: PSR VLV/CHV: Remove condition checks that only applies to Haswell.
        drm/i915: VLV/CHV PSR needs to exit PSR on every flush.
        drm/i915: Fix kerneldoc for i915 atomic plane code
        drm/i915: Don't pretend SDVO hotplug works on 915
        drm/i915: Don't register HDMI connectors for eDP ports on VLV/CHV
        drm/i915: Remove I915_HAS_HOTPLUG() check from i915_hpd_irq_setup()
        drm/i915: Make hpd arrays big enough to avoid out of bounds access
        Revert "drm/i915/chv: Use timeout mode for RC6 on chv"
        drm/i915: Improve HiZ throughput on Cherryview.
        drm/i915: Reset CSB read pointer in ring init
        drm/i915: Drop unused position fields (v2)
        drm/i915: Move to atomic plane helpers (v9)
        ...
      d3e7a0da
    • D
      Merge tag 'topic/core-stuff-2015-01-23' of git://anongit.freedesktop.org/drm-intel into drm-next · e4514003
      Dave Airlie 提交于
      Just flushing out my drm-misc branch, nothing major. Well too old patches
      I've dug out from years since a patch from Rob look eerily familiar ;-)
      
      * tag 'topic/core-stuff-2015-01-23' of git://anongit.freedesktop.org/drm-intel:
        drm/probe-helper: clamp unknown connector status in the poll work
        drm/probe-helper: don't lose hotplug event
        next: drm/atomic: Use copy_from_user to copy 64 bit data from user space
        drm: Make drm_read() more robust against multithreaded races
        drm/fb-helper: Propagate errors from initial config failure
        drm: Drop superfluous "select VT_HW_CONSOLE_BINDING"
      e4514003
  2. 25 1月, 2015 22 次提交
  3. 22 1月, 2015 8 次提交