diff options
author | Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> | 2017-05-30 16:49:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:07:30 -0400 |
commit | 93b8ca9b8711ec2536060897f0f05db41dd810f5 (patch) | |
tree | edced68db1df6f6e71da6a6e5a17f4aa653a225f /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
parent | 0bf954c154d7a8989afb6c138d63ca846bab47db (diff) |
drm/amdgpu: Enable DRIVER_ATOMIC flag for DAL.
This flag is needed to pass several of IGT test cases.
Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c index 2484dac08050..90fa8e8bc6fb 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |||
@@ -348,7 +348,8 @@ int amdgpu_fbdev_init(struct amdgpu_device *adev) | |||
348 | drm_fb_helper_single_add_all_connectors(&rfbdev->helper); | 348 | drm_fb_helper_single_add_all_connectors(&rfbdev->helper); |
349 | 349 | ||
350 | /* disable all the possible outputs/crtcs before entering KMS mode */ | 350 | /* disable all the possible outputs/crtcs before entering KMS mode */ |
351 | drm_helper_disable_unused_functions(adev->ddev); | 351 | if (!amdgpu_device_has_dc_support(adev)) |
352 | drm_helper_disable_unused_functions(adev->ddev); | ||
352 | 353 | ||
353 | drm_fb_helper_initial_config(&rfbdev->helper, bpp_sel); | 354 | drm_fb_helper_initial_config(&rfbdev->helper, bpp_sel); |
354 | return 0; | 355 | return 0; |