1. 25 12月, 2013 2 次提交
  2. 16 12月, 2013 1 次提交
    • S
      radeon_pm: fix oops in hwmon_attributes_visible() and radeon_hwmon_show_temp_thresh() · e4158f1b
      Sergey Senozhatsky 提交于
      Since commit ec39f64b ("drm/radeon/dpm: Convert to use
      devm_hwmon_register_with_groups") radeon_hwmon_init() is using
      hwmon_device_register_with_groups(), which sets `rdev' as a device
      private driver_data, while hwmon_attributes_visible() and
      radeon_hwmon_show_temp_thresh() are still waiting for `drm_device'.
      
      Fix them by using dev_get_drvdata(), in order to avoid this oops:
      
        BUG: unable to handle kernel paging request at 0000000000001e28
        IP: [<ffffffffa02ae8b4>] hwmon_attributes_visible+0x18/0x3d [radeon]
        PGD 15057e067 PUD 151a8e067 PMD 0
        Oops: 0000 [#1] PREEMPT SMP
        Call Trace:
          internal_create_group+0x114/0x1d9
          sysfs_create_group+0xe/0x10
          sysfs_create_groups+0x22/0x5f
          device_add+0x34f/0x501
          device_register+0x15/0x18
          hwmon_device_register_with_groups+0xb5/0xed
          radeon_hwmon_init+0x56/0x7c [radeon]
          radeon_pm_init+0x134/0x7e5 [radeon]
          radeon_modeset_init+0x75f/0x8ed [radeon]
          radeon_driver_load_kms+0xc6/0x187 [radeon]
          drm_dev_register+0xf9/0x1b4 [drm]
          drm_get_pci_dev+0x98/0x129 [drm]
          radeon_pci_probe+0xa3/0xac [radeon]
          pci_device_probe+0x6e/0xcf
          driver_probe_device+0x98/0x1c4
          __driver_attach+0x5c/0x7e
          bus_for_each_dev+0x7b/0x85
          driver_attach+0x19/0x1b
          bus_add_driver+0x104/0x1ce
          driver_register+0x89/0xc5
          __pci_register_driver+0x58/0x5b
          drm_pci_init+0x86/0xea [drm]
          radeon_init+0x97/0x1000 [radeon]
          do_one_initcall+0x7f/0x117
          load_module+0x1583/0x1bb4
          SyS_init_module+0xa0/0xaf
      Signed-off-by: NSergey Senozhatsky <sergey.senozhatsky@gmail.com>
      Cc: Borislav Petkov <bp@alien8.de>
      Cc: Alexander Deucher <Alexander.Deucher@amd.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4158f1b
  3. 03 12月, 2013 1 次提交
  4. 16 11月, 2013 1 次提交
  5. 09 11月, 2013 1 次提交
  6. 06 11月, 2013 1 次提交
  7. 02 11月, 2013 8 次提交
  8. 10 10月, 2013 1 次提交
  9. 23 9月, 2013 1 次提交
  10. 16 9月, 2013 1 次提交
  11. 11 9月, 2013 3 次提交
  12. 31 8月, 2013 7 次提交
  13. 08 8月, 2013 2 次提交
  14. 09 7月, 2013 2 次提交
  15. 06 7月, 2013 3 次提交
    • A
      drm/radeon/dpm: add infrastructure to force performance levels · 70d01a5e
      Alex Deucher 提交于
      This allows you to force specific power levels within a power
      state.  Due to hardware restrictions between generations, the
      interface is limited to the following 3 selections:
      
      auto: all levels enabled
      low: forced to the lowest power level
      high: forced to the highest power level
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      70d01a5e
    • A
      drm/radeon: add support for 3d perf states on older asics · edcaa5b1
      Alex Deucher 提交于
      Certain older rv770 asics have both a performance and
      a 3D performance state rather than just multiple performance
      levels in the state power state.  The current code would
      select the performance state rather than the 3D performance
      state when the "performance" profile was selected.  This change
      switches to the "balanced" profile by default which ends up being
      the internal performance profile.  When the user selects the
      "performance" profile, it selects the internal 3D performance
      state so the user can select the higher performance modes.
      
      For most asics this changes nothing.  For certain rv770 asics
      with static performance and 3D performance states, this allows
      you to select between then using by selecting the "balanced"
      and "performance" dpm profiles.
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      edcaa5b1
    • A
      drm/radeon: set default clocks for SI when DPM is disabled · c6cf7777
      Alex Deucher 提交于
      Fix patching of vddc values for SI and enable manually forcing
      clocks to default levels as per NI.
      
      This improves the out of the box performance with SI asics.
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c6cf7777
  16. 02 7月, 2013 2 次提交
  17. 28 6月, 2013 3 次提交