drm/amd: Remove get_vmem_size from KGD-KFD interface
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Sat, 9 Dec 2017 04:08:45 +0000 (23:08 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 9 Dec 2017 04:08:45 +0000 (23:08 -0500)
Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/include/kgd_kfd_interface.h

index c58389c..0899cee 100644 (file)
@@ -128,8 +128,6 @@ struct tile_config {
  *
  * @free_gtt_mem: Frees a buffer that was allocated on the gart aperture
  *
- * @get_vmem_size: Retrieves (physical) size of VRAM
- *
  * @get_local_mem_info: Retrieves information about GPU local memory
  *
  * @get_gpu_clock_counter: Retrieves GPU clock counter
@@ -190,7 +188,6 @@ struct kfd2kgd_calls {
 
        void (*free_gtt_mem)(struct kgd_dev *kgd, void *mem_obj);
 
-       uint64_t (*get_vmem_size)(struct kgd_dev *kgd);
        void (*get_local_mem_info)(struct kgd_dev *kgd,
                        struct kfd_local_mem_info *mem_info);
        uint64_t (*get_gpu_clock_counter)(struct kgd_dev *kgd);