aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorImre Deak <[email protected]>2023-09-21 19:51:50 +0000
committerImre Deak <[email protected]>2023-09-28 09:51:54 +0000
commit703c5994fe1a2bf45391c2a2a365bea541041b9a (patch)
tree9d167eb2b46378430b0cec191888a5f1605de7a0 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/i915/dp: Factor out helpers to compute the link limits (diff)
downloadkernel-703c5994fe1a2bf45391c2a2a365bea541041b9a.tar.gz
kernel-703c5994fe1a2bf45391c2a2a365bea541041b9a.zip
drm/i915/dp: Track the pipe and link bpp limits separately
A follow-up patch will need to limit the output link bpp both in the non-DSC and DSC configuration, so track the pipe and link bpp limits separately in the link_config_limits struct. Use .4 fixed point format for link bpp matching the 1/16 bpp granularity in DSC mode and for now keep this limit matching the pipe bpp limit. v2: (Jani) - Add to_bpp_int(), to_bpp_x16() helpers instead of opencoding them. - Rename link_config_limits::link.min/max_bpp to min/max_bpp_x16. Cc: Jani Nikula <[email protected]> Reviewed-by: Luca Coelho <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions