summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dsi.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-11-08 17:09:55 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-11-13 16:52:12 +0200
commitca0026790eface29d355c96964207fd393a2f33a (patch)
tree3aca9f62fd1fdb25170d3dda54d82134737f003d /drivers/gpu/drm/i915/intel_dsi.c
parent6bd36e0822ca841bbb21d050e80cd690209bd322 (diff)
drm/i915: Always write both TILEOFF and LINOFF plane registers
Reduce the clutter in the sprite update functions by writing both TILEOFF and LINOFF registers unconditionally. We already did this for primary planes so might as well do it for the sprites too. There is no harm in writing both registers. Which one gets used depends on the tilimg mode selected in the plane control registers. It might even make sense to clear the register that won't get used. That could make register dumps a little easier to parse. But I'm not sure it's worth the extra hassle. Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181108150955.23948-1-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> #irc
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.c')
0 files changed, 0 insertions, 0 deletions