]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Implement UHBR bandwidth check
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fri, 24 Mar 2023 13:51:25 +0000 (15:51 +0200)
committerStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Wed, 5 Apr 2023 08:08:14 +0000 (11:08 +0300)
commit764b1c8df40daf618b293b367f9be1f4fcd1b6fb
tree8a648b81ce4fd56b9ecf4e0579783a2bd8ecd64e
parentaaee4bbe8a1aa6833d6c42c7015ae63c489fdeeb
drm/i915: Implement UHBR bandwidth check

According to spec, we should check if output_bpp * pixel_rate is less
than DDI clock * 72, if UHBR is used.

v2: - s/pipe_config/crtc_state/ (Jani Nikula)
    - Merged previous patch into that one, to remove empty function(Jani Nikula)

v3: - Make that constraint check to be DSC-related only
    - Limit this to only DISPLAY_VER <= 13

v4: - Move constraint check to the top(Vinod Govindapillai)

HSDES: 1406899791
BSPEC: 49259

Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230324135125.6720-1-stanislav.lisovskiy@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c