staging: sm7xx: Use kernel framebuffer mode setting
PATCH 1/1 staging: sm7xx: Use kernel framebuffer mode setting
This patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via sm712vga_setup) is not used.
Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement fb_check_var and fb_set_par callbacks
- Remove __maybe_unused decorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO file
--- drivers/staging/sm7xx/TODO | 1 - drivers/staging/sm7xx/smtcfb.c | 112 +++++++++++++++++++++++++--------------- 2 files changed, 71 insertions(+), 42 deletions(-)
drivers/staging/sm7xx/TODO +0 -1
@@ -4,7 +4,6 @@ TODO: - use kernel coding style - checkpatch.pl clean - refine the code and remove unused code -- use kernel framebuffer mode setting instead of hard code - move it to drivers/video/sm7xx/ or make it be drivers/video/sm7xxfb.c Please send any patches to Greg Kroah-Hartman <[email protected]> and
drivers/staging/sm7xx/smtcfb.c +71 -41
161 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Quoted 16 lines · Javier M. Mellid
This patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via
sm712vga_setup) is not used.Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement
fb_check_varandfb_set_parcallbacks
- Remove__maybe_unuseddecorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO file
Quoted 3 lines
Signed-off-by Javier M. Mellid <[email protected]>--- drivers/staging/sm7xx/TODO | 1 -
This applies with fuzz, this leads me to believe that you didn't test this on the latest linux-next tree, right?
What did you make this patch against?
thanks,
greg k-h
Quoted 17 lines · Greg KH
Quoted 16 lines · Javier M. Mellid
This patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via
sm712vga_setup) is not used.Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement
fb_check_varandfb_set_parcallbacks
- Remove__maybe_unuseddecorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO file
Quoted 8 lines
Quoted 3 lines
Signed-off-by Javier M. Mellid<[email protected]>--- drivers/staging/sm7xx/TODO | 1 -This applies with fuzz, this leads me to believe that you didn't test this on the latest linux-next tree, right?
What did you make this patch against?
Sorry, I didn't know. I made this patch against
linux-2.6 (bfd412db9e7b0d8f7b9c09d12d07aa2ac785f1d0) as I did with previous patches.
Testing was about creating, applying, compiling and running patch with kernel built from linux-2.6
Do you need a new patch against linux-next's master? I can redo this patch.
Sorry for the inconvenience.
javi
Quoted 27 lines · Javier Muñoz
Quoted 17 lines · Greg KH
Quoted 16 lines · Javier M. Mellid
This patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via
sm712vga_setup) is not used.Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement
fb_check_varandfb_set_parcallbacks
- Remove__maybe_unuseddecorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO fileQuoted 8 lines
Quoted 3 lines
Signed-off-by Javier M. Mellid<[email protected]>--- drivers/staging/sm7xx/TODO | 1 -This applies with fuzz, this leads me to believe that you didn't test this on the latest linux-next tree, right?
What did you make this patch against?
Quoted 8 lines
Sorry, I didn't know. I made this patch against linux-2.6 (
bfd412db9e7b0d8f7b9c09d12d07aa2ac785f1d0) as I did with previous patches.Testing was about creating, applying, compiling and running patch with kernel built from linux-2.6
Do you need a new patch against linux-next's master? I can redo this patch.
Yes, please always make patches against linux-next as it includes any other pending patches that are in my tree.
thanks,
greg k-h
PATCH RESEND 1/1 staging: sm7xx: Use kernel framebuffer mode setting
In reply to Javier M. MellidThis patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via sm712vga_setup) is not used.
Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement fb_check_var and fb_set_par callbacks
- Remove __maybe_unused decorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO file
--- drivers/staging/sm7xx/TODO | 1 - drivers/staging/sm7xx/smtcfb.c | 112 +++++++++++++++++++++++++--------------- 2 files changed, 71 insertions(+), 42 deletions(-)
drivers/staging/sm7xx/TODO +0 -1
@@ -3,7 +3,6 @@ TODO: - 2D acceleration support - use kernel coding style - refine the code and remove unused code -- use kernel framebuffer mode setting instead of hard code - move it to drivers/video/sm7xx/ or make it be drivers/video/sm7xxfb.c Please send any patches to Greg Kroah-Hartman <[email protected]> and
drivers/staging/sm7xx/smtcfb.c +71 -41
161 lines not on this page · raw message
Signature · 1 line
1.7.4.1
Quoted 4 lines · Greg KH
Quoted 3 lines · Javier Muñoz
Quoted 2 lines · Greg KH
Quoted 1 line · Javier M. Mellid
This patch implements dynamic framebuffer mode setting.
[...]
Quoted 10 lines
Quoted 10 lines
Quoted 5 lines
This applies with fuzz, this leads me to believe that you didn't test this on the latest linux-next tree, right?
What did you make this patch against?
Sorry, I didn't know. I made this patch against linux-2.6 (
bfd412db9e7b0d8f7b9c09d12d07aa2ac785f1d0) as I did with previous patches.
Quoted 7 lines
Quoted 4 lines
Testing was about creating, applying, compiling and running patch with kernel built from linux-2.6
Do you need a new patch against linux-next's master? I can redo this patch.
Yes, please always make patches against linux-next as it includes any other pending patches that are in my tree.
OK, just resending a new patch made against linux-next. Please, let me know if it applies seamless.
Thanks!
javi
Quoted 1 line
From
544f73e7e6f5e4e42f4384f82ee9b4bffe889efbMon Sep 17 00:00:00 2001
From: Javier M. Mellid <[email protected]>
Date: Sat, 7 May 2011 01:57:43 +0200
Subject: [PATCH] staging: sm7xx: Use kernel framebuffer mode setting
This patch implements dynamic framebuffer mode setting.
Previous code works with mode setting in a hard code way. Previous hard code configuration is used as default configuration if dynamic mode setting or boot mode setting (via sm712vga_setup) is not used.
Tested with SM712 supporting 1024x600x16 as default hardware resolution.
Changes:
- Implement fb_check_var and fb_set_par callbacks
- Remove __maybe_unused decorator in function being used (sm712vga_setup)
- Minor cleanup on initialization structs related with mode settings
- Updated author copyright
- Updated TODO file
--- drivers/staging/sm7xx/TODO | 1 - drivers/staging/sm7xx/smtcfb.c | 112 +++++++++++++++++++++++++--------------- 2 files changed, 71 insertions(+), 42 deletions(-)
drivers/staging/sm7xx/TODO +0 -1
@@ -3,7 +3,6 @@ TODO: - 2D acceleration support - use kernel coding style - refine the code and remove unused code -- use kernel framebuffer mode setting instead of hard code - move it to drivers/video/sm7xx/ or make it be drivers/video/sm7xxfb.c Please send any patches to Greg Kroah-Hartman <[email protected]> and
drivers/staging/sm7xx/smtcfb.c +71 -41
161 lines not on this page · raw message
Signature · 1 line
1.7.4.1