summaryrefslogtreecommitdiff
path: root/linux-core/Kconfig
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 11:47:58 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 11:47:58 -0700
commit8dd75bd601f5fbf9793afc7b869a278050aa17d5 (patch)
tree2a7143be4caba559e1fd9357f3854d8e95dfb03a /linux-core/Kconfig
parent63d4d40463b04f1277470ccf5cc96dafd81e8687 (diff)
Add aperture size and preallocation probing (from intelfb), cleanup load code to be more general.
Diffstat (limited to 'linux-core/Kconfig')
0 files changed, 0 insertions, 0 deletions
span> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL * THE UNICHROME PROJECT, AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * Author: Thomas Hellström 2004. */ #ifndef _VIA_VERIFIER_H_ #define _VIA_VERIFIER_H_ typedef enum { no_sequence = 0, z_address, dest_address, tex_address } drm_via_sequence_t; typedef struct { unsigned texture; uint32_t z_addr; uint32_t d_addr; uint32_t t_addr[2][10]; uint32_t pitch[2][10]; uint32_t height[2][10]; uint32_t tex_level_lo[2]; uint32_t tex_level_hi[2]; uint32_t tex_palette_size[2]; drm_via_sequence_t unfinished; int agp_texture; int multitex; drm_device_t *dev; drm_local_map_t *map_cache; uint32_t vertex_count; int agp; const uint32_t *buf_start; } drm_via_state_t; extern int via_verify_command_stream(const uint32_t * buf, unsigned int size, drm_device_t *dev, int agp); extern int via_parse_command_stream(drm_device_t *dev, const uint32_t * buf, unsigned int size); #endif