aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/aty/atyfb.h
diff options
context:
space:
mode:
authorVille Syrjala <syrjala@sci.fi>2009-06-30 11:41:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-30 18:56:01 -0700
commiteafad22a05fdaca60f06433ffe8810aaa920d539 (patch)
treedf799e81ce5b2e9d63dbece7d9c2f4beff83e618 /drivers/video/aty/atyfb.h
parent50efacf6711e6c75595afd9b92aa15c1e4f7c79d (diff)
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 7691e73823d..0369653b5d8 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;
};
/*