Linux Kernel
3.7.1
|
#include <drm/drmP.h>
#include <drm/radeon_drm.h>
#include "radeon_drv.h"
#include "r600_blit_shaders.h"
Go to the source code of this file.
Macros | |
#define | DI_PT_RECTLIST 0x11 |
#define | DI_INDEX_SIZE_16_BIT 0x0 |
#define | DI_SRC_SEL_AUTO_INDEX 0x2 |
#define | FMT_8 0x1 |
#define | FMT_5_6_5 0x8 |
#define | FMT_8_8_8_8 0x1a |
#define | COLOR_8 0x1 |
#define | COLOR_5_6_5 0x8 |
#define | COLOR_8_8_8_8 0x1a |
#define | I2F_FRAC_BITS 23 |
#define | I2F_MASK ((1 << I2F_FRAC_BITS) - 1) |
Functions | |
__pure uint32_t | int2float (uint32_t x) |
int | r600_prepare_blit_copy (struct drm_device *dev, struct drm_file *file_priv) |
void | r600_done_blit_copy (struct drm_device *dev) |
void | r600_blit_copy (struct drm_device *dev, uint64_t src_gpu_addr, uint64_t dst_gpu_addr, int size_bytes) |
void | r600_blit_swap (struct drm_device *dev, uint64_t src_gpu_addr, uint64_t dst_gpu_addr, int sx, int sy, int dx, int dy, int w, int h, int src_pitch, int dst_pitch, int cpp) |
#define COLOR_5_6_5 0x8 |
Definition at line 40 of file r600_blit.c.
#define COLOR_8 0x1 |
Definition at line 39 of file r600_blit.c.
#define COLOR_8_8_8_8 0x1a |
Definition at line 41 of file r600_blit.c.
#define DI_INDEX_SIZE_16_BIT 0x0 |
Definition at line 33 of file r600_blit.c.
#define DI_PT_RECTLIST 0x11 |
Definition at line 32 of file r600_blit.c.
#define DI_SRC_SEL_AUTO_INDEX 0x2 |
Definition at line 34 of file r600_blit.c.
#define FMT_5_6_5 0x8 |
Definition at line 37 of file r600_blit.c.
#define FMT_8 0x1 |
Definition at line 36 of file r600_blit.c.
#define FMT_8_8_8_8 0x1a |
Definition at line 38 of file r600_blit.c.
#define I2F_FRAC_BITS 23 |
Definition at line 492 of file r600_blit.c.
#define I2F_MASK ((1 << I2F_FRAC_BITS) - 1) |
Definition at line 493 of file r600_blit.c.
Definition at line 501 of file r600_blit.c.
void r600_blit_copy | ( | struct drm_device * | dev, |
uint64_t | src_gpu_addr, | ||
uint64_t | dst_gpu_addr, | ||
int | size_bytes | ||
) |
Definition at line 590 of file r600_blit.c.
void r600_blit_swap | ( | struct drm_device * | dev, |
uint64_t | src_gpu_addr, | ||
uint64_t | dst_gpu_addr, | ||
int | sx, | ||
int | sy, | ||
int | dx, | ||
int | dy, | ||
int | w, | ||
int | h, | ||
int | src_pitch, | ||
int | dst_pitch, | ||
int | cpp | ||
) |
Definition at line 784 of file r600_blit.c.
void r600_done_blit_copy | ( | struct drm_device * | dev | ) |
Definition at line 569 of file r600_blit.c.
int r600_prepare_blit_copy | ( | struct drm_device * | dev, |
struct drm_file * | file_priv | ||
) |
Definition at line 549 of file r600_blit.c.