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 <eric@anholt.net>
(cherry picked from commit dabd52d)
  • Loading branch information
anholt authored and popcornmix committed Jan 25, 2018
1 parent e6c8ad2 commit f55396c
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
Expand Up @@ -160,3 +160,7 @@ sdhost_pins: &sdhost_gpio48 {
&cpu_thermal {
/delete-node/ trips;
};

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

fragment@17 {
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 f55396c

Please sign in to comment.