android_kernel_samsung_a7y1.../arch/x86/kernel
Hans de Goede 23003370d5 x86/sysfb_efi: Add quirks for some devices with swapped width and height
commit d02f1aa39189e0619c3525d5cd03254e61bf606a upstream.

Some Lenovo 2-in-1s with a detachable keyboard have a portrait screen but
advertise a landscape resolution and pitch, resulting in a messed up
display if the kernel tries to show anything on the efifb (because of the
wrong pitch).

Fix this by adding a new DMI match table for devices which need to have
their width and height swapped.

At first it was tried to use the existing table for overriding some of the
efifb parameters, but some of the affected devices have variants with
different LCD resolutions which will not work with hardcoded override
values.

Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1730783
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20190721152418.11644-1-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 20:16:38 +02:00
..
acpi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apic A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpu x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c 2020-04-06 19:55:21 +02:00
fpu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kprobes x86/kprobes: Verify stack frame on kretprobe 2020-04-06 15:56:59 +02:00
alternative.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amd_gart_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
amd_nb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apb_timer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aperture_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
asm-offsets.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
audit_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bootflag.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
check.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cpuid.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash_dump_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash_dump_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crash.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
devicetree.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
doublefault.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dumpstack.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
e820.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early_printk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
early-quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
espfix_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ftrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
head.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hpet.c x86/hpet: Prevent potential NULL pointer dereference 2020-04-06 15:17:22 +02:00
hw_breakpoint.c x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error 2020-04-06 15:17:29 +02:00
i386_ksyms_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8237.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8253.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
i8259.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
io_delay.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioport.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq_64.c x86/irq/64: Limit IST stack overflow check to #DB stack 2020-04-06 18:18:58 +02:00
irq_work.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irqflags.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irqinit.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jump_label.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kdebugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kexec-bzimage64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kgdb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ksysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kvm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
kvmclock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ldt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
livepatch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machine_kexec_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
machine_kexec_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mcount_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmconf-fam10h_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
module.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpparse.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
msr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nmi_selftest.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nmi.c x86/speculation/mds: Clear CPU buffers on exit to user 2020-04-06 16:55:38 +02:00
paravirt_patch_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt_patch_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt-spinlocks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
paravirt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-calgary_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-dma.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-iommu_table.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-nommu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pci-swiotlb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcspeaker.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
perf_regs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmem.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
probe_roms.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
process_32.c x86/process: Consolidate and simplify switch_to_xtra() code 2020-04-06 16:54:59 +02:00
process_64.c x86/process: Consolidate and simplify switch_to_xtra() code 2020-04-06 16:54:59 +02:00
process.c x86/speculation: Add prctl() control for indirect branch speculation 2020-04-06 16:55:11 +02:00
process.h x86/speculation: Avoid __switch_to_xtra() calls 2020-04-06 16:55:01 +02:00
ptrace.c x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg() 2020-04-06 19:26:26 +02:00
pvclock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
quirks.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot_fixups_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
reboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
relocate_kernel_32.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
relocate_kernel_64.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
resource.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup_percpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
setup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal_compat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
signal.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
smpboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stacktrace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
step.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sys_x86_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfb_efi.c x86/sysfb_efi: Add quirks for some devices with swapped width and height 2020-04-06 20:16:38 +02:00
sysfb_simplefb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sysfb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tboot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tce_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_nx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_rodata.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tls.c x86/tls: Fix possible spectre-v1 in do_get_thread_area() 2020-04-06 19:26:28 +02:00
tls.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
topology.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace_clock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tracepoint.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
traps.c x86/speculation/mds: Revert CPU buffer clear on double fault exit 2020-04-06 18:11:40 +02:00
tsc_msr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc_sync.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uprobes.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
verify_cpu.S A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vm86_32.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vmlinux.lds.S Revert "x86/build: Move _etext to actual end of .text" 2020-04-06 18:44:52 +02:00
vsmp_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x86_init.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
x8664_ksyms_64.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30