mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
nvc0: add maxwell class
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
0079a375a5
commit
9306c3470f
2 changed files with 4 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#define NVC8_3D_CLASS 0x00009297
|
||||
#define NVE4_3D_CLASS 0x0000a097
|
||||
#define NVF0_3D_CLASS 0x0000a197
|
||||
#define GM107_3D_CLASS 0x0000b097
|
||||
#define NV50_2D_CLASS 0x0000502d
|
||||
#define NVC0_2D_CLASS 0x0000902d
|
||||
#define NV50_COMPUTE_CLASS 0x000050c0
|
||||
|
|
|
|||
|
|
@ -685,6 +685,9 @@ nvc0_screen_create(struct nouveau_device *dev)
|
|||
PUSH_DATA (push, screen->fence.bo->offset + 16);
|
||||
|
||||
switch (dev->chipset & ~0xf) {
|
||||
case 0x110:
|
||||
obj_class = GM107_3D_CLASS;
|
||||
break;
|
||||
case 0x100:
|
||||
case 0xf0:
|
||||
obj_class = NVF0_3D_CLASS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue