drm/amd/display: Take full update path if number of planes changed
authorAlvin Lee <alvin.lee2@amd.com>
Mon, 19 Jun 2023 15:55:57 +0000 (11:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2023 17:12:16 +0000 (13:12 -0400)
commitc85c2c849ce776d5039a77d56936a216f9a07b57
treefcddc0567ba27e0ed13fd7cc2f64c8fa6a8cc21e
parentd5b5d6cb1d5ea7e2cf804aac40c23a860a2c28c3
drm/amd/display: Take full update path if number of planes changed

[Description]
- A full update is required if the number of planes for a given
  stream changes
- The new fast update path only checked for stream and plane updates,
  but there could be a plane addition or removal without one of the
  stream and plane updates triggering a full update
- Add an explicit check for number of planes changing for a full update

Reviewed-by: Samson Tam <samson.tam@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/core/dc.c