mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 18:18:27 +02:00
Updated via DRM with check for stray FIRE commands primitive list.
This commit is contained in:
parent
fcece3cf34
commit
ca2b94cfa2
2 changed files with 7 additions and 2 deletions
|
|
@ -28,11 +28,11 @@
|
|||
|
||||
#define DRIVER_NAME "via"
|
||||
#define DRIVER_DESC "VIA Unichrome"
|
||||
#define DRIVER_DATE "20050106"
|
||||
#define DRIVER_DATE "20050107"
|
||||
|
||||
#define DRIVER_MAJOR 2
|
||||
#define DRIVER_MINOR 4
|
||||
#define DRIVER_PATCHLEVEL 1
|
||||
#define DRIVER_PATCHLEVEL 2
|
||||
|
||||
typedef struct drm_via_ring_buffer {
|
||||
drm_map_t map;
|
||||
|
|
|
|||
|
|
@ -576,6 +576,11 @@ via_check_prim_list(uint32_t const **buffer, const uint32_t *buf_end,
|
|||
buf++;
|
||||
break;
|
||||
}
|
||||
if ((*buf & HALCYON_FIREMASK) == HALCYON_FIRECMD) {
|
||||
DRM_ERROR("Stray Vertex Fire command encountered.\n");
|
||||
ret = 1;
|
||||
break;
|
||||
}
|
||||
if ((ret = eat_words(&buf, buf_end, dw_count)))
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue