drm/rockchip: remove NR_LAYERS macro on vop2
authorAndy Yan <andy.yan@rock-chips.com>
Fri, 13 Oct 2023 12:20:51 +0000 (20:20 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 16 Oct 2023 13:05:24 +0000 (15:05 +0200)
commitdc00748adcf03d754bf43035c668bc5b20fb6597
tree8dbc436df982a5958e89cce9ad1205f6e3fe021a
parentac1c11c23fc51c1ba51a3ed586df40ffe6b1de35
drm/rockchip: remove NR_LAYERS macro on vop2

There are 8 layers on rk3588, so a fix defined macro is
not appropriate.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231013122051.1594164-1-andyshrk@163.com
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c