1. 16 3月, 2022 6 次提交
  2. 03 3月, 2022 1 次提交
  3. 17 2月, 2022 1 次提交
  4. 03 2月, 2022 2 次提交
  5. 26 1月, 2022 1 次提交
  6. 02 12月, 2021 1 次提交
  7. 23 11月, 2021 1 次提交
  8. 18 11月, 2021 4 次提交
  9. 04 11月, 2021 1 次提交
  10. 29 10月, 2021 4 次提交
  11. 20 10月, 2021 1 次提交
  12. 07 10月, 2021 1 次提交
  13. 05 10月, 2021 1 次提交
  14. 28 9月, 2021 1 次提交
  15. 24 9月, 2021 2 次提交
    • A
      drm/amd/display: fix empty debug macros · c48977f0
      Arnd Bergmann 提交于
      Using an empty macro expansion as a conditional expression
      produces a W=1 warning:
      
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c: In function 'dce_aux_transfer_with_retries':
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:775:156: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
        775 |                                                                 "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: AUX_TRANSACTION_REPLY_I2C_OVER_AUX_DEFER");
            |                                                                                                                                                            ^
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:783:155: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
        783 |                                                                 "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: AUX_TRANSACTION_REPLY_I2C_OVER_AUX_NACK");
            |                                                                                                                                                           ^
      
      Expand it to "do { } while (0)" instead to make the expression
      more robust and avoid the warning.
      
      Fixes: 56aca230 ("drm/amd/display: Add AUX I2C tracing.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      c48977f0
    • A
      drm/amd/display: fix empty debug macros · 7ac80532
      Arnd Bergmann 提交于
      Using an empty macro expansion as a conditional expression
      produces a W=1 warning:
      
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c: In function 'dce_aux_transfer_with_retries':
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:775:156: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
        775 |                                                                 "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: AUX_TRANSACTION_REPLY_I2C_OVER_AUX_DEFER");
            |                                                                                                                                                            ^
      drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_aux.c:783:155: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
        783 |                                                                 "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: AUX_TRANSACTION_REPLY_I2C_OVER_AUX_NACK");
            |                                                                                                                                                           ^
      
      Expand it to "do { } while (0)" instead to make the expression
      more robust and avoid the warning.
      
      Fixes: 56aca230 ("drm/amd/display: Add AUX I2C tracing.")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      7ac80532
  16. 16 9月, 2021 1 次提交
  17. 15 9月, 2021 3 次提交
  18. 02 9月, 2021 1 次提交
  19. 10 8月, 2021 2 次提交
  20. 28 7月, 2021 3 次提交
  21. 22 7月, 2021 2 次提交