Skip to content

Commit

Permalink
BCM270X: Disable VEC unless vc4-kms-v3d is present.
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Anholt <[email protected]>
  • Loading branch information
anholt authored and popcornmix committed Feb 20, 2017
1 parent d5f369f commit dabd52d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/bcm2708-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@
&usb {
power-domains = <&power RPI_POWER_DOMAIN_USB>;
};

&vec {
status = "disabled";
};
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@
};
};

fragment@18 {
target = <&vec>;
__overlay__ {
status = "okay";
};
};

__overrides__ {
cma-256 = <0>,"+0-1-2-3-4";
cma-192 = <0>,"-0+1-2-3-4";
Expand Down

0 comments on commit dabd52d

Please sign in to comment.