diff options
Diffstat (limited to 'drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h')
-rw-r--r-- | drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h b/drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h index abe66078029f..2efa293088a1 100644 --- a/drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h +++ b/drivers/gpu/arm/midgard/mali_kbase_hwaccess_jm.h @@ -1,6 +1,6 @@ /* * - * (C) COPYRIGHT 2014-2016 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software @@ -71,7 +71,9 @@ void kbase_backend_release_free_address_space(struct kbase_device *kbdev, * * kbase_gpu_next_job() will pull atoms from the active context. * - * Return: true if successful, false if ASID not assigned. + * Return: true if successful, false if ASID not assigned. If kctx->as_pending + * is true then ASID assignment will complete at some point in the + * future and will re-start scheduling, otherwise no ASIDs are available */ bool kbase_backend_use_ctx(struct kbase_device *kbdev, struct kbase_context *kctx, @@ -212,15 +214,6 @@ int kbase_backend_nr_atoms_submitted(struct kbase_device *kbdev, int js); void kbase_backend_ctx_count_changed(struct kbase_device *kbdev); /** - * kbase_backend_timeouts_changed() - Job Scheduler timeouts have changed. - * @kbdev: Device pointer - * - * Perform any required backend-specific actions (eg updating timeouts of - * currently running atoms). - */ -void kbase_backend_timeouts_changed(struct kbase_device *kbdev); - -/** * kbase_backend_slot_free() - Return the number of jobs that can be currently * submitted to slot @js. * @kbdev: Device pointer @@ -326,28 +319,6 @@ bool kbase_prepare_to_reset_gpu_locked(struct kbase_device *kbdev); * signalled to know when the reset has completed. */ void kbase_reset_gpu_locked(struct kbase_device *kbdev); - -/** - * kbase_reset_gpu_silent - Reset the GPU silently - * @kbdev: Device pointer - * - * Reset the GPU without trying to cancel jobs and don't emit messages into - * the kernel log while doing the reset. - * - * This function should be used in cases where we are doing a controlled reset - * of the GPU as part of normal processing (e.g. exiting protected mode) where - * the driver will have ensured the scheduler has been idled and all other - * users of the GPU (e.g. instrumentation) have been suspended. - */ -void kbase_reset_gpu_silent(struct kbase_device *kbdev); - -/** - * kbase_reset_gpu_active - Reports if the GPU is being reset - * @kbdev: Device pointer - * - * Return: True if the GPU is in the process of being reset. - */ -bool kbase_reset_gpu_active(struct kbase_device *kbdev); #endif /** |