File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 548548 thermal-sensors = <&tsadc 1>;
549549 trips {
550550 threshold: trip-point@0 {
551- temperature = <75000 >; /* millicelsius */
551+ temperature = <70000 >; /* millicelsius */
552552 hysteresis = <2000>; /* millicelsius */
553553 type = "passive";
554554 };
555555 target: trip-point@1 {
556- temperature = <85000 >; /* millicelsius */
556+ temperature = <80000 >; /* millicelsius */
557557 hysteresis = <2000>; /* millicelsius */
558558 type = "passive";
559559 };
566566
567567 cooling-maps {
568568 map0 {
569- trip = <&target >;
569+ trip = <&threshold >;
570570 cooling-device =
571571 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
572572 contribution = <1024>;
573573 };
574574 map1 {
575575 trip = <&target>;
576576 cooling-device =
577- <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
577+ <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
578578 contribution = <1024>;
579579 };
580580 };
581581 };
582582
583583 gpu_thermal: gpu-thermal {
584- polling-delay-passive = <200>; /* milliseconds */
585- polling-delay = <1000>; /* milliseconds */
584+ polling-delay-passive = <250>; /* milliseconds */
585+ polling-delay = <5000>; /* milliseconds */
586+
586587 thermal-sensors = <&tsadc 2>;
588+
589+ trips {
590+ gpu_alert0: gpu_alert0 {
591+ temperature = <80000>; /* millicelsius */
592+ hysteresis = <2000>; /* millicelsius */
593+ type = "passive";
594+ };
595+ gpu_crit: gpu_crit {
596+ temperature = <90000>; /* millicelsius */
597+ hysteresis = <2000>; /* millicelsius */
598+ type = "critical";
599+ };
600+ };
601+
602+ cooling-maps {
603+ map0 {
604+ trip = <&gpu_alert0>;
605+ cooling-device =
606+ <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
607+ };
608+ };
587609 };
588610 };
589611
You can’t perform that action at this time.
0 commit comments