06e073b2ea4acc3d6a645b3dcba6367e336c271f
[oweals/openwrt.git] /
1 From 44c7ff7864d931759efd307ef641f522c0a5bbdb Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Mon, 10 Jun 2019 16:32:51 +0100
4 Subject: [PATCH] drm/vc4: Remove 340MHz clock limit from FKMS now
5  scrambling issues resolved
6
7 Firmware TMDS scrambling is now being correctly configured, so
8 we can use it.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
11 ---
12  drivers/gpu/drm/vc4/vc4_firmware_kms.c | 6 ------
13  1 file changed, 6 deletions(-)
14
15 --- a/drivers/gpu/drm/vc4/vc4_firmware_kms.c
16 +++ b/drivers/gpu/drm/vc4/vc4_firmware_kms.c
17 @@ -831,12 +831,6 @@ vc4_crtc_mode_valid(struct drm_crtc *crt
18                 break;
19         }
20  
21 -       /* Limit the pixel clock until we can get dynamic HDMI 2.0 scrambling
22 -        * working.
23 -        */
24 -       if (mode->clock > 340000)
25 -               return MODE_CLOCK_HIGH;
26 -
27         return MODE_OK;
28  }
29