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>
Fri, 21 Apr 2023 12:50:21 +0000 (08:50 -0400)
commit3ac73f1ef2b403048c98fdf0f29ba32571efb849
treed45b64e8b3c5d27d9542f783f85fcc3cea2daf21
parent4335077a76095ff75dc0ffb031aeae93f9f5e80f
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