1. 16 11月, 2022 1 次提交
  2. 29 9月, 2022 1 次提交
  3. 28 9月, 2022 1 次提交
  4. 14 9月, 2022 1 次提交
  5. 26 8月, 2022 1 次提交
  6. 22 6月, 2022 1 次提交
  7. 19 5月, 2022 2 次提交
  8. 03 2月, 2022 2 次提交
  9. 01 2月, 2022 2 次提交
  10. 25 8月, 2021 1 次提交
  11. 24 8月, 2021 1 次提交
  12. 06 8月, 2021 2 次提交
    • R
      drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled · 8d70136e
      Randy Dunlap 提交于
      'pm_suspend_target_state' is only available when CONFIG_PM_SLEEP
      is set/enabled. OTOH, when both SUSPEND and HIBERNATION are not set,
      PM_SLEEP is not set, so this variable cannot be used.
      
      ../drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: In function ‘amdgpu_acpi_is_s0ix_active’:
      ../drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:1046:11: error: ‘pm_suspend_target_state’ undeclared (first use in this function); did you mean ‘__KSYM_pm_suspend_target_state’?
          return pm_suspend_target_state == PM_SUSPEND_TO_IDLE;
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 __KSYM_pm_suspend_target_state
      
      Also use shorter IS_ENABLED(CONFIG_foo) notation for checking the
      2 config symbols.
      
      Fixes: 91e27371 ("drm/amdgpu: Check pmops for desired suspend state")
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-next@vger.kernel.org
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      8d70136e
    • R
      drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled · 5706cb3c
      Randy Dunlap 提交于
      'pm_suspend_target_state' is only available when CONFIG_PM_SLEEP
      is set/enabled. OTOH, when both SUSPEND and HIBERNATION are not set,
      PM_SLEEP is not set, so this variable cannot be used.
      
      ../drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: In function ‘amdgpu_acpi_is_s0ix_active’:
      ../drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:1046:11: error: ‘pm_suspend_target_state’ undeclared (first use in this function); did you mean ‘__KSYM_pm_suspend_target_state’?
          return pm_suspend_target_state == PM_SUSPEND_TO_IDLE;
                 ^~~~~~~~~~~~~~~~~~~~~~~
                 __KSYM_pm_suspend_target_state
      
      Also use shorter IS_ENABLED(CONFIG_foo) notation for checking the
      2 config symbols.
      
      Fixes: 91e27371 ("drm/amdgpu: Check pmops for desired suspend state")
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Cc: Alex Deucher <alexander.deucher@amd.com>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-next@vger.kernel.org
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      5706cb3c
  13. 29 7月, 2021 1 次提交
  14. 28 7月, 2021 3 次提交
  15. 02 6月, 2021 2 次提交
  16. 28 5月, 2021 2 次提交
  17. 22 5月, 2021 2 次提交
  18. 11 5月, 2021 1 次提交
  19. 24 3月, 2021 1 次提交
  20. 11 3月, 2021 1 次提交
  21. 04 3月, 2021 1 次提交
  22. 03 3月, 2021 1 次提交
  23. 16 12月, 2020 1 次提交
  24. 14 11月, 2020 1 次提交
  25. 10 10月, 2020 2 次提交
    • Y
      drm/amdgpu: Fix invalid number of character '{' in amdgpu_acpi_init · 9c27bc97
      Ye Bin 提交于
      Fix follow warning:
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: ''.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_ACPI...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: 'CONFIG_ACPI'.
      ......
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_X86...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: 'CONFIG_X86'.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: _X86_...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: '_X86_'.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: __linux__...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: '__linux__'.
      
      Fixes: 97d798b2 ("drm/amdgpu: simplify ATIF backlight handling")
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NYe Bin <yebin10@huawei.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      9c27bc97
    • Y
      drm/amdgpu: Fix invalid number of character '{' in amdgpu_acpi_init · 84900719
      Ye Bin 提交于
      Fix follow warning:
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: ''.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_ACPI...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: 'CONFIG_ACPI'.
      ......
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: CONFIG_X86...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: 'CONFIG_X86'.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: _X86_...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: '_X86_'.
      Checking drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: __linux__...
      [drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:770]: (error) Invalid number
      of character '{' when these macros are defined: '__linux__'.
      
      Fixes: 97d798b2 ("drm/amdgpu: simplify ATIF backlight handling")
      Reported-by: NHulk Robot <hulkci@huawei.com>
      Signed-off-by: NYe Bin <yebin10@huawei.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      84900719
  26. 25 8月, 2020 1 次提交
  27. 29 5月, 2020 1 次提交
  28. 06 5月, 2020 1 次提交
  29. 11 6月, 2019 1 次提交
  30. 06 5月, 2019 1 次提交