diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-11-23 17:26:30 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-12-13 05:14:18 +0200 |
commit | 26886082fbba1c438f88b1efed2f4dfd5612fefc (patch) | |
tree | e4f27d299c762d4885f03b8f6301130be008e456 /security | |
parent | bb0409f40ffab331f660a742c59953f5ae7698a0 (diff) | |
download | linux-26886082fbba1c438f88b1efed2f4dfd5612fefc.tar.gz linux-26886082fbba1c438f88b1efed2f4dfd5612fefc.tar.bz2 linux-26886082fbba1c438f88b1efed2f4dfd5612fefc.zip |
drm/i915: Standardize auto-increment LUT load procedure
Various gamma units on various platforms have some problems loading
the LUT index and auto-increment bit at the same time. We have to
do this in two steps. The first known case was the glk degamma LUT,
but at least ADL has another known case.
We're not going to suffer too badly from a couple of extra register
writes here, so let's just standardize on this practice for all
auto-increment LUT loads/reads. This way we never have to worry about
this specific issue again. And for good measure always reset the
index back to zero at the end (we already did this in a few places).
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123152638.20622-6-ville.syrjala@linux.intel.com
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions