]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/amd/display: We shouldn't set format_default on plane as atomic driver
authorHarry Wentland <harry.wentland@amd.com>
Tue, 6 Mar 2018 16:14:12 +0000 (11:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 05:23:51 +0000 (00:23 -0500)
This is still a leftover from early atomic brinup days.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 95b639eddcb6334bf52fe21654a297e90b325a61..63c67346d316ac26a53a6f52e34feb8857dc9550 100644 (file)
@@ -3134,8 +3134,6 @@ static int amdgpu_dm_plane_init(struct amdgpu_display_manager *dm,
 
        switch (aplane->base.type) {
        case DRM_PLANE_TYPE_PRIMARY:
-               aplane->base.format_default = true;
-
                res = drm_universal_plane_init(
                                dm->adev->ddev,
                                &aplane->base,