Skip to content
Commit 9cca2667 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
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 4ae4769d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment