]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dsb: Allow DSB based updates without planes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 18 Feb 2025 20:58:47 +0000 (22:58 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Feb 2025 20:44:39 +0000 (22:44 +0200)
commit76b7be63d9f33e8f319e480c50d3e53460927add
tree9d6b107c5c6253f082f783a1ed821c52de400cf4
parent24abc47205daa79dfde92274fa8c14b20b3cf797
drm/i915/dsb: Allow DSB based updates without planes

We don't actually need any planes to get updated in order
to perform the commit on the DSB. Allow DSB based updates
even when we don't touch planes. The main benefit here
is that pure LUT updates will now go through the DSB path
and therefore we don't have to do vblank evasion/etc. on
the CPU.

I think the reason I had this excluded was that I was
originally contemplating using frame/flip timestamps as
a way to complete the commits. But I had to scrap that
idea when it turned out that those timestamp get
corrupted when DSB is poking at random registers.

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