job.h 517 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Tegra host1x Job
  4. *
  5. * Copyright (c) 2011-2013, NVIDIA Corporation.
  6. */
  7. #ifndef __HOST1X_JOB_H
  8. #define __HOST1X_JOB_H
  9. struct host1x_job_gather {
  10. unsigned int words;
  11. dma_addr_t base;
  12. struct host1x_bo *bo;
  13. unsigned int offset;
  14. bool handled;
  15. };
  16. struct host1x_job_unpin_data {
  17. struct host1x_bo *bo;
  18. struct sg_table *sgt;
  19. size_t size;
  20. };
  21. /*
  22. * Dump contents of job to debug output.
  23. */
  24. void host1x_job_dump(struct device *dev, struct host1x_job *job);
  25. #endif