diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-07 22:30:59 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-07 23:00:21 +0100 |
commit | d9d090e52082635a24aeaefdc6bfe61ab97f38bb (patch) | |
tree | 6e725a11b5c44ee1a7ce95a0b2bcba4cae1e6f5c /target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch | |
parent | ada91d8a245690b3bc8d2a62b391d2725aea5c8e (diff) | |
download | upstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.tar.gz upstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.tar.bz2 upstream-d9d090e52082635a24aeaefdc6bfe61ab97f38bb.zip |
brcm2708: remove linux 4.4 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch b/target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch deleted file mode 100644 index a3a26e4bfa..0000000000 --- a/target/linux/brcm2708/patches-4.4/0517-drm-vc4-Reject-doublescan-modes.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 39d618a032d26655dfa62299034394e5d1ea7712 Mon Sep 17 00:00:00 2001 -From: Mario Kleiner <mario.kleiner.de@gmail.com> -Date: Tue, 19 Jul 2016 20:58:59 +0200 -Subject: [PATCH] drm/vc4: Reject doublescan modes. - -We can't handle doublescan modes at the moment, so if -userspace tries to set one, reject the mode set. - -Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> -Signed-off-by: Eric Anholt <eric@anholt.net> ---- - drivers/gpu/drm/vc4/vc4_crtc.c | 7 +++++++ - 1 file changed, 7 insertions(+) - ---- a/drivers/gpu/drm/vc4/vc4_crtc.c -+++ b/drivers/gpu/drm/vc4/vc4_crtc.c -@@ -542,6 +542,13 @@ static bool vc4_crtc_mode_fixup(struct d - const struct drm_display_mode *mode, - struct drm_display_mode *adjusted_mode) - { -+ /* Do not allow doublescan modes from user space */ -+ if (adjusted_mode->flags & DRM_MODE_FLAG_DBLSCAN) { -+ DRM_DEBUG_KMS("[CRTC:%d] Doublescan mode rejected.\n", -+ crtc->base.id); -+ return false; -+ } -+ - /* - * Interlaced video modes got CRTC_INTERLACE_HALVE_V applied when - * coming from user space. We don't want this, as it screws up |