]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: correct check of coverage blend mode
authorMelissa Wen <mwen@igalia.com>
Tue, 12 Jul 2022 11:32:39 +0000 (10:32 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Jul 2022 15:25:18 +0000 (11:25 -0400)
commitd641ed8cac013d9412a5a321d2cd2dcb1ffd877c
treef70f8cf4dc7f20004bf03b180ffc164ba13b7bf2
parent86e9f9014172abcff648de9118086a7204a475f4
drm/amd/display: correct check of coverage blend mode

Check the value of per_pixel_alpha to decide whether the Coverage pixel
blend mode is applicable or not.

Fixes: 940a4a4e01ce ("drm/amd/display: add Coverage blend mode for overlay plane")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c