]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Replace EXT_CTRL_REGS feature flag with generation check
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 24 Nov 2018 17:57:17 +0000 (19:57 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 14 Jan 2019 01:51:24 +0000 (03:51 +0200)
commit880fb032dc1aab9cfb052266e8d069fe01eb83eb
tree8fba970806f0399ff260ea3d1b39631de8c07f95
parent57a3974652dae2af0571caa1318a43c51183e65d
drm: rcar-du: Replace EXT_CTRL_REGS feature flag with generation check

The RCAR_DU_FEATURE_EXT_CTRL_REGS feature flag is missing for H1 only,
which is a first generation device, not a second generation device as
reported in the device information table. Fix the H1 generation and use
generation checks to replace the feature flag.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_group.c