On Fri, Aug 14, 2015 at 02:59:16PM +0100, Russell King - ARM Linux wrote:
On Wed, Aug 12, 2015 at 05:00:34PM +0200, Thierry Reding wrote:
From: Thierry Reding treding@nvidia.com
Non-legacy drivers should only use this API to allow per-CRTC data to be eventually moved into struct drm_crtc.
Cc: Russell King rmk+kernel@arm.linux.org.uk Signed-off-by: Thierry Reding treding@nvidia.com
What I don't like about the new APIs is that they lookup the CRTC number by searching the crtc list on every call to them. If that's going to be fixed, then I'm happy with this change, but if it's going to remain for a significant time, I'm really not happy.
This is a temporary measure. The goal is to eventually split off the VBLANK data into a per-CRTC structure, at which point there will be no longer any need for the CRTC index.
Thierry