linux_dsm_epyc7002/drivers/media/pci/ivtv
French, Nicholas A 526daee730 media: ivtv: add parameter to enable ivtvfb on x86 PAT systems
ivtvfb was previously disabled for x86 PAT-enabled systems
by commit 1bf1735b47 ("x86/mm/pat, drivers/media/ivtv:
Use arch_phys_wc_add() and require PAT disabled") as a
workaround to abstract MTRR code away from device drivers.

The driver is not easily upgradable to the PAT-aware
ioremap_wc() API since the firmware hides the address
ranges that should be marked write-combined from the driver.
However, since a write-combined cache on the framebuffer
is only a performance enhancement not a requirement for
the framebuffer to function, completely disabling the driver
in this configuration is not necessary.

Add force_pat module parameter and a corresponding kernel
configuration parameter to optionally force initialization
on PAT-enabled x86 systems with a warning about the lack of
write-combined caching, and document the reasons the driver
cannot be easily updated to support wc caching on all systems.

Signed-off-by: Nick French <naf@ou.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: fix typo, split long pr_ lines up]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-01-21 15:33:26 -02:00
..
ivtv-alsa-main.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-alsa-pcm.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-alsa-pcm.h
ivtv-alsa.h
ivtv-cards.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
ivtv-cards.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-controls.c
ivtv-controls.h
ivtv-driver.c media: pci: ivtv: Replace GFP_ATOMIC with GFP_KERNEL 2018-07-27 08:15:55 -04:00
ivtv-driver.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-fileops.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
ivtv-fileops.h media: annotate ->poll() instances 2017-11-27 16:20:06 -05:00
ivtv-firmware.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-firmware.h
ivtv-gpio.c
ivtv-gpio.h
ivtv-i2c.c media: ivtv: make const array addr_list static 2018-10-09 08:02:00 -04:00
ivtv-i2c.h
ivtv-ioctl.c media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
ivtv-ioctl.h
ivtv-irq.c media: pci: Convert timers to use timer_setup() 2017-10-31 07:24:43 -04:00
ivtv-irq.h media: pci: Convert timers to use timer_setup() 2017-10-31 07:24:43 -04:00
ivtv-mailbox.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ivtv-mailbox.h
ivtv-queue.c
ivtv-queue.h
ivtv-routing.c
ivtv-routing.h
ivtv-streams.c media: dvb: move most compat_ioctl handling into drivers 2018-09-12 11:00:51 -04:00
ivtv-streams.h
ivtv-udma.c
ivtv-udma.h
ivtv-vbi.c
ivtv-vbi.h
ivtv-version.h
ivtv-yuv.c media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init() 2018-09-24 09:09:07 -04:00
ivtv-yuv.h
ivtvfb.c media: ivtv: add parameter to enable ivtvfb on x86 PAT systems 2019-01-21 15:33:26 -02:00
Kconfig media: ivtv: add parameter to enable ivtvfb on x86 PAT systems 2019-01-21 15:33:26 -02:00
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00