Skip to content
Commit 2695dcaf authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

drm: Check whether the gamma lut has changed before updating



drm_crtc_legacy_gamma_set updates the gamma_lut blob unconditionally,
which leads to unnecessary reprogramming of hardware.

Check whether the blob contents has actually changed before
signalling that it has been updated.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent a71721aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment