forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/media/pci/ivtv/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config VIDEO_IVTV
23 tristate "Conexant cx23416/cx23415 MPEG encoder/decoder support"
34 depends on VIDEO_V4L2 && PCI && I2C
....@@ -18,12 +19,12 @@
1819 select VIDEO_VP27SMPX
1920 select VIDEO_UPD64031A
2021 select VIDEO_UPD64083
21
- ---help---
22
+ help
2223 This is a video4linux driver for Conexant cx23416 or cx23415 based
2324 PCI personal video recorder devices.
2425
2526 This is used in devices such as the Hauppauge PVR-150/250/350/500
26
- cards. There is a driver homepage at <http://www.ivtvdriver.org>.
27
+ cards.
2728
2829 To compile this driver as a module, choose M here: the
2930 module will be called ivtv.
....@@ -31,8 +32,7 @@
3132 config VIDEO_IVTV_DEPRECATED_IOCTLS
3233 bool "enable the DVB ioctls abuse on ivtv driver"
3334 depends on VIDEO_IVTV
34
- default n
35
- ---help---
35
+ help
3636 Enable the usage of the a DVB set of ioctls that were abused by
3737 IVTV driver for a while.
3838
....@@ -45,7 +45,7 @@
4545 tristate "Conexant cx23415/cx23416 ALSA interface for PCM audio capture"
4646 depends on VIDEO_IVTV && SND
4747 select SND_PCM
48
- ---help---
48
+ help
4949 This driver provides an ALSA interface as another method for user
5050 applications to obtain PCM audio data from Conexant cx23415/cx23416
5151 based PCI TV cards supported by the ivtv driver.
....@@ -63,15 +63,30 @@
6363 select FB_CFB_FILLRECT
6464 select FB_CFB_COPYAREA
6565 select FB_CFB_IMAGEBLIT
66
- ---help---
66
+ help
6767 This is a framebuffer driver for the Conexant cx23415 MPEG
6868 encoder/decoder.
6969
70
- This is used in the Hauppauge PVR-350 card. There is a driver
71
- homepage at <http://www.ivtvdriver.org>.
72
-
73
- In order to use this module, you will need to boot with PAT disabled
74
- on x86 systems, using the nopat kernel parameter.
70
+ This is used in the Hauppauge PVR-350 card.
7571
7672 To compile this driver as a module, choose M here: the
7773 module will be called ivtvfb.
74
+
75
+config VIDEO_FB_IVTV_FORCE_PAT
76
+ bool "force cx23415 framebuffer init with x86 PAT enabled"
77
+ depends on VIDEO_FB_IVTV && X86_PAT
78
+ help
79
+ With PAT enabled, the cx23415 framebuffer driver does not
80
+ utilize write-combined caching on the framebuffer memory.
81
+ For this reason, the driver will by default disable itself
82
+ when initializied on a kernel with PAT enabled (i.e. not
83
+ using the nopat kernel parameter).
84
+
85
+ The driver is not easily upgradable to the PAT-aware
86
+ ioremap_wc() API since the firmware hides the address
87
+ ranges that should be marked write-combined from the driver.
88
+
89
+ With this setting enabled, the framebuffer will initialize on
90
+ PAT-enabled systems but the framebuffer memory will be uncached.
91
+
92
+ If unsure, say N.