drm/etnaviv: add performance monitor request validation
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 24 Sep 2017 13:15:25 +0000 (15:15 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Tue, 10 Oct 2017 09:45:43 +0000 (11:45 +0200)
commit46df52cd4395b62d05b9ac99a7f320f577b5cff5
treedadd3910de13da7f5cd7f58e28c42e9fe8b88f82
parent4fc3e66adb291cc3ec4a360c75221e9fbf416938
drm/etnaviv: add performance monitor request validation

Check if the selected domain and signal combination exists.

Changes from v4 to v5
- add exec_state parameter

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
drivers/gpu/drm/etnaviv/etnaviv_perfmon.h