commit | 6263f0fd0626740cb7d68fe1182f16a8b4eb6d37 | [log] [tgz] |
---|---|---|
author | Nikola Cornij <nikola.cornij@amd.com> | Thu Oct 25 17:02:42 2018 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Nov 19 15:27:38 2018 -0500 |
tree | 25ade02acc9a6fac2af16e0f8f20f76031d7a528 | |
parent | 08e1c28dd521c7b08d1b0af0bae9fb22ccc012a4 [diff] |
drm/amd/display: Consolidate two-pixels-per-container check [why] The condition to check for two pixels per containter has become rather long and is used in number of places. [how] Move the check to a helper function. Signed-off-by: Nikola Cornij <nikola.cornij@amd.com> Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>