rockchip_ebc: emergency fix: don't allow temperatures < 19
Early cancellation is broken for DU sequences with >29 phases and can cause damages to the display.
This commit is contained in:
parent
52943b19e2
commit
fa594ab9a7
1 changed files with 2 additions and 0 deletions
|
@ -1110,6 +1110,8 @@ static void rockchip_ebc_upd_temp(struct rockchip_ebc *ebc)
|
||||||
printk(KERN_INFO "rockchip-ebc: override temperature from %i to %i\n", temperature, temp_override);
|
printk(KERN_INFO "rockchip-ebc: override temperature from %i to %i\n", temperature, temp_override);
|
||||||
temperature = temp_override;
|
temperature = temp_override;
|
||||||
}
|
}
|
||||||
|
// Early cancellation is broken right now for lower temperatures
|
||||||
|
temperature = max(temperature, 19);
|
||||||
ebc->temperature = temperature;
|
ebc->temperature = temperature;
|
||||||
|
|
||||||
// TODO: figure out exclusivity/inclusivity and lowest and highest temperature range
|
// TODO: figure out exclusivity/inclusivity and lowest and highest temperature range
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue