diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-10-16 10:29:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 18:43:21 +0200 |
commit | 0333d83509c7d8496c8965b5ba9bc0c98e83c259 (patch) | |
tree | a0ce0a75b5e8770f7f7c2b2b1d88ba77a56afaaa /drivers/ata/pata_hpt366.c | |
parent | ps3fb: fix possible overlap of GPU command buffer and frame buffer (diff) | |
download | linux-0333d83509c7d8496c8965b5ba9bc0c98e83c259.tar.xz linux-0333d83509c7d8496c8965b5ba9bc0c98e83c259.zip |
ps3fb: use fb_info.par properly
ps3fb: Use fb_info.par properly:
o Move mode-specific fields into struct ps3fb_par
o Allocate struct ps3fb_par using framebuffer_alloc()
o Protect access to ps3fb_par in ps3fb_sync() using the console semaphore
(this semaphore is already held when ps3fb_set_par() is called)
o Avoid calling ps3av_set_video_mode() if the actual video mode hasn't
changed
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
0 files changed, 0 insertions, 0 deletions