All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/amd/pm/powerplay: use bitwise or for bitmasks addition
@ 2023-01-15  7:15 ` Deepak R Varma
  0 siblings, 0 replies; 13+ messages in thread
From: Deepak R Varma @ 2023-01-15  7:15 UTC (permalink / raw)
  To: Evan Quan, Alex Deucher, Christian König, Pan, Xinhui,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel, linux-kernel
  Cc: Praveen Kumar, Saurabh Singh Sengar

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(-)

-- 
2.34.1




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-01-16 18:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-15  7:15 [PATCH 0/3] drm/amd/pm/powerplay: use bitwise or for bitmasks addition Deepak R Varma
2023-01-15  7:15 ` Deepak R Varma
2023-01-15  7:16 ` [PATCH 1/3] drm/amd/pm/powerplay/smumgr: use bitwise or for addition Deepak R Varma
2023-01-15  7:16   ` Deepak R Varma
2023-01-15  7:17 ` [PATCH 2/3] drm/amd/pm/powerplay/hwmgr: use bitwise or for bitmasks addition Deepak R Varma
2023-01-15  7:17   ` Deepak R Varma
2023-01-15  7:17 ` [PATCH 3/3] drm/amd/pm/powerplay/smumgr/ci: " Deepak R Varma
2023-01-15  7:17   ` Deepak R Varma
2023-01-16  2:27 ` [PATCH 0/3] drm/amd/pm/powerplay: " Quan, Evan
2023-01-16  2:27   ` Quan, Evan
2023-01-16 17:55   ` Alex Deucher
2023-01-16 17:55     ` Alex Deucher
2023-01-16 17:55     ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.