android_kernel_xiaomi_sm8350/include/asm-x86
Andres Salomon fd96795630 gxfb/lxfb: detect framebuffer size using an MSR if VSA2 isn't available
If there's no VSA2 (ie, if we're using tinybios or OpenFirmware), use the
GLIU's P2D Range Offset Descriptor to determine how much memory we have
available for the framebuffer.

Originally based on a patch by Jordan Crouse.  Tested with OpenFirmware;
Pascal informs me that tinybios has a stub that fills in P2D_RO0.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.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>
2008-04-28 08:58:40 -07:00
..
mach-bigsmp x86: remove mpc_apic_id() 2008-04-17 17:41:07 +02:00
mach-default x86: section mismatch fixes, #2 2008-04-26 17:35:48 +02:00
mach-es7000 x86: change GET_APIC_ID() from an inline function to an out-of-line function 2008-04-17 17:41:33 +02:00
mach-generic x86: remove mpc_oem_bus_info() 2008-04-17 17:41:08 +02:00
mach-numaq x86: make struct mpc_config_translation NUMAQ-only 2008-04-17 17:41:08 +02:00
mach-rdc321x rdc321x: GPIO routines bugfixes 2008-03-27 16:08:45 +01:00
mach-summit x86: remove mpc_oem_bus_info() 2008-04-17 17:41:08 +02:00
mach-visws x86: change GET_APIC_ID() from an inline function to an out-of-line function 2008-04-17 17:41:33 +02:00
mach-voyager
uv x86: define the macros and tables for blade functions 2008-04-17 17:41:33 +02:00
xen xen: replace callers of alloc_vm_area()/free_vm_area() with xen_ prefixed one 2008-04-24 23:57:32 +02:00
a.out-core.h include/asm-x86/a.out-core.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
a.out.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
acpi.h include/asm-x86/acpi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
agp.h
alternative-asm.h
alternative.h include/asm-x86/alternative.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
apic.h include/asm-x86/apic.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
apicdef.h x86: increase size of APICID 2008-04-17 17:41:33 +02:00
arch_hooks.h
asm.h
atomic_32.h include/asm-x86/atomic_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
atomic_64.h include/asm-x86/atomic_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:21 +02:00
atomic.h
auxvec.h
bios_ebda.h x86: get_bios_ebda() requires asm/io.h 2008-04-26 17:35:47 +02:00
bitops.h x86: include/asm-x86/pgalloc.h/bitops.h: checkpatch cleanups - formatting only 2008-04-26 19:21:17 +02:00
boot.h x86: cleanup boot-heap usage 2008-04-19 19:19:54 +02:00
bootparam.h x86, boot: add linked list of struct setup_data 2008-04-26 21:34:42 +02:00
bug.h include/asm-x86/bug.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
bugs.h x86: add include to cpu/intel.c 2008-02-04 16:48:04 +01:00
byteorder.h include/asm-x86/byteorder.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cache.h
cacheflush.h x86: add comments to describe the new api's in cacheflush.h 2008-04-17 17:41:31 +02:00
calgary.h
calling.h
checksum_32.h include/asm-x86/checksum_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
checksum_64.h include/asm-x86/checksum_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
checksum.h
cmpxchg_32.h include/asm-x86/cmpxchg_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cmpxchg_64.h include/asm-x86/cmpxchg_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cmpxchg.h
compat.h include/asm-x86/compat.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
cpu.h
cpufeature.h x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
cputime.h
current_32.h include/asm-x86/current_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
current_64.h include/asm-x86/current_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
current.h
debugreg.h
delay.h Fix __const_udelay declaration and definition mismatches 2008-02-06 10:41:06 -08:00
desc_defs.h include/asm-x86/desc_defs.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
desc.h include/asm-x86/desc.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
device.h
div64.h include/asm-x86/div64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
dma-mapping.h x86: move dma_coherent functions to pci-dma.c 2008-04-19 19:19:57 +02:00
dma.h include/asm-x86/dma.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
dmi.h
ds.h
dwarf2_32.h
dwarf2_64.h include/asm-x86/dwarf2_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:22 +02:00
dwarf2.h
e820_32.h x86: rename find_max_pfn() to propagate_e820_map() 2008-04-19 19:19:55 +02:00
e820_64.h x86_64: fix setup_node_bootmem to support big mem excluding with memmap 2008-04-26 22:51:08 +02:00
e820.h
edac.h include/asm-x86/edac.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
efi.h include/asm-x86/efi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
elf.h include/asm-x86/elf.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap_32.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
fixmap_64.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
fixmap.h x86: make clear_fixmap() available on 64-bit as well 2008-04-25 19:54:07 +02:00
floppy.h x86 floppy: kill off the 'register' keyword from header 2008-04-17 17:41:30 +02:00
frame.h
futex.h include/asm-x86/futex.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
gart.h
genapic_32.h x86: UV startup of slave cpus 2008-04-19 19:19:58 +02:00
genapic_64.h x86: support for new UV apic 2008-04-17 17:41:33 +02:00
genapic.h
geode.h gxfb/lxfb: detect framebuffer size using an MSR if VSA2 isn't available 2008-04-28 08:58:40 -07:00
gpio.h
hardirq_32.h
hardirq_64.h
hardirq.h
highmem.h include/asm-x86/highmem.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
hpet.h
hugetlb.h hugetlbfs: common code update for s390 2008-04-28 08:58:25 -07:00
hw_irq_32.h x86: remove final FASTCALL() uses 2008-02-04 16:48:03 +01:00
hw_irq_64.h include/asm-x86/hw_irq_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
hw_irq.h
hypertransport.h include/asm-x86/hypertransport.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
i387.h x86: fpu xstate split cleanup 2008-04-19 19:19:55 +02:00
i8253.h
i8259.h include/asm-x86/i8259.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
ia32_unistd.h
ia32.h include/asm-x86/ia32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
ide.h ide: remove ide_init_default_irq() macro 2008-04-18 00:46:35 +02:00
idle.h
intel_arch_perfmon.h
io_32.h x86: PAT avoid aliasing in /dev/mem read/write 2008-04-24 23:40:47 +02:00
io_64.h x86: PAT avoid aliasing in /dev/mem read/write 2008-04-24 23:40:47 +02:00
io_apic.h x86: use bitmap library for pin_programmed 2008-04-26 17:35:47 +02:00
io.h x86: PAT avoid aliasing in /dev/mem read/write 2008-04-24 23:40:47 +02:00
ioctl.h
ioctls.h include/asm-x86/ioctls.h: checkpatch cleanups - formatting only 2008-04-17 17:41:23 +02:00
iommu.h
ipcbuf.h include/asm-x86/ipcbuf.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
ipi.h include/asm-x86/ipi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_32.h include/asm-x86/irq_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_64.h include/asm-x86/irq_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
irq_regs_32.h
irq_regs_64.h
irq_regs.h
irq.h
irqflags.h include/asm-x86/irqflags.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
ist.h
k8.h
Kbuild x86: cleanup replace most vm86 flags with flags from processor-flags.h, fix 2008-04-17 17:41:33 +02:00
kdebug.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb 2008-04-18 08:37:01 -07:00
kexec.h include/asm-x86/kexec.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kgdb.h x86: kgdb support 2008-04-17 20:05:37 +02:00
kmap_types.h
kprobes.h include/asm-x86/kprobes.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kvm_host.h KVM: add ioctls to save/store mpstate 2008-04-27 18:21:16 +03:00
kvm_para.h KVM: MMU: hypercall based pte updates and TLB flushes 2008-04-27 12:00:27 +03:00
kvm_x86_emulate.h include/asm-x86/kvm_x86_emulate.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
kvm.h KVM: Add trace markers 2008-04-27 12:01:19 +03:00
ldt.h
lguest_hcall.h include/asm-x86/lguest_hcall.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
lguest.h include/asm-x86/lguest.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
linkage.h x86, tracing: add notrace to asm-x86/linkage.h 2008-04-17 17:40:51 +02:00
local.h include/asm-x86/local.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
math_emu.h
mc146818rtc.h include/asm-x86/mc146818rtc.h: checkpatch cleanups - formatting only 2008-04-17 17:41:24 +02:00
mca_dma.h include/asm-x86/mca_dma.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mca.h
mce.h
mman.h
mmu_context_32.h include/asm-x86/mmu_context_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmu_context_64.h include/asm-x86/mmu_context_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmu_context.h
mmu.h include/asm-x86/mmu.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmx.h include/asm-x86/mmx.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone_32.h include/asm-x86/mmzone_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone_64.h include/asm-x86/mmzone_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mmzone.h
module.h
mpspec_def.h include/asm-x86/mpspec_def.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mpspec.h x86: move mp_register_lapic_address to boot.c 2008-04-17 17:41:35 +02:00
msgbuf.h
msidef.h include/asm-x86/msidef.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
msr-index.h x86: split large page mapping for AMD TSEG 2008-04-17 17:41:30 +02:00
msr.h x86: re-add rdmsrl_safe 2008-04-17 17:41:30 +02:00
mtrr.h include/asm-x86/mtrr.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex_32.h include/asm-x86/mutex_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex_64.h include/asm-x86/mutex_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
mutex.h
namei.h
nmi.h x86: call nmi_watchdog_default in i386 2008-04-17 17:41:01 +02:00
nops.h x86: correct/clarify comment in nops.h 2008-04-17 17:40:58 +02:00
numa_32.h
numa_64.h srat, x86: add support for nodes spanning other nodes 2008-04-19 19:19:55 +02:00
numa.h
numaq.h include/asm-x86/numaq.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
page_32.h include/asm-x86/page_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:25 +02:00
page_64.h x86: account overlapped mappings in max_pfn_mapped 2008-04-17 17:41:30 +02:00
page.h x86: introduce /dev/mem restrictions with a config option 2008-04-24 23:40:47 +02:00
param.h include/asm-x86/param.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
paravirt.h x86: add pud_alloc for 4-level pagetables 2008-04-24 23:57:31 +02:00
parport.h include/asm-x86/parport.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pat.h x86: PAT infrastructure patch 2008-04-17 17:41:19 +02:00
pci_32.h
pci_64.h x86: reserve dma32 early for gart 2008-04-19 19:19:55 +02:00
pci-direct.h include/asm-x86/pci-direct.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pci.h include/asm-x86/pci.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pda.h include/asm-x86/pda.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
percpu.h include/asm-x86/percpu.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgalloc.h x86: demacro pgalloc paravirt stubs 2008-04-24 23:57:31 +02:00
pgtable_32.h x86: pgtable_32.h - prototype and section mismatch fixes 2008-04-26 17:35:48 +02:00
pgtable_64.h x86: unify pgd ctor/dtor 2008-04-24 23:57:31 +02:00
pgtable-2level-defs.h
pgtable-2level.h include/asm-x86/pgtable-2level.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgtable-3level-defs.h
pgtable-3level.h include/asm-x86/pgtable-3level.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
pgtable.h mm: introduce pte_special pte bit 2008-04-28 08:58:23 -07:00
poll.h
posix_types_32.h include/asm-x86/posix_types_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
posix_types_64.h include/asm-x86/posix_types_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:26 +02:00
posix_types.h fix asm-x86/{posix_types,unistd}.h 2008-04-26 17:35:46 +02:00
prctl.h
processor-cyrix.h
processor-flags.h
processor.h fix idle (arch, acpi and apm) and lockdep 2008-04-27 00:01:45 +02:00
proto.h x86: account overlapped mappings in max_pfn_mapped 2008-04-17 17:41:30 +02:00
ptrace-abi.h x86 ptrace: fix ptrace_bts_config structure declaration 2008-02-29 18:55:43 +01:00
ptrace.h x86_64 ia32 ptrace: convert to compat_arch_ptrace 2008-04-26 17:35:47 +02:00
reboot_fixups.h
reboot.h x86: make native_machine_shutdown non-static 2008-04-27 12:00:30 +03:00
required-features.h
resource.h
resume-trace.h include/asm-x86/resume-trace.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
rio.h x86: remove duplicate get_bios_ebda() from rio.h 2008-04-26 17:35:47 +02:00
rtc.h
rwlock.h
rwsem.h include/asm-x86/rwsem.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
scatterlist.h x86: use dma_length in i386 2008-04-19 19:19:57 +02:00
seccomp_32.h
seccomp_64.h
seccomp.h
sections.h
segment.h x86: don't set up early exception handlers for external interrupts 2008-04-17 17:41:29 +02:00
semaphore.h Generic semaphore implementation 2008-04-17 10:42:34 -04:00
sembuf.h
serial.h
setup.h include/asm-x86/setup.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
shmbuf.h
shmparam.h
sigcontext32.h include/asm-x86/sigcontext32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
sigcontext.h include/asm-x86/sigcontext.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
siginfo.h
signal.h include/asm-x86/signal.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
smp.h "make namespacecheck" fixes 2008-04-24 23:15:44 +02:00
socket.h
sockios.h
sparsemem.h x86: sparsemem: reduce i386 PAE section size 2008-04-17 17:41:33 +02:00
spinlock_types.h
spinlock.h x86: spinlock ops are always-inlined 2008-04-17 17:41:29 +02:00
srat.h include/asm-x86/srat.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
stacktrace.h
stat.h
statfs.h
string_32.h include/asm-x86/string_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
string_64.h include/asm-x86/string_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
string.h
suspend_32.h include/asm-x86/suspend_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
suspend_64.h include/asm-x86/suspend_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
suspend.h
swiotlb.h include/asm-x86/swiotlb.h: checkpatch cleanups - formatting only 2008-04-17 17:41:27 +02:00
sync_bitops.h x86: simplify sync_test_bit(), improve 2008-04-17 17:41:30 +02:00
system_64.h
system.h include/asm-x86/system.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
tce.h include/asm-x86/tce.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
termbits.h
termios.h tty: fix tty network driver interactions with TCGET/TCSET calls (x86 fix) 2008-02-07 08:42:16 -08:00
therm_throt.h
thread_info_32.h x86, fpu: split FPU state from task struct - v5 2008-04-19 19:19:55 +02:00
thread_info_64.h x86, fpu: split FPU state from task struct - v5 2008-04-19 19:19:55 +02:00
thread_info.h x86: fpu xstate split fix 2008-04-19 19:19:55 +02:00
time.h
timer.h
timex.h read_current_timer() cleanups 2008-02-06 10:41:02 -08:00
tlb.h
tlbflush.h include/asm-x86/tlbflush.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
topology.h sched, cpuset: customize sched domains, core 2008-04-19 19:45:00 +02:00
trampoline.h x86: move suspend wakeup code to C 2008-04-17 17:41:37 +02:00
tsc.h "make namespacecheck" fixes 2008-04-24 23:15:44 +02:00
types.h
uaccess_32.h include/asm-x86/uaccess_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
uaccess_64.h include/asm-x86/uaccess_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
uaccess.h
ucontext.h
unaligned.h include/asm-x86/unaligned.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
unistd_32.h include/asm-x86/unistd_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
unistd_64.h include/asm-x86/unistd_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
unistd.h fix asm-x86/{posix_types,unistd}.h 2008-04-26 17:35:46 +02:00
unwind.h
user32.h include/asm-x86/user32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user_32.h include/asm-x86/user_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user_64.h include/asm-x86/user_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
user.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
vdso.h include/asm-x86/vdso.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
vga.h include/asm-x86/vga.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
vgtod.h
vic.h
vm86.h x86: replace most VM86 flags with flags from processor-flags.h 2008-04-17 17:41:33 +02:00
vmi_time.h
vmi.h include/asm-x86/vmi.h: checkpatch cleanups - formatting only 2008-04-17 17:41:28 +02:00
voyager.h include/asm-x86/voyager.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
vsyscall.h
xor_32.h include/asm-x86/xor_32.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
xor_64.h include/asm-x86/xor_64.h: checkpatch cleanups - formatting only 2008-04-17 17:41:29 +02:00
xor.h