summaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/atyfb.h
diff options
context:
space:
mode:
authorVille Syrjala2009-06-30 20:41:40 +0200
committerLinus Torvalds2009-07-01 03:56:01 +0200
commiteafad22a05fdaca60f06433ffe8810aaa920d539 (patch)
treedf799e81ce5b2e9d63dbece7d9c2f4beff83e618 /drivers/video/aty/atyfb.h
parentgpio: pl061: fix IRQ handling for GPIOs >= PL061_GPIO_NR (diff)
downloadkernel-qcow2-linux-eafad22a05fdaca60f06433ffe8810aaa920d539.tar.gz
kernel-qcow2-linux-eafad22a05fdaca60f06433ffe8810aaa920d539.tar.xz
kernel-qcow2-linux-eafad22a05fdaca60f06433ffe8810aaa920d539.zip
atyfb: fix HP OmniBook 500 reboot hang
Apparently HP OmniBook 500's BIOS doesn't like the way atyfb reprograms the hardware. The BIOS will simply hang after a reboot. Fix the problem by restoring the hardware to it's original state on reboot. Signed-off-by: Ville Syrjala <syrjala@sci.fi> Cc: Mikulas Patocka <mpatocka@redhat.com> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/aty/atyfb.h')
-rw-r--r--drivers/video/aty/atyfb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/aty/atyfb.h b/drivers/video/aty/atyfb.h
index 7691e73823d3..0369653b5d88 100644
--- a/drivers/video/aty/atyfb.h
+++ b/drivers/video/aty/atyfb.h
@@ -187,6 +187,8 @@ struct atyfb_par {
int mtrr_reg;
#endif
u32 mem_cntl;
+ struct crtc saved_crtc;
+ union aty_pll saved_pll;
};
/*