Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep HEVC decoder for upstreaming #6519

Draft
wants to merge 784 commits into
base: rpi-6.12.y
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
784 commits
Select commit Hold shift + click to select a range
ec41550
serial: pl011: Request a memory width of 1 byte
pelwell Sep 19, 2024
753602c
drivers: usb: xhci: set HID bit in streaming endpoint contexts
P33M Nov 11, 2024
a1ecfb3
media: i2c: imx477: Add options for slightly modifying the link freq
6by9 Nov 14, 2024
20a0150
dtoverlays: Add link-frequency override to imx477/378 overlay
6by9 Nov 14, 2024
4933e5e
dmaengine: dw-axi-dmac: Only start idle channels
pelwell Nov 13, 2024
c090c8e
mailbox: Add RP1 mailbox support
pelwell Oct 31, 2024
57b194f
firmware: Add an RP1 firmware interface over mbox
pelwell Oct 31, 2024
d8ca6f3
dts: bcm2712-rpi: Add RP1 firmware and mailboxes
pelwell Nov 1, 2024
22bde2a
misc: Add RP1 PIO driver
pelwell Oct 31, 2024
f407c3c
configs: Enable RP1 PIO support
pelwell Nov 1, 2024
1a751aa
dts: bcm2712-rpi: Add the RP1 PIO device
pelwell Nov 1, 2024
e4d2abe
pwm: Add pwm-pio-rp1 driver
pelwell Nov 8, 2024
48d2caf
configs: Enable the pwm-pio-rp1 driver
pelwell Nov 7, 2024
4110208
overlays: Add pwm-pio overlay
pelwell Nov 7, 2024
782da26
configs: enable driver for Vertexcom MSE102X
mhei Nov 17, 2024
b23698e
drivers: media: pci: Update Hailo accelerator device driver to v4.19
naushir Oct 17, 2024
39337d8
dtoverlays: enable SPI CS active-high
ikerexxe Nov 18, 2024
d1613f7
overlays: Enable Raspberry Touch 2 rotation with overlay
foonerd Nov 20, 2024
e64b20f
PCI: brcmstb: set link speed before deasserting fundamental reset
P33M Nov 22, 2024
a20c033
drm/connector: Initialise max_bpc to the minimum value supported
6by9 Nov 21, 2024
f615a62
drm/connector: hdmi: Disable the infoframes by default
6by9 Nov 21, 2024
baf5343
drm/connector: hdmi: Attempt YUV422 output if RGB isn't supported
6by9 Nov 21, 2024
647d42b
Adding Pimidi kernel module.
gtrainavicius Nov 21, 2024
fbda5cc
Include snd-pimidi kernel module in Raspberry Pi defconfigs
gtrainavicius Nov 21, 2024
5c092bd
Adding pimidi-overlay.dts
gtrainavicius Nov 21, 2024
6c2dcf0
media: i2c: imx477: Fix link frequency menu
6by9 Nov 21, 2024
7c7fd73
misc/rp1-pio: Fix copy/paste error in pio_rp1.h
pelwell Nov 25, 2024
c9cd0d4
misc: rp1-pio: Fix parameter checks wihout client
pelwell Nov 25, 2024
7960ad1
drm: vc4: dsi: Handle the different command FIFO widths
6by9 Nov 20, 2024
7f4272b
dts: bcm2712-rpi: For CM5IO, i2c_csi_dsi needs to be CAM/DISP1
6by9 Nov 26, 2024
6383fa1
dts: bcm2712-rpi-cm5: Remove inaccessible USB_OC_N
pelwell Nov 27, 2024
9838614
overlays: qca7000: replace URL with textual hint
mhei Nov 29, 2024
aca8292
dt-bindings: net: cdns,macb: Add compatible for Raspberry Pi RP1
6by9 Nov 11, 2024
a5d5d18
net: macb: Add support for Raspberry Pi RP1 ethernet controller
6by9 Nov 11, 2024
fb7a5e3
rp1: clk: Only set PLL_SEC_RST in rp1_pll_divider_off
6by9 Nov 25, 2024
e787c88
rp1: clk: Rationalise the use of the CLK_IS_CRITICAL flag
6by9 Nov 8, 2024
ce913dd
dt: arm64: Fixup RP1 ethernet DT configuration
6by9 Nov 11, 2024
de0bb04
clk: rp1: Add RP1_CLK_DMA.
6by9 Nov 13, 2024
a078a97
rp1: clk: Remove CLK_IGNORE_UNUSED flags
6by9 Nov 8, 2024
da49ada
dt: rp1: Use clk_sys for ethernet hclk and pclk
6by9 Nov 11, 2024
fce5fb4
dt: rp1: Link RP1 DMA to the associated clock
6by9 Nov 13, 2024
a703028
dts: bcm2712-ds: Restore the A76 PMU declaration
pelwell Dec 3, 2024
bc1aff1
dts: rp1: Re-enable DMA to RP1 UART0
pelwell Dec 3, 2024
b437c92
dts: bcm2712-ds: Restore gpio-direct to gio_aon
pelwell Dec 3, 2024
e23ac20
drm/vc4: plane: Keep fractional source coords inside state
popcornmix Jun 21, 2024
f74c62d
drm/vc4: plane: Handle fractional coordinates using the phase field
popcornmix Jun 21, 2024
d0f1e51
drm/vc4: crtc: Force trigger of dlist update on margins change
6by9 Jun 21, 2024
014d47d
drm/vc4: plane: Add support for YUV444 formats
popcornmix Jun 21, 2024
cc17980
drm/vc4: hdmi: Warn if writing to an unknown HDMI register
mripard Jun 21, 2024
adb7463
drm/vc4: hvs: More logging for dlist generation
mripard Jun 21, 2024
a40c66a
drm/vc4: hvs: Print error if we fail an allocation
mripard Jun 21, 2024
20a6c87
drm/vc4: plane: Add more debugging for LBM allocation
mripard Jun 21, 2024
7f0a567
drm/vc4: plane: Use return variable in atomic_check
mripard Jun 21, 2024
ef0e3db
drm/vc4: crtc: Move assigned_channel to a variable
mripard Jun 21, 2024
1418f4d
drm/vc4: plane: YUV planes require vertical scaling to always be enabled
6by9 Jun 21, 2024
bdfc98c
drm/vc4: hvs: Remove ABORT_ON_EMPTY flag
popcornmix Jun 21, 2024
4efc683
drm/vc4: Make v3d paths unavailable on any generation newer than vc4
mripard Jun 21, 2024
44f3555
drm/vc4: hvs: Use switch statement to simplify vc4_hvs_get_fifo_from_…
mripard Jun 21, 2024
efd0211
drm/vc4: hvs: Create hw_init function
mripard Jun 21, 2024
7e973cb
drm/vc4: hvs: Create cob_init function
mripard Jun 21, 2024
8dabf0a
drm/vc4: hvs: Rename hvs_regs list
mripard Jun 21, 2024
c8d1013
drm/vc4: plane: Change ptr0_offset to an array
mripard Jun 21, 2024
0d7869e
drm/vc4: hvs: Rework LBM alignment
mripard Jun 21, 2024
f3c0d13
drm/vc4: hvs: Change prototype of __vc4_hvs_alloc to pass registers
mripard Jun 21, 2024
318d142
drm/vc4: plane: Move the buffer offset out of the vc4_plane_state
6by9 Jun 21, 2024
6bee2dc
drm/vc4: hvs: Enable SCALER_CONTROL early in HVS init
timg236 Jun 21, 2024
1f70cda
drm/vc4: Use `vc4_perfmon_find()`
mairacanal Oct 4, 2024
4f35f41
drm/vc4: Use of_device_get_match_data to set generation
6by9 Oct 25, 2024
d8123e8
drm/vc4: Fix reading of frame count on GEN5 / Pi4
6by9 Oct 25, 2024
95b6fee
drm/vc4: drv: Support BCM2712
mripard Oct 25, 2024
2fc2158
drm/vc4: hvs: Add support for BCM2712 HVS
mripard Oct 25, 2024
3dcacca
drm/vc4: crtc: Add support for BCM2712 PixelValves
mripard Oct 25, 2024
a11e02f
drm/vc4: hdmi: Add support for BCM2712 HDMI controllers
mripard Oct 25, 2024
5ccdc48
drm/vc4: txp: Introduce structure to deal with revision differences
mripard Oct 25, 2024
953e8e6
drm/vc4: txp: Rename TXP data structure
mripard Oct 25, 2024
2c0e2bb
drm/vc4: txp: Add byte enable toggle bit
mripard Oct 25, 2024
b0bfdc0
drm/vc4: txp: Add horizontal and vertical size offset toggle bit
mripard Oct 25, 2024
2c02bb0
drm/vc4: txp: Handle 40-bits DMA Addresses
mripard Oct 25, 2024
75e04bf
drm/vc4: txp: Move the encoder type in the variant structure
mripard Oct 25, 2024
71277d4
drm/vc4: txp: Add a new TXP encoder type
mripard Oct 25, 2024
d0f5536
drm/vc4: txp: Add support for BCM2712 MOP
mripard Oct 25, 2024
3aa530f
drm/vc4: txp: Add BCM2712 MOPLET support
mripard Oct 25, 2024
79d18dc
drm/vc4: drv: Add support for 2712 D-step
6by9 Oct 25, 2024
2b99e76
drm/vc4: hvs: Add in support for 2712 D-step.
6by9 Oct 25, 2024
715d862
drm/vc4: plane: Add support for 2712 D-step.
6by9 Oct 25, 2024
38af399
drm/vc4: hdmi: Support 2712 D-step register map
6by9 Oct 25, 2024
78bc931
drm/vc4: Add additional warn_on for incorrect revisions
mripard Oct 25, 2024
7495e07
drm/vc4: Enable bg_fill if there are no planes enabled
6by9 Oct 25, 2024
98ca9c6
drm/vc4: Drop planes that are completely off-screen or 0 crtc size
6by9 Oct 25, 2024
2ae3d67
dt: Disabled vc4 by default on 2712
6by9 Dec 4, 2024
238c0a8
arch: arm64: broadcom: Add firmware clocks node
6by9 Jun 21, 2024
16e8b7d
arm64: dts: broadcom: Add display pipeline support to BCM2712
6by9 Jun 21, 2024
52d2f4a
arm64: dts: broadcom: Add DT for D-step version of BCM2712
6by9 Oct 3, 2024
19e95b9
arm64: dts: broadcom: Fixup downstream DT changes due to DRM merge
6by9 Dec 4, 2024
0ec7183
dtoverlays: enable gpu node from vc4-kms-v3d-pi5
6by9 Dec 4, 2024
641050a
drm/vc4: Use phys addresses for slave DMA config
pelwell May 11, 2023
6a57492
arm64: dts: broadcom: Fixup HVS address for downstream size-cells
6by9 Dec 4, 2024
bb7497b
drm/vc4: hvs: Defer dlist slots deallocation
mripard Dec 16, 2021
8e72e4e
drm/vc4: Add hvs_dlist_allocs debugfs function.
6by9 Oct 27, 2023
3786be3
drm/vc4: Disable overrun interrupts
6by9 Jan 24, 2024
a81a5b6
drm: vc4: Block swiotlb bounce buffers being imported as dmabuf
6by9 Nov 22, 2023
6b0985c
drm/vc4: Add option to call from crtc to encoder on vblank
6by9 Apr 5, 2024
efb525f
drm: vc4: dsi: Clocks should be running before reset
6by9 Jun 8, 2022
4e088c5
drm: vc4: Reset DSI AFE on disable
6by9 May 26, 2022
2c30b71
drm/vc4: Ensure DSI is enabled for FIFO resets
6by9 Apr 5, 2024
3256ed7
drm/vc4: Add vblank callback to DSI0 to reset FIFO
6by9 Apr 5, 2024
bd80d44
drm/vc4: Fixup mode for 7inch panel on DSI0
6by9 Apr 26, 2024
87fe99c
drm/vc4: dsi: Don't reset the host until post_disable
6by9 May 2, 2024
8d85294
drm: vc4: dsi: enable video and then retry failed transfers
6by9 Sep 20, 2024
903e7a8
drm/vc4: Allow setting the TV norm via module parameter
Jul 14, 2021
cc9a6ea
drm/vc4: Make VEC progressive modes readily accessible
Jul 14, 2021
af33efd
drm/vc4: Initialise the tv_mode property default from cmdline_mode.
6by9 Jan 25, 2024
f410ffb
vc4: Add jack detection to HDMI audio driver
cillian64 Feb 28, 2024
9463911
drm/vc4: hdmi: Add a clear_infoframe hook
6by9 Nov 21, 2024
011673a
drm/vc4_hdmi: Allow hotplug detect to be forced
popcornmix Jun 1, 2022
a2967c9
vc4/hdmi: Ignore hotplug interrupt with force_hotplug
popcornmix Apr 23, 2024
f8016bb
drm/vc4: Add a delay after disabling hdmi phy output
popcornmix Aug 12, 2024
74beb8c
drm/vc4: Implement vc6_hdmi_phy_disable
popcornmix Aug 13, 2024
9524749
drm/vc4: Also power down the PLL core when resetting PHY
popcornmix Aug 13, 2024
598cfc8
drm/vc4: dpi: Add override for RGB order
6by9 May 10, 2024
a5d7648
vc4/drm:plane: Make use of chroma siting parameter
popcornmix Jan 27, 2022
6c659bc
drm/vc4: Add support for per plane scaling filter selection
6by9 Jul 25, 2024
6b8bd0e
drm/vc4: Use the TPZ scaling filter for 1x1 source images
6by9 Sep 11, 2024
b524fc7
drm/vc4: hvs: Defer updating the enable_bg_fill until vblank
6by9 Nov 12, 2024
31b6231
drm/vc4: Increase number of overlay planes from 16 to 48
6by9 Oct 21, 2022
adb02bf
drm/vc4: Assign 32 overlay planes to writeback only
6by9 Aug 15, 2023
a4e1a90
drm/vc4: Do not include writeback conn load in load tracker
6by9 Sep 9, 2024
ae99a7c
drm/vc4: Drop panic priority for writeback connector
6by9 Sep 9, 2024
8b77a5a
drm/vc4: txp: Add a rotation property to the writeback connector
6by9 Aug 14, 2024
b842bdf
drm/vc4: Remove request for min clocks when hdmi output is disabled
popcornmix Oct 14, 2024
683a4be
drm/vc4: Disable the 2pixel/clock odd timings workaround for interlaced
popcornmix Oct 24, 2023
4ca43f3
drm/vc4: fkms: Add firmware-kms mode
6by9 Sep 7, 2020
188c796
drm/vc4: tests: Switch generation mockup to a switch
mripard Feb 17, 2023
d67c3c8
drm/vc4: tests: Drop drm parameter for vc4_find_crtc_for_encoder
mripard Mar 24, 2023
068933d
drm/vc4: tests: Return the allocated output
mripard Mar 24, 2023
2d57dc9
drm/vc4: tests: Add BCM2712 mock driver
mripard Feb 17, 2023
5ce573e
drm/vc4: tests: Add tests for BCM2712 PixelValve Muxing
mripard Apr 14, 2023
c9e0657
drm/vc4: tests: Use custom plane state for mock
mripard Apr 14, 2023
9b2b9d4
drm/vc4: tests: Add function to lookup a plane for a CRTC
mripard Apr 14, 2023
88f2689
drm/vc4: tests: Add helper to add a new plane to a state
mripard Apr 14, 2023
fbbd6db
drm/vc4: tests: Support a few more plane formats
mripard Apr 14, 2023
811d1af
drm/vc4: tests: Introduce a test for LBM buffer size
mripard Apr 14, 2023
6e1d029
drm/vc4: backport 27e0a194a256 and b3bf19552ea3
mairacanal Aug 6, 2024
1b8dbb3
drm/vc4: Cache LBM allocations to avoid double-buffering
6by9 Sep 27, 2024
1da17d3
dtoverlays: bcm2712d0 - Don't change vc4 compatible string
6by9 Dec 4, 2024
c595e0e
arm64: dts: broadcom: Add dma-names for HDMI audio DMA
6by9 Dec 4, 2024
d4c7eee
raspberrypi-firmware: Add the RPI firmware UART APIs
timg236 Nov 1, 2024
dd9c2ab
serial: core: Add the Raspberry Pi firmware UART id
timg236 Nov 1, 2024
a8cff13
serial: tty: Add a driver for the RPi firmware UART
timg236 Aug 28, 2024
3a29a32
configs: Enable the RPi FW UART driver
timg236 Nov 1, 2024
96961d2
dtoverlay: Add an overlay for the Raspberry Pi firmware UART
timg236 Nov 4, 2024
e04daa5
ARM: dts: Remove duplicate tags
pelwell Sep 18, 2024
f717cbc
Allow setting I²C clock frequency via i2c_arm_baudrate dtparam when u…
gtrainavicius Dec 4, 2024
5ad0e24
nvme-pci: Disable Host Memory Buffer usage
pelwell Dec 3, 2024
c6a51f1
serial: rpi-fw-uart: Demote debug log messages
pelwell Dec 5, 2024
ffef66a
dtoverlays: Add Arducam override for ov9281
6by9 Dec 2, 2024
e927ae1
input: Add support for no irq to ili210x driver
Dec 5, 2024
5de3c6e
drm: panel: Added waveshare 13.3inch panel
Dec 5, 2024
b572ebb
overlays: Added waveshare 13.3inch panel support
Dec 5, 2024
bc8a995
dts: bcm2712-ds: Dedup as upstream support expands
pelwell Dec 9, 2024
1691f26
cgroup: Add cgroup_enable option
pelwell Dec 9, 2024
c141a24
media: i2c: ov9282: Correct the exposure offset
6by9 Dec 9, 2024
fe6a858
drm/v3d: Correct clock settng calls to new APIs
popcornmix Dec 9, 2024
c4267bd
drm: bridge: panel: Connector to allow interlaced modes
njhollinghurst Nov 19, 2024
1e23832
dts: overlays: vc4-kms-dpi-generic-overlay: Add "interlaced" property
njhollinghurst Nov 19, 2024
a84c0fd
drm: rp1: rp1-dpi: Add interlaced modes and PIO program to fix VSYNC
njhollinghurst Dec 10, 2024
bb35700
ASoC: allo-piano-dac-plus: Fix volume limit locking
pelwell Dec 11, 2024
2d6c63a
drm: vc4: txp: Do not allow 24bpp formats when transposing
6by9 Dec 11, 2024
1ce5c2f
drm: Validate connector rotation has one bit set in the rotation prop…
6by9 Dec 12, 2024
98b15e9
ASoC: allo-piano-dac-plus: Suppress -517 errors
pelwell Dec 12, 2024
b46cab6
drm: rp1: rp1-dpi: Fix optional dependency on RP1_PIO
njhollinghurst Dec 12, 2024
bc21c47
serial: sc16is7xx: announce support for SER_RS485_RTS_ON_SEND
hvilleneuvedoo Oct 7, 2024
ea56f7a
dtoverlays: Add override for target-path on I2C overlays
6by9 Dec 16, 2024
e115f03
misc: rp1-pio: Support larger data transfers
pelwell Dec 16, 2024
72fa788
dtoverlays: Use continuous clock mode for ov9281
6by9 Dec 16, 2024
d1cf924
dts: bcm2712-ds: Restore the VGIC interrupt
pelwell Dec 19, 2024
594d56c
overlays: goodix: Allow override i2c address
ragazenta Dec 18, 2024
53e1769
configs: Restore RP1_PIO after dependency change
pelwell Dec 19, 2024
e1a59f6
misc: rp1-pio: More logical probe sequence
pelwell Dec 5, 2024
9b18170
misc: rp1-pio: Convert floats to 24.8 fixed point
pelwell Dec 9, 2024
d8ec974
misc: rp1-pio: Minor cosmetic tweaks
pelwell Dec 10, 2024
91ba783
misc: rp1-pio: Add in-kernel DMA support
pelwell Dec 12, 2024
8e0ead9
misc: Add ws2812-pio-rp1 driver
pelwell Dec 3, 2024
6ac5e8e
overlays: Add ws2812-pio overlay
pelwell Dec 12, 2024
2168f2a
configs: Enable the WS2812_PIO_RP1 driver
pelwell Dec 12, 2024
df823a1
overlays: Add and document i2c_csi_dsi0 parameters
pelwell Dec 19, 2024
4cd8301
dts: Add noanthogs parameter to CM4 and CM5
pelwell Dec 20, 2024
e9fbd15
configs: Enable PCM3168A driver
gordoste Dec 22, 2024
b219fbd
soc: pcm3168a: Add DT binding to force clock consumer mode
gordoste Dec 22, 2024
03a9a4a
docs: pcm3168a: Add DT bindings to force clock consumer mode
gordoste Dec 22, 2024
33a4d57
overlays: Add overlay for ezsound 6x8 soundcard
gordoste Dec 22, 2024
02c6ac7
overlays: Compile the new overlay
gordoste Dec 22, 2024
f85d23e
overlays: Add ezsound-6x8iso overlay to README
gordoste Dec 22, 2024
c9ef21a
Revert "PCI: Warn if no host bridge NUMA node info"
pelwell Jan 1, 2025
56e3733
Add Pi 500 and CM5 as a device to bug_report.yml
nbuchwitz Dec 21, 2024
336c66e
Update the Issue template
andrum993 Dec 21, 2024
cafd4dc
Add and update files for pwm-gpio-fan overlay
herbingk Dec 31, 2024
d8bdd40
filemap: avoid truncating 64-bit offset to 32 bits
marcone Dec 31, 2024
945c938
media: i2c: imx290: Limit analogue gain according to module
6by9 Nov 20, 2024
1c4647d
media: i2c: imx290: Register 0x3011 varies between imx327 and imx290
6by9 Nov 20, 2024
ec3db19
media: dt-bindings: sony,imx290: Add IMX462 to the IMX290 binding
6by9 Nov 20, 2024
dee519f
media: i2c: imx290: Add configuration for IMX462
6by9 Nov 20, 2024
cba2f6c
media: imx290: Add module parameter to allow selection of HCG mode
6by9 May 15, 2024
c526a19
dtoverlays: Switch imx462 overlay to use the new compatible
6by9 Nov 12, 2024
da9c4e4
PCI: brcmstb: don't use ASPM state defines for register bits
P33M Jan 7, 2025
3f656ba
dts: bcm2711: PL011 UARTs are actually r1p5
pelwell Jan 7, 2025
35469d2
dts: bcm2712: PL011 UARTs are actually r1p5
pelwell Jan 7, 2025
692aef8
dts: rp1: PL011 UARTs are actually r1p5
pelwell Jan 7, 2025
5f95e14
media: rp1-cfe: Fix up link validation for CFE CFG input
6by9 Jan 7, 2025
1ceaf0e
defconfigs: Add IMX415 to all Pi defconfigs
6by9 Jan 2, 2025
2128203
dtoverlays: Add overlay for Sony IMX415 image sensor
6by9 Dec 31, 2024
31398dd
media: i2c: imx415: Add read/write control of VBLANK
6by9 Jan 1, 2025
993eedd
media: i2c: imx415: Make HBLANK controllable and in consistent units
6by9 Jan 1, 2025
ec7a046
media: i2c: imx415: Link frequencies are not exclusive to num lanes
6by9 Jan 2, 2025
988464e
ASoC: pcm512x: Demote "No SCLK" to debug level
pelwell Jan 8, 2025
e0d3df4
ASoC: allo-piano-dac-plus: Fix volume limiting
pelwell Jan 8, 2025
e71eaa0
ASoC: allo-piano-dac-plus: Remove pointless code
pelwell Jan 8, 2025
12cd284
configs: add CONFIG_CRYPTO_NHPOLY1305_NEON=m
plumbeo Jan 9, 2025
518ce29
misc: rp1-pio: Handle probe errors
pelwell Jan 9, 2025
23b2029
firmware: rp1: Simplify rp1_firmware_get
pelwell Jan 9, 2025
47a5106
DT: bcm2712: override supports-cqe to a cell
P33M Jan 10, 2025
cae52db
mmc: sd: filter card CQ support based on an allow-list
P33M Jan 8, 2025
15fd6ee
mmc: set MMC_QUIRK_KNOWN_WORKING_SD_CQ on Raspberry Pi class A2 cards
P33M Jan 8, 2025
e30a581
mmc: use downstream DT property to modify CQE and/or SD CQ behaviour
P33M Jan 8, 2025
57957c8
iomap: avoid avoid truncating 64-bit offset to 32 bits
marcone Jan 9, 2025
217b010
dts: bcm2711: Don't mark timer regs unconfigured
pelwell Jan 10, 2025
a20d400
mmc: bcm2835-sdhost Observe SWIOTLB memory limit
pelwell Jan 10, 2025
5955d87
drm/v3d: CPU job submissions shouldn't affect V3D GPU clock
txenoo Jan 13, 2025
9582b9f
bcm2708_fb: Explicitly initialise the IOMEM ops
pelwell Jan 14, 2025
e2b7339
configs: Switch to the upstream SDHOST driver
pelwell Jan 13, 2025
c2ec0c0
mmc: bcm2835: Add downstream overclocking support
pelwell Jan 13, 2025
58634ab
Revert "staging: media: rpivid: Add Raspberry Pi V4L2 H265 decoder"
6by9 Dec 5, 2024
fc1ebf9
Revert "media: videodev2.h: Add a format for column YUV4:2:0 modes"
6by9 Dec 12, 2024
f799713
Revert "RFC: media: Add media_request_{pin,unpin} API"
jc-kynesim Jan 15, 2025
ea19da1
media: mc: add manual request completion
Aug 29, 2024
706242e
media: vicodec: add support for manual completion
Aug 29, 2024
f1101a5
media: mc: add debugfs node to keep track of requests
Aug 29, 2024
5d40e4a
media: dt-bindings: media: Add binding for the Raspberry PI HEVC decoder
6by9 Mar 17, 2020
d775db0
docs: uapi: media: Document Raspberry Pi NV12 column format
6by9 Dec 12, 2024
07bd82f
media: ioctl: Add pixel formats NV12MT_COL128 and NV12MT_10_COL128
6by9 Dec 12, 2024
b03c2cd
media: platform: Add Raspberry Pi HEVC decoder driver.
Nov 4, 2024
3e2404d
arm: defconfig: Replace VIDEO_RPIVID with VIDEO_RPI_HEVC_DEC
6by9 Nov 14, 2024
1837285
arm64: defconfig: Replace VIDEO_RPIVID with VIDEO_RPI_HEVC_DEC
6by9 Nov 14, 2024
28eac9d
arm: dts: bcm2711: Add HEVC decode configuration
6by9 Nov 4, 2024
271ccf1
arm: dt: broadcom: fixup downstream dts for HEVC decoder
6by9 Dec 5, 2024
6e2cc64
dts: bcm2712: Fixup HEVC decoder nodes for new driver.
6by9 Jan 14, 2025
ff49c9c
drm/vc4: Add algorithmic handling for SAND
6by9 Nov 13, 2024
1fb6d02
media: v4l2: Add single planar NV12 column formats
6by9 Dec 12, 2024
1ae3a8b
media: hevc_dec: Add in downstream single planar SAND variant
6by9 Dec 6, 2024
da6a3bc
media: hevc_dec: Add module parameter for video_nr
6by9 Jan 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
drm/vc4: txp: Add horizontal and vertical size offset toggle bit
The new writeback controllers that can be found on the BCM2712 require
to have their horizontal and vertical size reduced by one.

