[PATCH 2/3] drm/amdgpu/display: drop unused variable
Alex Deucher
alexander.deucher at amd.com
Tue Jun 14 14:05:23 UTC 2022
No longer used so drop it.
Fixes: d2d5adc87f69 ("drm/amd/display: ignore modifiers when checking for format support")
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 258e58782799..c2bc7db85d7e 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -4936,8 +4936,6 @@ static bool dm_plane_format_mod_supported(struct drm_plane *plane,
struct amdgpu_device *adev = drm_to_adev(plane->dev);
const struct drm_format_info *info = drm_format_info(format);
struct hw_asic_id asic_id = adev->dm.dc->ctx->asic_id;
- int i;
-
enum dm_micro_swizzle microtile = modifier_gfx9_swizzle_mode(modifier) & 3;
if (!info)
--
2.35.3
More information about the amd-gfx
mailing list