diff options
author | Ross Burton <ross.burton@intel.com> | 2018-06-18 11:05:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-21 09:34:40 +0100 |
commit | 55dfcf5808171d925024ee484316fd866996e216 (patch) | |
tree | aaf0c79c34c43b1b3e5485528b23539d5998fc4d /meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch | |
parent | ebdaf83e01dc95581d632094fda14f9b9c795924 (diff) | |
download | poky-55dfcf5808171d925024ee484316fd866996e216.tar.gz |
xf86-video-omapfb: remove
We were shipping the Debian fork of the original code, but that has disappeared
now that Alioth is down. The driver didn't provide anything better than the
kernel and xserver's modesetting driver, so remove it.
(From OE-Core rev: 0e0b5e8abff3b0c30676bcfb76c60388ad2cfafe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch deleted file mode 100644 index ac19219284..0000000000 --- a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/0001-Prevents-omapfb-from-from-crashing-when-pixelclock-o.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | From 28c006c94e57ea71df11ec4fff79d7ffcfc4860f Mon Sep 17 00:00:00 2001 | ||
2 | From: Far McKon <FarMcKon@buglabs.net> | ||
3 | Date: Tue, 3 May 2011 20:59:04 +0300 | ||
4 | Subject: [PATCH] Prevents omapfb from from crashing when pixelclock of 0 is | ||
5 | sent to it. | ||
6 | |||
7 | Due to a Linux design bug it is easy to get a pixelclock set to zero | ||
8 | when changing displays at runtime. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | --- | ||
12 | src/omapfb-output.c | 9 +++++++-- | ||
13 | 1 file changed, 7 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/src/omapfb-output.c b/src/omapfb-output.c | ||
16 | index f8b4db3..4d59265 100644 | ||
17 | --- a/src/omapfb-output.c | ||
18 | +++ b/src/omapfb-output.c | ||
19 | @@ -125,8 +125,13 @@ OMAPFBOutputGetModes(xf86OutputPtr output) | ||
20 | /* Only populate the native (current) mode */ | ||
21 | mode = calloc(1, sizeof(DisplayModeRec)); | ||
22 | mode->type |= M_T_PREFERRED; | ||
23 | - mode->Clock = PICOS2KHZ(ofb->state_info.pixclock); | ||
24 | - mode->SynthClock = PICOS2KHZ(ofb->state_info.pixclock); | ||
25 | + if (ofb->state_info.pixclock == 0) { | ||
26 | + mode->Clock = 0; | ||
27 | + mode->SynthClock = 0; | ||
28 | + } else { | ||
29 | + mode->Clock = PICOS2KHZ(ofb->state_info.pixclock); | ||
30 | + mode->SynthClock = PICOS2KHZ(ofb->state_info.pixclock); | ||
31 | + } | ||
32 | mode->HDisplay = ofb->state_info.xres; | ||
33 | mode->HSyncStart = mode->HDisplay | ||
34 | + ofb->state_info.right_margin; | ||
35 | -- | ||
36 | 2.1.4 | ||
37 | |||