* pass dceMajor and dceMinor to accelerant
* will fix other var names to match style guidelines shortly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b0efb2e13b
commit
a4ba3a0f61
@ -119,6 +119,8 @@ struct radeon_shared_info {
|
||||
uint16 cursor_hot_y;
|
||||
|
||||
uint16 device_chipset;
|
||||
uint8 dceMajor;
|
||||
uint8 dceMinor;
|
||||
char device_identifier[32];
|
||||
};
|
||||
|
||||
|
@ -337,6 +337,8 @@ init_driver(void)
|
||||
gDeviceInfo[found]->device_id = kSupportedDevices[type].device_id;
|
||||
gDeviceInfo[found]->device_identifier = kSupportedDevices[type].name;
|
||||
gDeviceInfo[found]->device_chipset = kSupportedDevices[type].chipset;
|
||||
gDeviceInfo[found]->dceMajor = kSupportedDevices[type].dceMajor;
|
||||
gDeviceInfo[found]->dceMinor = kSupportedDevices[type].dceMinor;
|
||||
|
||||
dprintf(DEVICE_NAME ": GPU(%ld) %s, revision = 0x%x\n", found,
|
||||
kSupportedDevices[type].name, info->revision);
|
||||
|
@ -378,6 +378,8 @@ radeon_hd_init(radeon_info &info)
|
||||
info.shared_info->device_index = info.id;
|
||||
info.shared_info->device_id = info.device_id;
|
||||
info.shared_info->device_chipset = info.device_chipset;
|
||||
info.shared_info->dceMajor = info.dceMajor;
|
||||
info.shared_info->dceMinor = info.dceMinor;
|
||||
info.shared_info->registers_area = info.registers_area;
|
||||
strcpy(info.shared_info->device_identifier, info.device_identifier);
|
||||
|
||||
|
@ -44,6 +44,8 @@ struct radeon_info {
|
||||
const char* device_identifier;
|
||||
uint32 device_id;
|
||||
uint16 device_chipset;
|
||||
uint8 dceMajor;
|
||||
uint8 dceMinor;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user