OSDN Git Service

drm/amd/display: Limit new fast update path to addr and gamma / color
authorAlvin Lee <alvin.lee2@amd.com>
Thu, 15 Jun 2023 18:26:46 +0000 (14:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2023 17:12:15 +0000 (13:12 -0400)
commit1a3148b5f21b771c0ed362960fc97c92c6f9fc26
treede62fe7e58767eb5bee0e7388dc204f271e75b06
parent27fc10d1095f7a7de7c917638d7134033a190dd8
drm/amd/display: Limit new fast update path to addr and gamma / color

[Description]
- We want to limit the new fast update path to address and gamma updates
  only.
- Add a check in dc_update_planes_and_stream to only take the new fast
  update path if we only have the specific fast updates defined.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h