On Tue, Oct 15, 2013 at 10:10 AM, Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx> wrote: > Another point on patch 1. Sorry, I don't have patch 1 to reply to, it > seems it was deleted from linux-arm-kernel's moderation queue. > > drm_mode_connector_attach_encoder() is called too early, before the > base.id field in the encoder has been initialised. This causes the > connectors encoder array to be empty, and userspace KMS to fail. > > There's also bugs in the CSC setting too - it runs off the end of the > array and gcc warns about this. The code was clearly wrong. > > You may wish to combine this patch with patch 1 to sort all that out. > For the patch below: > > Signed-off-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> > Tested-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx> Thanks, Russell. Will submit v3 when I am back to the office. Regards, Fabio Estevam _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel