radeon.h (4c0ab318a18b86b80f604410e8ed10bb59f0d7eb) radeon.h (8214ddae31f977c11c5379203f5ad0a038d389d5)
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 717 unchanged lines hidden (view full) ---

726 resource_size_t size;
727 u32 __iomem *ptr;
728 u32 num_doorbells; /* Number of doorbells actually reserved for radeon. */
729 DECLARE_BITMAP(used, RADEON_MAX_DOORBELLS);
730};
731
732int radeon_doorbell_get(struct radeon_device *rdev, u32 *page);
733void radeon_doorbell_free(struct radeon_device *rdev, u32 doorbell);
1/*
2 * Copyright 2008 Advanced Micro Devices, Inc.
3 * Copyright 2008 Red Hat Inc.
4 * Copyright 2009 Jerome Glisse.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation

--- 717 unchanged lines hidden (view full) ---

726 resource_size_t size;
727 u32 __iomem *ptr;
728 u32 num_doorbells; /* Number of doorbells actually reserved for radeon. */
729 DECLARE_BITMAP(used, RADEON_MAX_DOORBELLS);
730};
731
732int radeon_doorbell_get(struct radeon_device *rdev, u32 *page);
733void radeon_doorbell_free(struct radeon_device *rdev, u32 doorbell);
734void radeon_doorbell_get_kfd_info(struct radeon_device *rdev,
735 phys_addr_t *aperture_base,
736 size_t *aperture_size,
737 size_t *start_offset);
738
739/*
740 * IRQS.
741 */
742
743struct radeon_flip_work {
744 struct work_struct flip_work;
745 struct work_struct unpin_work;

--- 2224 unchanged lines hidden ---
734
735/*
736 * IRQS.
737 */
738
739struct radeon_flip_work {
740 struct work_struct flip_work;
741 struct work_struct unpin_work;

--- 2224 unchanged lines hidden ---