]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdgpu/vkms: drop redundant set of fb_modifiers_not_supported
authorGuchun Chen <guchun.chen@amd.com>
Thu, 6 Jul 2023 09:18:41 +0000 (17:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Jul 2023 13:02:37 +0000 (09:02 -0400)
Due to a coding typo.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c

index 53ff91fc6cf6bdc80204939ebb7d74f8f8dbb34a..7cf99f752e01c93ffe4cf92f0f4ae518c746a8c6 100644 (file)
@@ -500,8 +500,6 @@ static int amdgpu_vkms_sw_init(void *handle)
 
        adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true;
 
-       adev_to_drm(adev)->mode_config.fb_modifiers_not_supported = true;
-
        r = amdgpu_display_modeset_create_props(adev);
        if (r)
                return r;