Re: [PATCH 2/3] drm: validate possible_crtcs for primary and cursor planes

2020-12-11 Thread Daniel Vetter
On Thu, Dec 10, 2020 at 03:50:31PM +, Simon Ser wrote: > If a primary or cursor plane is not compatible with a CRTC it's attached > to via the legacy primary/cursor field, things will be broken for legacy > user-space. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Pekka Paalanen Y

[PATCH 2/3] drm: validate possible_crtcs for primary and cursor planes

2020-12-10 Thread Simon Ser
If a primary or cursor plane is not compatible with a CRTC it's attached to via the legacy primary/cursor field, things will be broken for legacy user-space. Signed-off-by: Simon Ser Cc: Daniel Vetter Cc: Pekka Paalanen --- drivers/gpu/drm/drm_mode_config.c | 16 1 file change