diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2020-06-04 22:54:39 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 08:59:25 +0300 |
commit | 8c44515be175a1bc18620284d23efa385daea49f (patch) | |
tree | 83e1a284a6b77cd99ea9ee23636edb079f063c20 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f822406cb186b8018554f167fecae43043a90359 (diff) | |
download | linux-8c44515be175a1bc18620284d23efa385daea49f.tar.xz |
drm/amd/display: clip plane rects in DM before passing into DC
[Why]
DC global validation can fail when userspace requests to draw large
plane without performing the clipping themselves.
This is observed in the IGT kms_plane panning tests for 4K displays
where they draw an 8K plane without any clipping while expecting only
the top 4K to be drawn.
[How]
DRM already has helpers to take care of the clipping necessary and to
mark whether a plane is visible or not, so make use of these helpers
in DM before passing the plane to DC.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions