From 39e2197f793e11f18b9e67b322beebb89c104f78 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 10 Aug 2014 04:10:27 +1000 Subject: disp/nv50-: audit and version PIOR_PWR method The full object interfaces are about to be exposed to userspace, so we need to check for any security-related issues and version the structs to make it easier to handle any changes we may need in the future. Signed-off-by: Ben Skeggs --- nvif/class.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nvif') diff --git a/nvif/class.h b/nvif/class.h index e0d45faa4..f869f94d4 100644 --- a/nvif/class.h +++ b/nvif/class.h @@ -373,4 +373,11 @@ struct nv50_disp_sor_dp_pwr_v0 { __u8 pad02[6]; }; +struct nv50_disp_pior_pwr_v0 { + __u8 version; + __u8 state; + __u8 type; + __u8 pad03[5]; +}; + #endif -- cgit v1.2.1