Searched hist:"7 ad9993b2368f2a861f335184cd2bb1909f13827" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | i9xx_plane.c | diff 7ad9993b2368f2a861f335184cd2bb1909f13827 Thu Feb 10 00:24:02 CST 2022 Ville Syrjälä <ville.syrjala@linux.intel.com> drm/i915: Make most pre-skl primary plane registers unlocked
Drop the locks around most primary plane register writes. The lock isn't needed since each plane's register are neatly contained on their own cachelines.
The one exception we have to make is DSPADDR/DSPSURF which is (ab)used to also trigger FBC nukes on pre-snb (since the hardware doesn't seem to have any dedicated mechanism to trigger nukes). So we need to keep the lock around it to protect against the rmw performed by the fbc code.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220210062403.18690-5-ville.syrjala@linux.intel.com Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
|