amdgpu.h (69ddce0970d9d1de63bed9c24eefa0814db29a5a) | amdgpu.h (2e0cc4d48b91a856a34027b093306c01c45d3a38) |
---|---|
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 --- 980 unchanged lines hidden (view full) --- 989int amdgpu_gpu_wait_for_idle(struct amdgpu_device *adev); 990 991void amdgpu_device_vram_access(struct amdgpu_device *adev, loff_t pos, 992 uint32_t *buf, size_t size, bool write); 993uint32_t amdgpu_mm_rreg(struct amdgpu_device *adev, uint32_t reg, 994 uint32_t acc_flags); 995void amdgpu_mm_wreg(struct amdgpu_device *adev, uint32_t reg, uint32_t v, 996 uint32_t acc_flags); | 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 --- 980 unchanged lines hidden (view full) --- 989int amdgpu_gpu_wait_for_idle(struct amdgpu_device *adev); 990 991void amdgpu_device_vram_access(struct amdgpu_device *adev, loff_t pos, 992 uint32_t *buf, size_t size, bool write); 993uint32_t amdgpu_mm_rreg(struct amdgpu_device *adev, uint32_t reg, 994 uint32_t acc_flags); 995void amdgpu_mm_wreg(struct amdgpu_device *adev, uint32_t reg, uint32_t v, 996 uint32_t acc_flags); |
997void amdgpu_mm_wreg_mmio_rlc(struct amdgpu_device *adev, uint32_t reg, uint32_t v, 998 uint32_t acc_flags); |
|
997void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value); 998uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset); 999 1000u32 amdgpu_io_rreg(struct amdgpu_device *adev, u32 reg); 1001void amdgpu_io_wreg(struct amdgpu_device *adev, u32 reg, u32 v); 1002 1003bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type); 1004bool amdgpu_device_has_dc_support(struct amdgpu_device *adev); --- 246 unchanged lines hidden --- | 999void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value); 1000uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset); 1001 1002u32 amdgpu_io_rreg(struct amdgpu_device *adev, u32 reg); 1003void amdgpu_io_wreg(struct amdgpu_device *adev, u32 reg, u32 v); 1004 1005bool amdgpu_device_asic_has_dc_support(enum amd_asic_type asic_type); 1006bool amdgpu_device_has_dc_support(struct amdgpu_device *adev); --- 246 unchanged lines hidden --- |