2019-06-04 10:11:33 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files. percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.
percpu.h -> slab.h dependency is about to be removed. Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability. As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.
http://userweb.kernel.org/~tj/misc/slabh-sweep.py
The script does the followings.
* Scan files for gfp and slab usages and update includes such that
only the necessary includes are there. ie. if only gfp is used,
gfp.h, if slab is used, slab.h.
* When the script inserts a new include, it looks at the include
blocks and try to put the new include such that its order conforms
to its surrounding. It's put in the include block which contains
core kernel includes, in the same order that the rest are ordered -
alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
doesn't seem to be any matching order.
* If the script can't find a place to put a new include (mostly
because the file doesn't have fitting include block), it prints out
an error message indicating which .h file needs to be added to the
file.
The conversion was done in the following steps.
1. The initial automatic conversion of all .c files updated slightly
over 4000 files, deleting around 700 includes and adding ~480 gfp.h
and ~3000 slab.h inclusions. The script emitted errors for ~400
files.
2. Each error was manually checked. Some didn't need the inclusion,
some needed manual addition while adding it to implementation .h or
embedding .c file was more appropriate for others. This step added
inclusions to around 150 files.
3. The script was run again and the output was compared to the edits
from #2 to make sure no file was left behind.
4. Several build tests were done and a couple of problems were fixed.
e.g. lib/decompress_*.c used malloc/free() wrappers around slab
APIs requiring slab.h to be added manually.
5. The script was run on all .h files but without automatically
editing them as sprinkling gfp.h and slab.h inclusions around .h
files could easily lead to inclusion dependency hell. Most gfp.h
inclusion directives were ignored as stuff from gfp.h was usually
wildly available and often used in preprocessor macros. Each
slab.h inclusion directive was examined and added manually as
necessary.
6. percpu.h was updated not to include slab.h.
7. Build test were done on the following configurations and failures
were fixed. CONFIG_GCOV_KERNEL was turned off for all tests (as my
distributed build env didn't work with gcov compiles) and a few
more options had to be turned off depending on archs to make things
build (like ipr on powerpc/64 which failed due to missing writeq).
* x86 and x86_64 UP and SMP allmodconfig and a custom test config.
* powerpc and powerpc64 SMP allmodconfig
* sparc and sparc64 SMP allmodconfig
* ia64 SMP allmodconfig
* s390 SMP allmodconfig
* alpha SMP allmodconfig
* um on x86_64 SMP allmodconfig
8. percpu.h modifications were reverted so that it could be applied as
a separate patch and serve as bisection point.
Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Guess-its-ok-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
2010-03-24 17:04:11 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
2013-04-11 02:04:55 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-08-08 09:44:49 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-05-07 09:20:09 +09:00
|
|
|
|
2012-01-26 19:38:45 +09:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2012-01-27 14:47:22 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2012-03-06 15:53:41 +09:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2012-01-27 14:47:22 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-09-27 19:24:05 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-04-11 07:25:37 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-09 04:26:38 +00:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-10-26 15:41:49 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-10-26 15:41:49 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-07 16:05:39 -05:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-24 08:55:23 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-07 16:05:39 -05:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-26 14:54:01 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-15 17:01:40 -08:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2010-01-15 17:01:40 -08:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-15 17:01:40 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-06-11 11:27:27 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-12-30 16:06:26 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:41 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:46 +05:30
|
|
|
|
2011-12-27 14:16:08 +00:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-06 15:53:41 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-06 15:53:41 +09:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-06 15:53:41 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-06-09 04:26:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-12-02 19:07:17 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-07 15:03:01 +09:00
|
|
|
|
|
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:32 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Samsung SoC Framebuffer driver: add Alpha Channel support
Add support for the ARGB1888 and ARGB4888 hardware to the Samsung SoC
Framebuffer driver (s3c-fb.c).
ARGB1888 and ARGB4888 is decided by var->transp.length and this variable
is set by s3c_fb_check_var().
In s3c_fb_check_var(), if var->vits_per_pixel is 25 or 28, then
var->transp.length would be 1 or 3.
Therefore alpha mode(ARGB1888 or ARGB4888) could be decided through that
variable.
For using alpha mode, you need to set the following: This code should be
added to your machine code as platform data.
static struct s3c_fb_pd_win xxx_fb_win0 = {
/* this is to ensure we use win0 */
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 24,
};
static struct s3c_fb_pd_win xxx_fb_win1 = {
.win_mode = {
.pixclock = (8+8+8+240)*(38+4+38+400),
.left_margin = 8,
.right_margin = 8,
.upper_margin = 38,
.lower_margin = 38,
.hsync_len = 8,
.vsync_len = 4,
.xres = 240,
.yres = 400,
},
.max_bpp = 32,
.default_bpp = 28,
};
static struct s3c_fb_platdata xxx_lcd_pdata __initdata = {
.win[0] = &ncp_fb_win0,
.win[1] = &ncp_fb_win1,
.vidcon0 = VIDCON0_VIDOUT_RGB | VIDCON0_PNRMODE_RGB,
.vidcon1 = VIDCON1_INV_HSYNC | VIDCON1_INV_VSYNC,
.setup_gpio = xxx_fb_gpio_setup,
};
s3c_fb_set_platdata(&xxx_lcd_pdata);
The above code sets pixelformat for window0 layer to RGB888 and window1
layer to ARGB4888.
Signed-off-by: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kyungmin Park <kmpark@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 15:34:27 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-01-27 14:47:22 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:41 -07:00
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:46 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-07-07 16:05:39 -05:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:46 +05:30
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:46 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-05-25 11:34:52 +02:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-11 07:25:37 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-11 07:25:37 +00:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-03 18:38:50 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2023-08-03 20:36:02 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:44 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-15 11:39:04 +01:00
|
|
|
|
2010-08-10 18:02:44 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 13:07:39 -08:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-28 12:36:22 +02:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-28 12:36:22 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2019-06-28 12:36:22 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-28 12:36:22 +02:00
|
|
|
|
dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc()
Rename dma_*_writecombine() to dma_*_wc(), so that the naming
is coherent across the various write-combining APIs. Keep the
old names for compatibility for a while, these can be removed
at a later time. A guard is left to enable backporting of the
rename, and later remove of the old mapping defines seemlessly.
Build tested successfully with allmodconfig.
The following Coccinelle SmPL patch was used for this simple
transformation:
@ rename_dma_alloc_writecombine @
expression dev, size, dma_addr, gfp;
@@
-dma_alloc_writecombine(dev, size, dma_addr, gfp)
+dma_alloc_wc(dev, size, dma_addr, gfp)
@ rename_dma_free_writecombine @
expression dev, size, cpu_addr, dma_addr;
@@
-dma_free_writecombine(dev, size, cpu_addr, dma_addr)
+dma_free_wc(dev, size, cpu_addr, dma_addr)
@ rename_dma_mmap_writecombine @
expression dev, vma, cpu_addr, dma_addr, size;
@@
-dma_mmap_writecombine(dev, vma, cpu_addr, dma_addr, size)
+dma_mmap_wc(dev, vma, cpu_addr, dma_addr, size)
We also keep the old names as compatibility helpers, and
guard against their definition to make backporting easier.
Generated-by: Coccinelle SmPL
Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: airlied@linux.ie
Cc: akpm@linux-foundation.org
Cc: benh@kernel.crashing.org
Cc: bhelgaas@google.com
Cc: bp@suse.de
Cc: dan.j.williams@intel.com
Cc: daniel.vetter@ffwll.ch
Cc: dhowells@redhat.com
Cc: julia.lawall@lip6.fr
Cc: konrad.wilk@oracle.com
Cc: linux-fbdev@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: luto@amacapital.net
Cc: mst@redhat.com
Cc: tomi.valkeinen@ti.com
Cc: toshi.kani@hp.com
Cc: vinod.koul@intel.com
Cc: xen-devel@lists.xensource.com
Link: http://lkml.kernel.org/r/1453516462-4844-1-git-send-email-mcgrof@do-not-panic.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-01-22 18:34:22 -08:00
|
|
|
|
2019-06-28 12:36:22 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:43 -07:00
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
2010-08-10 18:02:43 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
2010-08-10 18:02:35 -07:00
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-28 23:41:10 +01:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 13:07:39 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-28 12:30:08 +02:00
|
|
|
|
2019-06-28 12:30:05 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:35 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-16 15:34:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:41 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-11 11:26:41 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-12-21 13:07:39 -08:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-04-01 07:17:27 +00:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-04-01 07:17:27 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-17 14:10:37 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-28 16:34:28 +02:00
|
|
|
|
2018-03-28 16:34:28 +02:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-04-11 07:25:37 +00:00
|
|
|
|
|
|
|
|
|
2012-08-02 15:59:05 +09:00
|
|
|
|
2021-09-17 12:22:11 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-08-02 15:59:05 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2021-09-17 12:22:11 +08:00
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
|
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
|
|
|
|
|
2019-09-04 19:55:23 +08:00
|
|
|
|
2013-01-21 11:09:23 +01:00
|
|
|
|
|
|
|
|
|
2012-01-21 13:11:49 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2022-02-11 11:27:55 +08:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2012-01-21 13:11:49 +00:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2022-02-11 11:27:55 +08:00
|
|
|
|
2012-02-20 19:40:19 +09:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-21 13:11:49 +00:00
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:32 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:32 -07:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:09 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:07 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:09 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2011-12-27 14:16:09 +00:00
|
|
|
|
|
|
|
|
|
2012-08-02 15:59:05 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-03-19 00:54:14 +01:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:07 +00:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:02:10 -07:00
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-08-02 15:59:05 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-10-16 13:21:44 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-04 15:57:44 +09:00
|
|
|
|
|
|
|
|
|
2009-07-29 15:02:10 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2012-04-04 15:57:44 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-10-16 13:21:44 +09:00
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2012-04-04 15:57:44 +09:00
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2011-05-24 08:55:31 +00:00
|
|
|
|
|
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
|
|
|
|
|
2012-01-27 14:47:55 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-08 18:08:00 +09:00
|
|
|
|
2010-08-10 18:02:32 -07:00
|
|
|
|
|
|
|
|
|
2012-03-24 21:58:45 +05:30
|
|
|
|
|
|
|
|
|
2009-05-28 14:34:35 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-16 13:21:44 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-04 15:57:44 +09:00
|
|
|
|
|
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-13 00:42:04 +01:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
2012-10-16 13:21:44 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-16 13:21:44 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
2012-10-03 08:57:40 +09:00
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
s3c-fb: fix section mismatch
This patch fixes the following section mismatch errors:
WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b58): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b70): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-10 18:02:42 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2011-04-22 07:09:40 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:31 +00:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:40 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:31 +00:00
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:40 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:40 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-22 07:09:40 +00:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
s3c-fb: fix section mismatch
This patch fixes the following section mismatch errors:
WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b58): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b70): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-10 18:02:42 -07:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:38 -07:00
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
s3c-fb: fix section mismatch
This patch fixes the following section mismatch errors:
WARNING: vmlinux.o(.data+0x20b40): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b58): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x20b70): Section mismatch in reference from the variable s3c_fb_driver_ids to the (unknown reference) .devinit.data:(unknown)
The variable s3c_fb_driver_ids references
the (unknown reference) __devinitdata (unknown)
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-10 18:02:42 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-08-22 12:16:04 +09:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:40 -07:00
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-07-07 22:00:47 +09:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:34 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-12-17 16:45:46 +09:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2024-10-07 18:35:17 +02:00
|
|
|
|
2010-08-10 18:02:33 -07:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
2011-12-27 14:16:07 +00:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-26 10:25:54 +08:00
|
|
|
|
2009-03-31 15:25:39 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|