[Intel-gfx] [PATCH 2/4] drm/i915: Eliminate the RMW sprite colorkey management
Daniel Vetter
daniel at ffwll.ch
Thu Mar 19 09:46:13 PDT 2015
On Thu, Mar 19, 2015 at 05:57:12PM +0200, ville.syrjala at linux.intel.com wrote:
> @@ -1332,7 +1167,7 @@ int intel_sprite_set_colorkey(struct drm_device *dev, void *data,
> }
>
> intel_plane = to_intel_plane(plane);
> - ret = intel_plane->update_colorkey(plane, set);
> + intel_plane->ckey = *set;
I really liked this and wanted to merge, but then realized that this hunk
removes the update for the ioctl. I think we need to put and update_plane
call or similar in here?
Also we still have the RMW for the sprite control register - aren't we
know at a point where there's nothing left to keep?
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list