drm/amd/pm: add vcn/jepg enable functions for yellow carp
authorHuang Rui <ray.huang@amd.com>
Wed, 13 Jan 2021 15:52:41 +0000 (23:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:17 +0000 (16:03 -0400)
commit3975cd8f7c257321bbbba5a740db0eb254c93f58
treef03fa483aa6ff2aa83219ef470e4a2090c09c576
parentdb72c3fac913058b3c6c379a904ceb79c78b9659
drm/amd/pm: add vcn/jepg enable functions for yellow carp

This patch is to add vcn/jepg enable functions to power up/down them
with smu messages. VCN/JEPG are poweroff by default.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c