Skip to content
  1. Sep 29, 2013
  2. Sep 28, 2013
    • Rob Clark's avatar
      drm/msm: use drm_gem_dumb_destroy helper · 30600a90
      Rob Clark authored
      
      
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      30600a90
    • Rob Clark's avatar
      drm/msm: deal with mach/iommu.h removal · 33b55963
      Rob Clark authored
      
      
      We still need an API exported by msm iommu driver (but not visible in
      any public header anymore).  For now, just declare the prototype
      ourselves, but when msm iommu driver provides a better option, use that
      instead.
      
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      33b55963
    • Joerg Roedel's avatar
      drm/msm: Remove iommu include from mdp4_kms.c · c55d1c41
      Joerg Roedel authored
      
      
      The include file has been removed and the file does not
      need it anyway, so remove it. Fixes a compile error.
      
      Signed-off-by: default avatarJoerg Roedel <joro@8bytes.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      c55d1c41
    • Thomas Meyer's avatar
      drm/msm: Odd PTR_ERR usage · e4826a94
      Thomas Meyer authored
      
      
      The variable priv->kms is not initialized yet.
      
      Found by "scripts/coccinelle/tests/odd_ptr_err.cocci".
      PTR_ERR should access the value just tested by IS_ERR.
      
      Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
      e4826a94
    • Dave Airlie's avatar
      Merge branch 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux into drm-fixes · 41ed7fe9
      Dave Airlie authored
      More radeon fixes for 3.12.  Kind of all over the place: UVD, DPM,
      tiling, etc.
      
      * 'drm-fixes-3.12' of git://people.freedesktop.org/~agd5f/linux:
        drm/radeon: fix hdmi audio on DCE3.0/3.1 asics
        drm/radeon/cik: fix overflow in vram fetch
        drm/radeon: add missing hdmi callbacks for rv6xx
        drm/radeon/uvd: lower msg&fb buffer requirements on UVD3
        drm/radeon: disable tests/benchmarks if accel is disabled
        drm/radeon: don't set default clocks for SI when DPM is disabled
        drm/radeon/dpm/ci: filter clocks based on voltage/clk dep tables
        drm/radeon/dpm/si: filter clocks based on voltage/clk dep tables
        drm/radeon/dpm/ni: filter clocks based on voltage/clk dep tables
        drm/radeon/dpm/btc: filter clocks based on voltage/clk dep tables
        drm/radeon/dpm: fetch the max clk from voltage dep tables helper
        drm/radeon: fix missed variable sized access
        drm/radeon: Make r100_cp_ring_info() and radeon_ring_gfx() safe (v2)
        drm/radeon/cik: Add tiling mode index for 1D tiled depth/stencil surfaces
        drm/radeon/cik: Fix encoding of number of banks in tiling configuration info
        drm/radeon/cik: Fix printing of client name on VM protection fault
        drm/radeon: additional gcc fixes for radeon_atombios.c
        drm/radeon: avoid UVD corruption on AGP cards using GPU gart
      41ed7fe9
    • Dave Airlie's avatar
      Merge tag 'drm-intel-fixes-2013-09-26' of... · 36dec40c
      Dave Airlie authored
      Merge tag 'drm-intel-fixes-2013-09-26' of git://people.freedesktop.org/~danvet/drm-intel into drm-fixes
      
      Just a few fixes for regressions and other serious stuff.
      
      Two fix state tracking mismatches, together with an additional patch that
      I've submitted to stable (somehow forgotten to tag it) we should have them
      fixed now (I hope).
      
      * tag 'drm-intel-fixes-2013-09-26' of git://people.freedesktop.org/~danvet/drm-intel:
        drm/i915: Fix up usage of SHRINK_STOP
        drm/i915: preserve pipe A quirk in i9xx_set_pipeconf
        drm/i915/tv: clear adjusted_mode.flags
        drm/i915/dp: increase i2c-over-aux retry interval on AUX DEFER
        drm/i915: Use a temporary va_list for two-pass string handling
      36dec40c
  3. Sep 26, 2013
  4. Sep 25, 2013
    • Daniel Vetter's avatar
      drm/i915: preserve pipe A quirk in i9xx_set_pipeconf · 67c72a12
      Daniel Vetter authored
      This regression has been introduced in
      
      commit 9f11a9e4
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Jun 13 00:54:58 2013 +0200
      
          drm/i915: set up PIPECONF explicitly for i9xx/vlv platforms
      
      Ville brough up the idea that this is just the pipe A quirk gone
      wrong.
      
      Note that after resume the bios might or might not have enabled pipe A
      already.  We have a bit of magic to make sure that on resume we set up
      a decent mode for pipe A, but I fear if I just smash pipe A to always
      on we'd enable it in a bogus state and hang the hw. Hence the
      readback.
      
      v2: Clarify the logic a bit as suggested by Chris. Also amend the
      commit message to clarify why we don't unconditionally enable the
      pipe.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66462
      References: https://lkml.org/lkml/2013/8/26/238
      
      
      Cc: Meelis Roos <mroos@ut.ee>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      [danvet: Use |= instead of = as suggested by Chris.]
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      67c72a12
    • Daniel Vetter's avatar
      drm/i915/tv: clear adjusted_mode.flags · 1062b815
      Daniel Vetter authored
      The native TV encoder has it's own flags to adjust sync modes and
      enabled interlaced modes which are totally irrelevant for the adjusted
      mode. This worked out nicely since the input modes used by both the
      load detect code and reported in the ->get_modes callbacks all have no
      flags set, and we also don't fill out any of them in the ->get_config
      callback.
      
      This changed with the additional sanitation done with
      
      commit 2960bc9c
      
      
      Author: Imre Deak <imre.deak@intel.com>
      Date:   Tue Jul 30 13:36:32 2013 +0300
      
          drm/i915: make user mode sync polarity setting explicit
      
      sinc now the "no flags at all" state wouldn't fit through core code
      any more. So fix this up again by explicitly clearing the flags in the
      ->compute_config callback.
      
      Aside: We have zero checking in place to make sure that the requested
      mode is indeed the right input mode we want for the selected TV mode.
      So we'll happily fall over if userspace tries to pull us.  But that's
      definitely work for a different patch series. So just add a FIXME
      comment for now.
      
      Reported-by: default avatarKnut Petersen <Knut_Petersen@t-online.de>
      Cc: Knut Petersen <Knut_Petersen@t-online.de>
      Cc: Imre Deak <imre.deak@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Tested-by: default avatarKnut Petersen <Knut_Petersen@t-online.de>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      1062b815
    • Jani Nikula's avatar
      drm/i915/dp: increase i2c-over-aux retry interval on AUX DEFER · 8d16f258
      Jani Nikula authored
      
      
      There is no clear cut rules or specs for the retry interval, as there
      are many factors that affect overall response time. Increase the
      interval, and even more so on branch devices which may have limited i2c
      bit rates.
      
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Reference: https://bugs.freedesktop.org/show_bug.cgi?id=60263
      
      
      Tested-by: default avatarNicolas Suzor <nic@suzor.com>
      Reviewed-by: default avatarTodd Previte <tprevite@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      8d16f258
  5. Sep 24, 2013
    • Alex Deucher's avatar
      drm/radeon/cik: fix overflow in vram fetch · 13c5bfda
      Alex Deucher authored
      
      
      Missing ULL when calculating the amount of vram
      leads to an overflow when the amount of vram is >= 4G.
      
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      13c5bfda
    • Alex Deucher's avatar
      drm/radeon: add missing hdmi callbacks for rv6xx · 99d79aa2
      Alex Deucher authored
      When dpm was merged, I added a new asic struct for
      rv6xx, but it never got properly updated when the
      hdmi callbacks were added due to the two patch sets
      being developed in parallel.
      
      Fixes:
      https://bugs.freedesktop.org/show_bug.cgi?id=69729
      
      
      
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Cc: stable@vger.kernel.org
      99d79aa2
    • Chris Wilson's avatar
      drm/i915: Use a temporary va_list for two-pass string handling · e29bb4eb
      Chris Wilson authored
      In
      
      commit edc3d884
      Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
      Date:   Thu May 23 13:55:35 2013 +0300
      
          drm/i915: avoid big kmallocs on reading error state
      
      we introduce a two-pass mechanism for splitting long strings being
      formatted into the error-state. The first pass finds the length, and the
      second pass emits the right portion of the string into the accumulation
      buffer. Unfortunately we use the same va_list for both passes, resulting
      in the second pass reading garbage off the end of the argument list. As
      the two passes are only used for boundaries between read() calls, the
      corruption is only rarely seen.
      
      This fixes the root cause behind
      
      commit baf27f9b
      
      
      Author: Chris Wilson <chris@chris-wilson.co.uk>
      Date:   Sat Jun 29 23:26:50 2013 +0100
      
          drm/i915: Break up the large vsnprintf() in print_error_buffers()
      
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      e29bb4eb
    • Linus Torvalds's avatar
      Linux 3.12-rc2 · 4a10c2ac
      Linus Torvalds authored
      v3.12-rc2
      4a10c2ac
    • Linus Torvalds's avatar
      Merge tag 'staging-3.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 9d23108d
      Linus Torvalds authored
      Pull staging fixes from Greg KH:
       "Here are a number of small staging tree and iio driver fixes.  Nothing
        major, just lots of little things"
      
      * tag 'staging-3.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (34 commits)
        iio:buffer_cb: Add missing iio_buffer_init()
        iio: Prevent race between IIO chardev opening and IIO device free
        iio: fix: Keep a reference to the IIO device for open file descriptors
        iio: Stop sampling when the device is removed
        iio: Fix crash when scan_bytes is computed with active_scan_mask == NULL
        iio: Fix mcp4725 dev-to-indio_dev conversion in suspend/resume
        iio: Fix bma180 dev-to-indio_dev conversion in suspend/resume
        iio: Fix tmp006 dev-to-indio_dev conversion in suspend/resume
        iio: iio_device_add_event_sysfs() bugfix
        staging: iio: ade7854-spi: Fix return value
        staging:iio:hmc5843: Fix measurement conversion
        iio: isl29018: Fix uninitialized value
        staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer enabled for built in dummy driver.
        iio: at91: fix adc_clk overflow
        staging: line6: add bounds check in snd_toneport_source_put()
        Staging: comedi: Fix dependencies for drivers misclassified as PCI
        staging: r8188eu: Adjust RX gain
        staging: r8188eu: Fix smatch warning in core/rtw_ieee80211.
        staging: r8188eu: Fix smatch error in core/rtw_mlme_ext.c
        staging: r8188eu: Fix Smatch off-by-one warning in hal/rtl8188e_hal_init.c
        ...
      9d23108d
    • Linus Torvalds's avatar
      Merge tag 'usb-3.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · e04a0a5a
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a number of small USB fixes for 3.12-rc2.
      
        One is a revert of a EHCI change that isn't quite ready for 3.12.
        Others are minor things, gadget fixes, Kconfig fixes, and some quirks
        and documentation updates.
      
        All have been in linux-next for a bit"
      
      * tag 'usb-3.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        USB: pl2303: distinguish between original and cloned HX chips
        USB: Faraday fotg210: fix email addresses
        USB: fix typo in usb serial simple driver Kconfig
        Revert "USB: EHCI: support running URB giveback in tasklet context"
        usb: s3c-hsotg: do not disconnect gadget when receiving ErlySusp intr
        usb: s3c-hsotg: fix unregistration function
        usb: gadget: f_mass_storage: reset endpoint driver data when disabled
        usb: host: fsl-mph-dr-of: Staticize local symbols
        usb: gadget: f_eem: Staticize eem_alloc
        usb: gadget: f_ecm: Staticize ecm_alloc
        usb: phy: omap-usb3: Fix return value
        usb: dwc3: gadget: avoid memory leak when failing to allocate all eps
        usb: dwc3: remove extcon dependency
        usb: gadget: add '__ref' for rndis_config_register() and cdc_config_register()
        usb: dwc3: pci: add support for BayTrail
        usb: gadget: cdc2: fix conversion to new interface of f_ecm
        usb: gadget: fix a bug and a WARN_ON in dummy-hcd
        usb: gadget: mv_u3d_core: fix violation of locking discipline in mv_u3d_ep_disable()
      e04a0a5a
  6. Sep 23, 2013
  7. Sep 22, 2013
  8. Sep 21, 2013