Message ID | cover.1673766696.git.drv@mailo.com (mailing list archive) |
---|---|
Headers | show |
Series | drm/amd/pm/powerplay: use bitwise or for bitmasks addition | expand |
[AMD Official Use Only - General] Series is reviewed-by: Evan Quan <evan.quan@amd.com> > -----Original Message----- > From: Deepak R Varma <drv@mailo.com> > Sent: Sunday, January 15, 2023 3:16 PM > To: Quan, Evan <Evan.Quan@amd.com>; Deucher, Alexander > <Alexander.Deucher@amd.com>; Koenig, Christian > <Christian.Koenig@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; David > Airlie <airlied@gmail.com>; Daniel Vetter <daniel@ffwll.ch>; amd- > gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux- > kernel@vger.kernel.org > Cc: Saurabh Singh Sengar <ssengar@microsoft.com>; Praveen Kumar > <kumarpraveen@linux.microsoft.com> > Subject: [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(-) > > -- > 2.34.1 > >
Applied. Thanks! Alex On Sun, Jan 15, 2023 at 9:27 PM Quan, Evan <Evan.Quan@amd.com> wrote: > > [AMD Official Use Only - General] > > Series is reviewed-by: Evan Quan <evan.quan@amd.com> > > > -----Original Message----- > > From: Deepak R Varma <drv@mailo.com> > > Sent: Sunday, January 15, 2023 3:16 PM > > To: Quan, Evan <Evan.Quan@amd.com>; Deucher, Alexander > > <Alexander.Deucher@amd.com>; Koenig, Christian > > <Christian.Koenig@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; David > > Airlie <airlied@gmail.com>; Daniel Vetter <daniel@ffwll.ch>; amd- > > gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux- > > kernel@vger.kernel.org > > Cc: Saurabh Singh Sengar <ssengar@microsoft.com>; Praveen Kumar > > <kumarpraveen@linux.microsoft.com> > > Subject: [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(-) > > > > -- > > 2.34.1 > > > >