drm/amd/pm: initial feature_enabled/feature_support bitmap for vangogh
authorHuang Rui <ray.huang@amd.com>
Fri, 8 Jan 2021 04:25:28 +0000 (12:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:47:26 +0000 (23:47 -0500)
commitaedebd40bb6ee4dd909c97f061fb91fd7e1bbf06
tree06ef6258ad68a3bed2bb90d043d4f2c54c33b6e3
parent4dac9f20625abebc4f9114ef46d15a1ac41b546d
drm/amd/pm: initial feature_enabled/feature_support bitmap for vangogh

VanGogh supports feature mask checking which exposed by smu firmware. It
has to initial at first, otherwise, all SMU_FEATURE_xxx masks are
invalid.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c