[PATCH 2/2] drm/amd/display: Specify supported modifiers for dcn314
Alex Deucher
alexdeucher at gmail.com
Thu Jul 21 22:06:03 UTC 2022
Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
On Thu, Jul 21, 2022 at 6:04 PM <Roman.Li at amd.com> wrote:
> From: Roman Li <roman.li at amd.com>
>
> Use same modifiers as for AMDGPU_FAMILY_GC_11_0_0
>
> Signed-off-by: Roman Li <roman.li at amd.com>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
> index e27621e11947..2b3de9d0d3f3 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c
> @@ -1404,6 +1404,7 @@ static bool dm_plane_format_mod_supported(struct
> drm_plane *plane,
> }
> break;
> case AMDGPU_FAMILY_GC_11_0_0:
> + case AMDGPU_FAMILY_GC_11_0_2:
> switch (AMD_FMT_MOD_GET(TILE, modifier)) {
> case AMD_FMT_MOD_TILE_GFX11_256K_R_X:
> case AMD_FMT_MOD_TILE_GFX9_64K_R_X:
> --
> 2.17.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20220721/0c9d4324/attachment.htm>
More information about the amd-gfx
mailing list