drm/etnaviv: add pipe_select(..) helper
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 14 Aug 2020 09:05:04 +0000 (11:05 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 25 Sep 2020 10:02:58 +0000 (12:02 +0200)
commita5cafb906b48573cb87a16b12625198c302e3452
tree910a3ab54b22139a506849c9a17dd73d382a9e4b
parentbbab2be7e514268e4d90ee6497f53243bb61d51c
drm/etnaviv: add pipe_select(..) helper

Replace the open coded pixel pipe selection pattern with a function.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_perfmon.c