drm/amd/display: Set min_width and min_height capability for DCN30
authorIgor Kravchenko <Igor.Kravchenko@amd.com>
Fri, 10 Jul 2020 20:24:30 +0000 (16:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Apr 2023 02:51:04 +0000 (22:51 -0400)
commit9675b3ba99ec79273d94afa09e9b69e2b8c0d238
tree0d832e97bafbae4a8f552e6211f5dc475895dd19
parent3caab67db1f69e077fb12ac194d3cd2a4de06d8d
drm/amd/display: Set min_width and min_height capability for DCN30

Add min_width, min_height fields to dc_plane_cap structure. Set values
to 16x16 for discrete ASICs, and 64x64 for others.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Igor Kravchenko <Igor.Kravchenko@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c