WONTFIX[G]/Cmnt: [SRU][G][PATCH v2 0/4] Make Intel GPUs choose YCbCr420 encoding automatically when required for 4k 60Hz output

Stefan Bader stefan.bader at canonical.com
Wed Jul 21 13:59:40 UTC 2021

On 05.07.21 17:14, Werner Sembach wrote:
> BugLink: https://bugs.launchpad.net/bugs/1934489
> SRU Justification:
> Impact:
> On some setups, while the monitor and the GPU support display modes with pixel clocks of up to 600MHz, the connector might not. This prevents RGB encoding for 4k60Hz, but YCbCr420 encoding might still be possible. However, which color mode is used is decided before the pixel clock capabilities are checked, causing the check to fail and discarding 4k60Hz from the list of possible display modes.
> Fix:
> This patch fixes the problem by retrying to find a display mode with YCbCr420 enforced and using it, if it is valid. It's very similar to a patch submitted to amdgpu which fixed the same problem.
> Testcase:
> I personally tested on a Clevo NV40MB, but generally: Find a PC with a current Intel iGPU, but only a HDMI 1.4 output. Connect a 4k at 60Hz display supporting YCbCr420 encoding to the HDMI port. Without the patch the maximum that can be set via xrandr is 3840 × 2160 30Hz. With the Patch 3840 × 2160 60Hz can be selected which will use YCbCr420 automatically.
> Prerequisite (included in this email patchset as 1/4):
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3c4442aa22878091f16c8d9592f5f5b6a94d1556
> Patchset already got accepted upstream and reached the torvalds tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eacba74d4d561ea6487d944417526e1b025cbebd
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=84d95f77f4aea3f22a486cd04777afd4ab0f0ea5
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=388b863509f76f6a5ecedd7ffdaf184aa813241e
> and needs only a minor modifications to apply to ubuntu-focal/hwe-5.8
> Commit-hashes:
> 3c4442aa22878091f16c8d9592f5f5b6a94d1556
> eacba74d4d561ea6487d944417526e1b025cbebd
> 84d95f77f4aea3f22a486cd04777afd4ab0f0ea5
> 388b863509f76f6a5ecedd7ffdaf184aa813241e
It turns out that it does not really make sense to change the 5.8 kernel for 
this. The 20.10/Groovy series goes end of life this week and the HWE kernel for 
20.04/Focal will move to the 21.04/Hirsute 5.11 version. The related changes for 
the 5.11 kernel will be picked up. Though in preparation to the point release 
rather after the next cycle.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210721/81892d6b/attachment.sig>

More information about the kernel-team mailing list