[PATCH] drm/plane-helper: Don't fake-implement primary plane disabling

Daniel Vetter daniel.vetter at ffwll.ch
Tue Apr 15 05:07:44 PDT 2014


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


More information about the dri-devel mailing list