]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Make sure the VSP is initialized on platforms that need it
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Fri, 3 Mar 2017 12:58:56 +0000 (13:58 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 14:03:50 +0000 (17:03 +0300)
commit6d33e9a5450c8a3bb865aeb15aac0f8482e8dd44
treef109857678bb9bf70ed3e509e0a5db9dc51229f2
parentcf4e30de1ba659408eb1234d0b45ac3b1293e1f4
drm: rcar-du: Make sure the VSP is initialized on platforms that need it

On Gen3 platforms planes are managed by the external VSP compositor on
behalf of DRM/KMS. If VSP compositor support is not enabled in the DU
driver, the VSP initialization stub routine is called. Return an error
from that stub to fail explicitly, otherwise the device won't be usable
and the driver will crash.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
[Clarified commit message]
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_vsp.h