1. 13 4月, 2010 4 次提交
  2. 10 4月, 2010 3 次提交
  3. 26 3月, 2010 4 次提交
  4. 19 3月, 2010 1 次提交
  5. 18 3月, 2010 1 次提交
  6. 27 2月, 2010 3 次提交
  7. 23 2月, 2010 6 次提交
  8. 11 2月, 2010 6 次提交
  9. 05 2月, 2010 1 次提交
  10. 26 1月, 2010 2 次提交
  11. 16 1月, 2010 1 次提交
  12. 13 1月, 2010 1 次提交
  13. 08 1月, 2010 2 次提交
  14. 07 1月, 2010 5 次提交
    • Z
      drm/i915: Add DP dpll limit on ironlake and use existing DPLL search function · 4547668a
      Zhao Yakui 提交于
      For some clocks, the old Ironlake DPLL calculator wold give m/n/p
      combinations that didn't match the spreadsheet of what HW validation
      tests.  Instead, use the G4X DPLL calculator, which does a better job
      at it.
      
      So we use the intel_g4x_find_best_pll to calculate the DPLL for CRT/HDMI/LVDS
      on ironlake. At the same time to consider the dpll setting for display port, we
      add the display port DPLL limit on ironlake, which will directly use the
      function of intel_find_pll_ironlake_dp to get the corresponding dpll setting.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      4547668a
    • Z
      drm/i915: Select the correct BPC for LVDS on Ironlake · e5a95eb7
      Zhao Yakui 提交于
      Select the correct BPC for LVDS on Ironlake. If it is 18-bit LVDS panel,
      the BPC will be 6. When it is 24-bit LVDS panel, the BPC will 8.
      At the same time the BPC will be 8 when the output device is CRT/HDMI/DP.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      e5a95eb7
    • Z
      drm/i915: Make the BPC in FDI rx/transcoder be consistent with that in pipeconf on Ironlake · 8faf3b31
      Zhao Yakui 提交于
      Make the BPC in FDI rx/transcoder be consistent with that in pipeconf on Ironlake.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      8faf3b31
    • Z
      drm/i915: Enable/disable the dithering for LVDS based on VBT setting · 898822ce
      Zhao Yakui 提交于
      Enable/disable the dithering for LVDS based on VBT setting. On the 965/g4x
      platform the dithering flag is defined in LVDS register. And on the ironlake
      the dithering flag is defined in pipeconf register.
      Signed-off-by: NZhao Yakui <yakui.zhao@intel.com>
      Signed-off-by: NEric Anholt <eric@anholt.net>
      898822ce
    • C
      drm/i915: Hold struct mutex whilst pinning power context bo. · 9ea8d059
      Chris Wilson 提交于
      Hugh found an error path where we were attempting to unref a bo without
      holding the struct mutex:
      
        [drm:intel_init_clock_gating] *ERROR* failed to pin power context: -16
        ------------[ cut here ]------------
        WARNING: at drivers/gpu/drm/drm_gem.c:438 drm_gem_object_free+0x20/0x5e()
        Hardware name: ESPRIMO Mobile V5505
        Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device
        Pid: 3793, comm: s2ram Not tainted 2.6.33-rc2 #4
        Call Trace:
         [<7815298e>] warn_slowpath_common+0x59/0x6b
         [<781529b3>] warn_slowpath_null+0x13/0x18
         [<78317c1a>] ? drm_gem_object_free+0x20/0x5e
         [<78317c1a>] drm_gem_object_free+0x20/0x5e
         [<78317bfa>] ? drm_gem_object_free+0x0/0x5e
         [<7829df11>] kref_put+0x38/0x45
         [<7833a5f0>] intel_init_clock_gating+0x232/0x271
         [<78317bfa>] ? drm_gem_object_free+0x0/0x5e
         [<7832c307>] i915_restore_state+0x21a/0x2b3
         [<7832379d>] i915_resume+0x3c/0xbb
         [<78174fe5>] ? trace_hardirqs_on_caller+0xfc/0x123
         [<7831c756>] ? drm_class_resume+0x0/0x3e
         [<7831c78d>] drm_class_resume+0x37/0x3e
         [<78351e0a>] legacy_resume+0x1e/0x51
         [<78351ece>] device_resume+0x91/0xab
         [<7831c756>] ? drm_class_resume+0x0/0x3e
         [<78352226>] dpm_resume+0x58/0x10f
         [<783522fb>] dpm_resume_end+0x1e/0x2c
         [<78180f80>] suspend_devices_and_enter+0x61/0x84
         [<78180ff8>] enter_state+0x55/0x83
         [<7818091c>] state_store+0x94/0xaa
         [<7829d09e>] kobj_attr_store+0x1e/0x23
         [<782098e0>] sysfs_write_file+0x66/0x99
         [<781cd2f0>] vfs_write+0x8a/0x108
         [<781cd408>] sys_write+0x3c/0x63
         [<78125c10>] sysenter_do_call+0x12/0x36
        ---[ end trace a343537f29950fda ]---
      
      It is in fact slightly more insiduous that first appears since we are
      attempting to not just free the object without the lock, but are trying
      to do the whole bo manipulation without holding the lock.
      Reported-by: NHugh Dickins <hugh.dickins@tiscali.co.uk>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: stable@kernel.org
      Signed-off-by: NEric Anholt <eric@anholt.net>
      9ea8d059