]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: use the table size member in the structure instead of getting...
authorHuang Rui <ray.huang@amd.com>
Sun, 31 Mar 2019 04:49:11 +0000 (12:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit1e0c5370173ed6ac5c5ad1769b73ba03370f5dcd
treebea0c73fa248290aa5b37a5719a78e2ff6f75e8a
parent8b2c44600aecf2648fa1c26f80f76ba3e3eab084
drm/amd/powerplay: use the table size member in the structure instead of getting directly

This patch uses the table size member in the structure instead of getting
directly, because the table is different in each asic.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c