]> www.infradead.org Git - users/dwmw2/linux.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 16:20:37 +0000 (12:20 -0400)
commit47053b1e7382628dd30415685ae257f766a311e4
tree1c6367d942e238f401d93dd1626ea27ac2416dce
parent0638c98c17aa12fe914459c82cd178247e21fb2b
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: 76818cdd11a2 ("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