diff options
author | 2018-10-25 17:02:42 -0400 | |
---|---|---|
committer | 2018-11-19 15:27:38 -0500 | |
commit | 6263f0fd0626740cb7d68fe1182f16a8b4eb6d37 (patch) | |
tree | 25ade02acc9a6fac2af16e0f8f20f76031d7a528 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | drm/amd/display: calculate stream->phy_pix_clk before clock mapping (diff) | |
download | wireguard-linux-6263f0fd0626740cb7d68fe1182f16a8b4eb6d37.tar.xz wireguard-linux-6263f0fd0626740cb7d68fe1182f16a8b4eb6d37.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions