Skip to content

vc4 updates for 4.5 #1421

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

Merged
merged 40 commits into from
Apr 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
66c48b1
clk: bcm2835: added missing clock register definitions
msperl Dec 22, 2015
bff4456
clk: bcm2835: pll_off should only update CM_PLL_ANARST
msperl Feb 29, 2016
07b8cb6
clk: bcm2835: add locking to pll*_on/off methods
msperl Feb 29, 2016
5ec86a4
clk: bcm2835: divider value has to be 1 or more
msperl Feb 29, 2016
734a3f4
clk: bcm2835: correctly enable fractional clock support
msperl Feb 29, 2016
383c6db
clk: bcm2835: clean up coding style issues
msperl Feb 29, 2016
58986e2
clk: bcm2835: expose raw clock-registers via debugfs
msperl Feb 29, 2016
d775ffe
clk: bcm2835: remove use of BCM2835_CLOCK_COUNT in driver
msperl Feb 29, 2016
c0daeca
clk: bcm2835: reorganize bcm2835_clock_array assignment
msperl Feb 29, 2016
447b9a2
clk: bcm2835: enable management of PCM clock
msperl Feb 29, 2016
d07e3ee
clk: bcm2835: add missing PLL clock dividers
msperl Feb 29, 2016
d2c9df6
clk: bcm2835: add missing osc and per clocks
msperl Feb 29, 2016
d13eba0
clk: bcm2835: Fix PLL poweron
anholt Apr 13, 2016
eaded79
ARM: bcm2708: Enable building power domain driver.
anholt Apr 19, 2016
100820b
bcm2708: Add RASPBERRYPI_POWER to the defconfigs.
anholt Apr 19, 2016
95698da
bcm2708: Add the power domain driver to the device tree.
anholt Apr 19, 2016
2bb49ce
bcm2708: Reference the HDMI power domain for the HDMI driver.
anholt Apr 19, 2016
3677d11
drm/vc4: Improve comments on vc4_plane_state members.
anholt Dec 28, 2015
c86fdc4
drm/vc4: Add missing __iomem annotation to hw_dlist.
anholt Dec 28, 2015
0b3a1b7
drm/vc4: Move the plane clipping/scaling setup to a separate function.
anholt Dec 28, 2015
22487fa
drm/vc4: Add a proper short-circut path for legacy cursor updates.
anholt Dec 30, 2015
5d413cc
drm/vc4: Make the CRTCs cooperate on allocating display lists.
anholt Dec 28, 2015
4868b41
drm/vc4: Add more display planes to each CRTC.
anholt Oct 20, 2015
ccb776e
drm/vc4: Fix which value is being used for source image size.
anholt Dec 28, 2015
6bfd854
drm/vc4: Add support for scaling of display planes.
anholt Oct 20, 2015
98edd31
drm/vc4: Add support a few more RGB display plane formats.
anholt Oct 20, 2015
1c9826c
drm/vc4: Add support for YUV planes.
anholt Dec 30, 2015
1558ef2
drm/vc4: Fix a framebuffer reference leak on async flip interrupt.
anholt Feb 5, 2016
3a4698f
drm/vc4: Bring HDMI up from power off if necessary.
anholt Feb 12, 2016
ae8314d
drm/vc4: Add another reg to HDMI debug dumping.
anholt Feb 12, 2016
0454ad3
drm/vc4: Fix the name of the VSYNCD_EVEN register.
anholt Feb 16, 2016
ff13d12
drm/vc4: Fix setting of vertical timings in the CRTC.
anholt Feb 16, 2016
0b7de0a
drm/vc4: Initialize scaler DISPBKGND on modeset.
anholt Feb 16, 2016
d802247
drm/vc4: improve throughput by pipelining binning and rendering jobs
varadgautam Feb 17, 2016
c9a12a1
drm/vc4: Let gpiolib know that we're OK with sleeping for HPD.
anholt Mar 1, 2016
51dee6f
drm/vc4: Respect GPIO_ACTIVE_LOW on HDMI HPD if set in the devicetree.
anholt Mar 1, 2016
cef049f
drm/vc4: Recognize a more specific compatible string for V3D.
anholt Mar 4, 2016
80d7159
ARM: bcm2708: Move the CMA range down for kernel 4.4.
anholt Apr 20, 2016
48b0b5f
ARM: bcm2708: Add missing V3D power domain to the overlay.
anholt Apr 20, 2016
fc7b011
drm/vc4: Force HDMI to connected.
anholt Oct 14, 2015
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
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/bcm2708_common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,12 @@
mboxes = <&mailbox>;
};

power: power {
compatible = "raspberrypi,bcm2835-power";
firmware = <&firmware>;
#power-domain-cells = <1>;
};

leds: leds {
compatible = "gpio-leds";
};
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
/plugin/;

#include "dt-bindings/clock/bcm2835.h"
#include "dt-bindings/power/raspberrypi-power.h"
#include "dt-bindings/gpio/gpio.h"

/ {
Expand Down Expand Up @@ -72,12 +73,14 @@
clocks = <&cprman BCM2835_PLLH_PIX>,
<&cprman BCM2835_CLOCK_HSM>;
clock-names = "pixel", "hdmi";
power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
};

v3d@7ec00000 {
compatible = "brcm,vc4-v3d";
reg = <0x7ec00000 0x1000>;
interrupts = <1 10>;
power-domains = <&power RPI_POWER_DOMAIN_V3D>;
};

gpu@7e4c0000 {
Expand All @@ -89,7 +92,7 @@
fragment@4 {
target-path = "/chosen";
__overlay__ {
bootargs = "cma=256M@512M";
bootargs = "cma=256M@256M";
};
};
};
2 changes: 2 additions & 0 deletions arch/arm/configs/bcm2709_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ CONFIG_NEON=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_BINFMT_MISC=m
# CONFIG_SUSPEND is not set
CONFIG_PM=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
Expand Down Expand Up @@ -1109,6 +1110,7 @@ CONFIG_FB_TFT_FBTFT_DEVICE=m
CONFIG_MAILBOX=y
CONFIG_BCM2835_MBOX=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_RASPBERRYPI_POWER=y
CONFIG_EXTCON=m
CONFIG_EXTCON_ARIZONA=m
CONFIG_IIO=m
Expand Down
2 changes: 2 additions & 0 deletions arch/arm/configs/bcmrpi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
CONFIG_VFP=y
CONFIG_BINFMT_MISC=m
# CONFIG_SUSPEND is not set
CONFIG_PM=y
CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
Expand Down Expand Up @@ -1116,6 +1117,7 @@ CONFIG_FB_TFT_FBTFT_DEVICE=m
CONFIG_MAILBOX=y
CONFIG_BCM2835_MBOX=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_RASPBERRYPI_POWER=y
CONFIG_EXTCON=m
CONFIG_EXTCON_ARIZONA=m
CONFIG_IIO=m
Expand Down
Loading