]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: only send GmiPwrDnControl msg on master die (v3)
authorTao Zhou <tao.zhou1@amd.com>
Mon, 10 Jan 2022 07:12:38 +0000 (15:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jan 2022 20:44:28 +0000 (15:44 -0500)
commitbbd99abe9d10a008b6814a59dfe40dd98c94800f
tree8008f401bd89aac38d787941fb038030ced7c297
parentb1a5f67bdbe4c609f49aec72f0b474379ea071fa
drm/amd/pm: only send GmiPwrDnControl msg on master die (v3)

PMFW only returns 0 on master die and sends NACK back on other dies for
the message.

v2: only send GmiPwrDnControl msg on master die instead of all
dies.
v3: remove the pointer check for get_socket_id and get_die_id as they
should be present on Aldebaran.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c