Skip to content

drm/amd/pm/powerplay: use bitwise or for bitmasks addition

Deepak R Varma amd-gfx dri-devel lkml 1 version Applied

Status from this message: Applied. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3drm/amd/pm/powerplay/smumgr: use bitwise or for additiondrivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c+2 -20 replies
2/3drm/amd/pm/powerplay/hwmgr: use bitwise or for bitmasks additiondrivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c+4 -40 replies
3/3drm/amd/pm/powerplay/smumgr/ci: use bitwise or for bitmasks additiondrivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] drm/amd/pm/powerplay: use bitwise or for bitmasks addition

The patch series proposes usage of bitwise or "|" operator for addition of bitmasks instead of using numerial additions. The former is quicker and cleaner.

The proposed change is compile tested.

Deepak R Varma (3):
drm/amd/pm/powerplay/smumgr: use bitwise or for addition drm/amd/pm/powerplay/hwmgr: use bitwise or for bitmasks addition drm/amd/pm/powerplay/smumgr/ci: use bitwise or for bitmasks addition

 drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c      | 8 ++++----
 drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c      | 2 +-
 drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c | 2 +-
 drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c   | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1