Deleted Added
full compact
r300_reg.h (258780) r300_reg.h (300050)
1/*
2 * Copyright 2005 Nicolai Haehnle et al.
3 * Copyright 2008 Advanced Micro Devices, 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

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

23 *
24 * Authors: Nicolai Haehnle
25 * Jerome Glisse
26 */
27#ifndef _R300_REG_H_
28#define _R300_REG_H_
29
30#include <sys/cdefs.h>
1/*
2 * Copyright 2005 Nicolai Haehnle et al.
3 * Copyright 2008 Advanced Micro Devices, 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

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

23 *
24 * Authors: Nicolai Haehnle
25 * Jerome Glisse
26 */
27#ifndef _R300_REG_H_
28#define _R300_REG_H_
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/drm2/radeon/r300_reg.h 258780 2013-11-30 22:17:27Z eadler $");
31__FBSDID("$FreeBSD: head/sys/dev/drm2/radeon/r300_reg.h 300050 2016-05-17 12:52:31Z eadler $");
32
33#define R300_SURF_TILE_MACRO (1<<16)
34#define R300_SURF_TILE_MICRO (2<<16)
35#define R300_SURF_TILE_BOTH (3<<16)
36
37
38#define R300_MC_INIT_MISC_LAT_TIMER 0x180
39# define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT 0

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

351 * where group of verts arent visible. For some reason this "section"
352 * is sometimes accepted other instruction that have no relationship with
353 * position calculations.
354 */
355#define R300_VAP_PVS_CNTL_1 0x22D0
356# define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0
357# define R300_PVS_CNTL_1_POS_END_SHIFT 10
358# define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20
32
33#define R300_SURF_TILE_MACRO (1<<16)
34#define R300_SURF_TILE_MICRO (2<<16)
35#define R300_SURF_TILE_BOTH (3<<16)
36
37
38#define R300_MC_INIT_MISC_LAT_TIMER 0x180
39# define R300_MC_MISC__MC_CPR_INIT_LAT_SHIFT 0

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

351 * where group of verts arent visible. For some reason this "section"
352 * is sometimes accepted other instruction that have no relationship with
353 * position calculations.
354 */
355#define R300_VAP_PVS_CNTL_1 0x22D0
356# define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0
357# define R300_PVS_CNTL_1_POS_END_SHIFT 10
358# define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20
359/* Addresses are relative the the vertex program parameters area. */
359/* Addresses are relative the vertex program parameters area. */
360#define R300_VAP_PVS_CNTL_2 0x22D4
361# define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0
362# define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16
363#define R300_VAP_PVS_CNTL_3 0x22D8
364# define R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT 10
365# define R300_PVS_CNTL_3_PROGRAM_UNKNOWN2_SHIFT 0
366
367/* The entire range from 0x2300 to 0x2AC inclusive seems to be used for

--- 1425 unchanged lines hidden ---
360#define R300_VAP_PVS_CNTL_2 0x22D4
361# define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0
362# define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16
363#define R300_VAP_PVS_CNTL_3 0x22D8
364# define R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT 10
365# define R300_PVS_CNTL_3_PROGRAM_UNKNOWN2_SHIFT 0
366
367/* The entire range from 0x2300 to 0x2AC inclusive seems to be used for

--- 1425 unchanged lines hidden ---