OSDN Git Service

drm/amd/display: Only update mpc blend config if not full update
authorEric Yang <Eric.Yang2@amd.com>
Wed, 14 Mar 2018 21:41:57 +0000 (17:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:42 +0000 (13:07 -0500)
commit4173c0bdd7b79ef46161037f8845654416dbaca9
treeb470329caa7a1bcdb88ae6246ac48ff2450b62ce
parentd72eb20379022a948c219e1fc451b6b0200cc7c5
drm/amd/display: Only update mpc blend config if not full update

The current mpcc insert/remove logic does not support updating
only a single mpcc. So when pixel alpha changed but no full update
we can mistakenly shuffle the mpcc layering order. With this change
we will only insert/remove mpcc if there is full update.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c