• Liviu Dudau's avatar
    drm: hdlcd: Cleanup the atomic plane operations · 96ebb1f3
    Liviu Dudau authored
    Harden the plane_check() code to drop attempts at scaling because
    that is not supported. Make hdlcd_plane_atomic_update() set the pitch
    and line length registers that correctly reflect the plane's values.
    And make hdlcd_crtc_mode_set_nofb() a helper function for
    hdlcd_crtc_enable() rather than an exposed hook.
    
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
    96ebb1f3
hdlcd_crtc.c 9.85 KB