[PATCH] drm/amdgpu/vkms: drop redundant set of fb_modifiers_not_supported
Christian König
christian.koenig at amd.com
Thu Jul 6 11:21:54 UTC 2023
Am 06.07.23 um 11:23 schrieb Guchun Chen:
> Due to a coding typo.
>
> Signed-off-by: Guchun Chen <guchun.chen at amd.com>
Reviewed-by: Christian König <christian.koenig at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
> index 70fb0df039e3..2a318c6d2cdf 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c
> @@ -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;
More information about the amd-gfx
mailing list