OSDN Git Service

drm/amdgpu: move get_index_into_master_table macro into atomfirmware header
authorHuang Rui <ray.huang@amd.com>
Fri, 14 Dec 2018 09:09:08 +0000 (17:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
commitae2e20136417f58d37a37c747cb6e12a2650bbd5
tree003cf08c71f31f831579dbc717cab11d43792482
parente15da5a4b08a94ef63630c85197dabd1c8a88b36
drm/amdgpu: move get_index_into_master_table macro into atomfirmware header

This patchs move get_index_into_master_table macro into atomfirmware header for
future use on smu.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h