Re: [Intel-gfx] [RFC-v19 09/13] drm/i915/pxp: Expose session state for display protection flip

2021-01-18 Thread Huang, Sean Z
- From: Vivi, Rodrigo Sent: Thursday, January 7, 2021 7:55 AM To: Huang, Sean Z ; Intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [RFC-v19 09/13] drm/i915/pxp: Expose session state for display protection flip On Wed, 2021-01-06 at 15:12 -0800, Huang, Sean Z wrote: &

Re: [Intel-gfx] [RFC-v19 09/13] drm/i915/pxp: Expose session state for display protection flip

2021-01-07 Thread Vivi, Rodrigo
On Wed, 2021-01-06 at 15:12 -0800, Huang, Sean Z wrote: > Implement the intel_pxp_gem_object_status() to allow i915 display > querying the current PXP session state. In the design, display > should not perform protection flip on the protected buffers if > there is no PXP session alive. And

[Intel-gfx] [RFC-v19 09/13] drm/i915/pxp: Expose session state for display protection flip

2021-01-06 Thread Huang, Sean Z
Implement the intel_pxp_gem_object_status() to allow i915 display querying the current PXP session state. In the design, display should not perform protection flip on the protected buffers if there is no PXP session alive. And Implement the funciton to set the protected flag for gem context.