diff options
author | Nicholas Kazlauskas <[email protected]> | 2019-04-01 09:43:34 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-04-15 00:21:28 -0500 |
commit | 6491f0c05abd009631e0d0a33d671bb5a685847a (patch) | |
tree | fb35af18eb374dddcf045d0a4f9e9c041a7e8be7 /scripts/bpf_helpers_doc.py | |
parent | 5ac4619b9d2fdbb54ef4b247db774637e347d46e (diff) |
drm/amd/display: Add basic downscale and upscale valdiation
[Why]
Planes have downscaling limits and upscaling limits per format and DM
is expected to validate these using DC caps. We should fail atomic
check validation if we aren't capable of doing the scaling.
[How]
We don't currently create store which DC plane maps to which DRM plane
so we can't easily check the caps directly. For now add basic
constraints that cover the absolute min and max downscale / upscale
limits for most RGB and YUV formats across ASICs.
Leave a TODO indicating that these should really be done with DC caps.
We'll probably need to subclass DRM planes again in order to correctly
identify which DC plane maps to it.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Bhawanpreet Lakha <Bhawanpreet [email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions