1. 14 9月, 2012 6 次提交
  2. 12 9月, 2012 2 次提交
    • S
      ARM: tegra: cpu-tegra: explicitly manage re-parenting · ce32ddaa
      Stephen Warren 提交于
      When changing a PLL's rate, it must have no active children. The CPU
      clock cannot be stopped, and CPU clock's divider is not used. The old
      clock driver used to handle this by internally reparenting the CPU clock
      onto a different PLL when changing the CPU clock rate. However, the new
      common-clock based clock driver does not do this, and probably cannot do
      this due to the locking issues it would cause.
      
      To solve this, have the Tegra cpufreq driver explicitly perform the
      reparenting operations itself. This is probably reasonable anyway,
      since such reparenting is somewhat a matter of policy (e.g. which
      alternate clock source to use, whether to leave the CPU clock a child
      of the alternate clock source if it's running at the desired rate),
      and hence is something more appropriate for the cpufreq driver than
      the core clock driver anyway.
      
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Cc: Peter De Schrijver <pdeschrijver@nvidia.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      ce32ddaa
    • S
      ARM: tegra: fix overflow in tegra20_pll_clk_round_rate() · 7a74a443
      Stephen Warren 提交于
      32-bit math isn't enough when e.g. *prate=12000000, and sel->n=1000.
      Use 64-bit math to prevent this.
      
      Cc: Prashant Gaikwad <pgaikwad@nvidia.com>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      7a74a443
  3. 07 9月, 2012 12 次提交
  4. 02 9月, 2012 2 次提交
    • L
      Linux 3.6-rc4 · 4cbe5a55
      Linus Torvalds 提交于
      4cbe5a55
    • J
      time: Move ktime_t overflow checking into timespec_valid_strict · cee58483
      John Stultz 提交于
      Andreas Bombe reported that the added ktime_t overflow checking added to
      timespec_valid in commit 4e8b1452 ("time: Improve sanity checking of
      timekeeping inputs") was causing problems with X.org because it caused
      timeouts larger then KTIME_T to be invalid.
      
      Previously, these large timeouts would be clamped to KTIME_MAX and would
      never expire, which is valid.
      
      This patch splits the ktime_t overflow checking into a new
      timespec_valid_strict function, and converts the timekeeping codes
      internal checking to use this more strict function.
      Reported-and-tested-by: NAndreas Bombe <aeb@debian.org>
      Cc: Zhouping Liu <zliu@redhat.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Prarit Bhargava <prarit@redhat.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: stable@vger.kernel.org
      Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cee58483
  5. 01 9月, 2012 3 次提交
  6. 31 8月, 2012 1 次提交
    • L
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · 155e36d4
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "A bunch of scattered fixes ati/intel/nouveau, couple of core ones,
        nothing too shocking or different."
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm: Add EDID_QUIRK_FORCE_REDUCED_BLANKING for ASUS VW222S
        gma500: Consider CRTC initially active.
        drm/radeon: fix dig encoder selection on DCE61
        drm/radeon: fix double free in radeon_gpu_reset
        drm/radeon: force dma32 to fix regression rs4xx,rs6xx,rs740
        drm/radeon: rework panel mode setup
        drm/radeon/atom: powergating fixes for DCE6
        drm/radeon/atom: rework DIG modesetting on DCE3+
        drm/radeon: don't disable plls that are in use by other crtcs
        drm/radeon: add proper checking of RESOLVE_BOX command for r600-r700
        drm/radeon: initialize tracked CS state
        drm/radeon: fix reading CB_COLORn_MASK from the CS
        drm/nvc0/copy: check PUNITS to determine which copy engines are disabled
        i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
        drm/i915: Use the correct size of the GTT for placing the per-process entries
        drm: Check for invalid cursor flags
        drm: Initialize object type when using DRM_MODE() macro
        drm/i915: fix color order for BGR formats on IVB
        drm/i915: fix wrong order of parameters in port checking functions
      155e36d4
  7. 30 8月, 2012 14 次提交