Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e9bb47b authored by Hai Lan's avatar Hai Lan Committed by Jesse Barnes
Browse files

drm/i915: fix a sprite watermark computation to avoid divide by zero if xpos<0



When setting overlay position with x<0, it will divide 0 and make drm
driver crash.

Signed-off-by: default avatarHai Lan <hai.lan@intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 5ca0c34a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment