Home
last modified time | relevance | path

Searched refs:prime_fpriv (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_prime.c111 p = &prime_fpriv->dmabufs.rb_node; in drm_prime_add_buf_handle()
126 p = &prime_fpriv->handles.rb_node; in drm_prime_add_buf_handle()
148 rb = prime_fpriv->handles.rb_node; in drm_prime_lookup_buf_by_handle()
170 rb = prime_fpriv->dmabufs.rb_node; in drm_prime_lookup_buf_handle()
193 mutex_lock(&prime_fpriv->lock); in drm_prime_remove_buf_handle()
195 rb = prime_fpriv->handles.rb_node; in drm_prime_remove_buf_handle()
214 mutex_unlock(&prime_fpriv->lock); in drm_prime_remove_buf_handle()
219 mutex_init(&prime_fpriv->lock); in drm_prime_init_file_private()
220 prime_fpriv->dmabufs = RB_ROOT; in drm_prime_init_file_private()
221 prime_fpriv->handles = RB_ROOT; in drm_prime_init_file_private()
[all …]
H A Ddrm_internal.h75 void drm_prime_init_file_private(struct drm_prime_file_private *prime_fpriv);
76 void drm_prime_destroy_file_private(struct drm_prime_file_private *prime_fpriv);
77 void drm_prime_remove_buf_handle(struct drm_prime_file_private *prime_fpriv,