drm/amd/display: Surface Validation Fixes + Audio Mask
authorLeon Elazar <leon.elazar@amd.com>
Thu, 23 Feb 2017 21:10:43 +0000 (16:10 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:16:14 +0000 (17:16 -0400)
commit1781958ff41b28b3cd7b4a2ed691c932031c5515
tree480d4218c25695963d331060ab1dc9252ac94862
parent227d2518997e122bb702d2110eafd337ad9ff078
drm/amd/display: Surface Validation Fixes + Audio Mask

1. dc: Adding missing mask for audio register DCCG_AUDIO_DTO_SOURCE
2. Changing the surface validation to check the limits of the clip rect instead of the source rect.

Signed-off-by: Leon Elazar <leon.elazar@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_audio.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c