Let's tie that behaviour to the compatible so we can support both the
new and old controllers.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025-drm-vc4-2712-support-v2-16-35efa83c8fc0@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  • Loading branch information
mripard authored and popcornmix committed Jan 10, 2025
commit b0bfdc007262a13b6a167556b681a5e6c4cba66c
1 change: 1 addition & 0 deletions drivers/gpu/drm/vc4/vc4_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,7 @@ struct vc4_crtc_data {
struct vc4_txp_data {
struct vc4_crtc_data base;
unsigned int has_byte_enable:1;
unsigned int size_minus_one:1;
};

extern const struct vc4_txp_data bcm2835_txp_data;
Expand Down
14 changes: 12 additions & 2 deletions drivers/gpu/drm/vc4/vc4_txp.c
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,8 @@ static void vc4_txp_connector_atomic_commit(struct drm_connector *conn,
struct drm_gem_dma_object *gem;
struct drm_display_mode *mode;
struct drm_framebuffer *fb;
unsigned int hdisplay;
unsigned int vdisplay;
u32 ctrl;
int idx;
int i;
Expand Down Expand Up @@ -330,9 +332,17 @@ static void vc4_txp_connector_atomic_commit(struct drm_connector *conn,
gem = drm_fb_dma_get_gem_obj(fb, 0);
TXP_WRITE(TXP_DST_PTR, gem->dma_addr + fb->offsets[0]);
TXP_WRITE(TXP_DST_PITCH, fb->pitches[0]);

hdisplay = mode->hdisplay ?: 1;
vdisplay = mode->vdisplay ?: 1;
if (txp_data->size_minus_one) {
hdisplay -= 1;
vdisplay -= 1;
}

TXP_WRITE(TXP_DIM,
VC4_SET_FIELD(mode->hdisplay, TXP_WIDTH) |
VC4_SET_FIELD(mode->vdisplay, TXP_HEIGHT));
VC4_SET_FIELD(hdisplay, TXP_WIDTH) |
VC4_SET_FIELD(vdisplay, TXP_HEIGHT));

TXP_WRITE(TXP_DST_CTRL, ctrl);

Expand Down