On Tue, Apr 15, 2014 at 12:22 PM, Ville Syrj?l? <ville.syrjala at linux.intel.com> wrote: > Although I'm not sure EINVAL is the best choice here. Maybe ENOSYS?
We return -EINVAL everywhere else where we don't support a giving config, e.g. lack of dpll, unsupported plane scaling, pixel format mismatch of the primary plane (since we don't yet have per-gen lists of supported formats for the primary plane) and so on. So I've figured -EINVAL is good enough until we have something better with the test mode for atomic modesets. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch