OSDN Git Service

drm/amdgpu: Set pm_display_cfg in non-dc mode
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 26 Mar 2018 14:08:29 +0000 (22:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:51 +0000 (13:07 -0500)
commitd91ea4969bc5edbbe3bd723a1b3ae7d947f62a5a
treed9bce85d67bdc52d603f3cf3bc8be72c48bfc929
parentb3892e2bb519fe18225d0628f0dd255761f16502
drm/amdgpu: Set pm_display_cfg in non-dc mode

those display informations are needed by powerplay.

Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c