mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
Add RV740 support
This commit is contained in:
parent
1d8d4cad6a
commit
917f8bc1a8
3 changed files with 17 additions and 1 deletions
|
|
@ -909,7 +909,7 @@ static void r700InitSQConfig(GLcontext * ctx)
|
|||
num_es_stack_entries = 0;
|
||||
break;
|
||||
case CHIP_FAMILY_RV730:
|
||||
//case CHIP_FAMILY_RV740:
|
||||
case CHIP_FAMILY_RV740:
|
||||
num_ps_gprs = 84;
|
||||
num_vs_gprs = 36;
|
||||
num_temp_gprs = 4;
|
||||
|
|
|
|||
|
|
@ -375,6 +375,12 @@
|
|||
#define PCI_CHIP_RV710_9553 0x9553
|
||||
#define PCI_CHIP_RV710_9555 0x9555
|
||||
|
||||
#define PCI_CHIP_RV740_94A0 0x94A0
|
||||
#define PCI_CHIP_RV740_94A1 0x94A1
|
||||
#define PCI_CHIP_RV740_94B1 0x94B1
|
||||
#define PCI_CHIP_RV740_94B3 0x94B3
|
||||
#define PCI_CHIP_RV740_94B5 0x94B5
|
||||
|
||||
enum {
|
||||
CHIP_FAMILY_R100,
|
||||
CHIP_FAMILY_RV100,
|
||||
|
|
@ -411,6 +417,7 @@ enum {
|
|||
CHIP_FAMILY_RV770,
|
||||
CHIP_FAMILY_RV730,
|
||||
CHIP_FAMILY_RV710,
|
||||
CHIP_FAMILY_RV740,
|
||||
CHIP_FAMILY_LAST
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -904,6 +904,15 @@ static int radeon_set_screen_flags(radeonScreenPtr screen, int device_id)
|
|||
screen->chip_flags = RADEON_CHIPSET_TCL;
|
||||
break;
|
||||
|
||||
case PCI_CHIP_RV740_94A0:
|
||||
case PCI_CHIP_RV740_94A1:
|
||||
case PCI_CHIP_RV740_94B1:
|
||||
case PCI_CHIP_RV740_94B3:
|
||||
case PCI_CHIP_RV740_94B5:
|
||||
screen->chip_family = CHIP_FAMILY_RV740;
|
||||
screen->chip_flags = RADEON_CHIPSET_TCL;
|
||||
break;
|
||||
|
||||
default:
|
||||
fprintf(stderr, "unknown chip id 0x%x, can't guess.\n",
|
||||
device_id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue