]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/i915/dsb: Use non-posted register writes for legacy LUT
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 6 Jun 2023 19:14:58 +0000 (22:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 Sep 2023 15:42:14 +0000 (18:42 +0300)
commit25ea3411bd23c5f0043881e2c6710423eb411784
tree25e7d2b2c0cf76f593459d7fdfedd7d5f089bfdb
parent5ae0da3fc78d3fdef278a22e874d6d5c305d1e03
drm/i915/dsb: Use non-posted register writes for legacy LUT

The DSB has problems writing the legacy LUT. The two workarounds
I've discoverted are:
- write each entry twice back to back
- use non-posted writes

Let's use non-posted writes as that seems a bit more standard.

TODO: measure which is faster

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230606191504.18099-14-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_color.c