]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: init atpx at switcheroo register time (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Jul 2016 18:52:35 +0000 (14:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:32 +0000 (14:36 -0400)
commitd6555590010f7dd4653598a9e741634a8d78a171
treee6c8f62780f9d95d28c9b10323a46a4d190776f0
parent8b78cac8efae595e3b295f65ed24828a21cb2ebf
drm/amdgpu: init atpx at switcheroo register time (v2)

If we do it at enable time, it's too late for the feature
checks.

v2: drop .init setting as per Peter's comments

Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Peter Wu <peter@lekensteyn.nl>
drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c