Subversion Repositories Kolibri OS

Rev

Rev 1403 | Rev 1413 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1403 Rev 1404
Line 279... Line 279...
279
	struct ttm_placement		placement;
279
	struct ttm_placement		placement;
280
	struct ttm_buffer_object	tbo;
280
	struct ttm_buffer_object	tbo;
281
	struct ttm_bo_kmap_obj		kmap;
281
	struct ttm_bo_kmap_obj		kmap;
282
	unsigned			pin_count;
282
    unsigned                    pin_count;
283
	void				*kptr;
283
    void                       *kptr;
-
 
284
    u32                         cpu_addr;
284
	u32				tiling_flags;
285
    u32                         tiling_flags;
285
	u32				pitch;
286
    u32                         pitch;
286
	int				surface_reg;
287
    int                         surface_reg;
287
	/* Constant after initialization */
288
	/* Constant after initialization */
288
	struct radeon_device		*rdev;
289
	struct radeon_device		*rdev;
289
	struct drm_gem_object		*gobj;
290
	struct drm_gem_object		*gobj;
-
 
291
    u32                          domain;
290
};
292
};
Line 291... Line 293...
291
 
293
 
292
struct radeon_bo_list {
294
struct radeon_bo_list {
293
	struct list_head	list;
295
	struct list_head	list;
Line 695... Line 697...
695
	void (*bandwidth_update)(struct radeon_device *rdev);
697
	void (*bandwidth_update)(struct radeon_device *rdev);
696
	void (*hpd_init)(struct radeon_device *rdev);
698
	void (*hpd_init)(struct radeon_device *rdev);
697
	void (*hpd_fini)(struct radeon_device *rdev);
699
	void (*hpd_fini)(struct radeon_device *rdev);
698
	bool (*hpd_sense)(struct radeon_device *rdev, enum radeon_hpd_id hpd);
700
	bool (*hpd_sense)(struct radeon_device *rdev, enum radeon_hpd_id hpd);
699
	void (*hpd_set_polarity)(struct radeon_device *rdev, enum radeon_hpd_id hpd);
701
	void (*hpd_set_polarity)(struct radeon_device *rdev, enum radeon_hpd_id hpd);
-
 
702
	/* ioctl hw specific callback. Some hw might want to perform special
-
 
703
	 * operation on specific ioctl. For instance on wait idle some hw
-
 
704
	 * might want to perform and HDP flush through MMIO as it seems that
-
 
705
	 * some R6XX/R7XX hw doesn't take HDP flush into account if programmed
-
 
706
	 * through ring.
-
 
707
	 */
-
 
708
	void (*ioctl_wait_idle)(struct radeon_device *rdev, struct radeon_bo *bo);
700
};
709
};
Line 701... Line 710...
701
 
710
 
702
/*
711
/*
703
 * Asic structures
712
 * Asic structures
Line 1147... Line 1156...
1147
/* r600, rv610, rv630, rv620, rv635, rv670, rs780, rs880 */
1156
/* r600, rv610, rv630, rv620, rv635, rv670, rs780, rs880 */
1148
extern bool r600_card_posted(struct radeon_device *rdev);
1157
extern bool r600_card_posted(struct radeon_device *rdev);
1149
extern void r600_cp_stop(struct radeon_device *rdev);
1158
extern void r600_cp_stop(struct radeon_device *rdev);
1150
extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size);
1159
extern void r600_ring_init(struct radeon_device *rdev, unsigned ring_size);
1151
extern int r600_cp_resume(struct radeon_device *rdev);
1160
extern int r600_cp_resume(struct radeon_device *rdev);
-
 
1161
extern void r600_cp_fini(struct radeon_device *rdev);
1152
extern int r600_count_pipe_bits(uint32_t val);
1162
extern int r600_count_pipe_bits(uint32_t val);
1153
extern int r600_gart_clear_page(struct radeon_device *rdev, int i);
1163
extern int r600_gart_clear_page(struct radeon_device *rdev, int i);
1154
extern int r600_mc_wait_for_idle(struct radeon_device *rdev);
1164
extern int r600_mc_wait_for_idle(struct radeon_device *rdev);
1155
extern int r600_pcie_gart_init(struct radeon_device *rdev);
1165
extern int r600_pcie_gart_init(struct radeon_device *rdev);
1156
extern void r600_pcie_gart_tlb_flush(struct radeon_device *rdev);
1166
extern void r600_pcie_gart_tlb_flush(struct radeon_device *rdev);