[Mesa-dev] [PATCH 1/2] radeonsi: add support for Stoney asics (v2)

Marek Olšák maraeo at gmail.com
Fri Oct 23 08:14:17 PDT 2015


On Fri, Oct 23, 2015 at 5:11 PM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Thu, Oct 22, 2015 at 10:44 PM, Michel Dänzer <michel at daenzer.net> wrote:
>> On 23.10.2015 01:09, Alex Deucher wrote:
>>> From: Samuel Li <samuel.li at amd.com>
>>>
>>> v2 (agd): rebase on mesa master, split pci ids to
>>> separate commit
>>>
>>> Signed-off-by: Samuel Li <samuel.li at amd.com>
>>
>> [...]
>>
>>> @@ -540,6 +541,7 @@ const char *r600_get_llvm_processor_name(enum radeon_family family)
>>>       case CHIP_ICELAND: return "iceland";
>>>       case CHIP_CARRIZO: return "carrizo";
>>>       case CHIP_FIJI: return "fiji";
>>> +     case CHIP_STONEY: return "stoney";
>>>       default: return "";
>>>       }
>>>  }
>>
>> Do we need a fallback here for existing versions of LLVM which don't
>> recognize "stoney" yet?
>
> Is there a way to check if a particular llvm version supports a
> specific processor name?  Or should we just do something like return
> carrizo for llvm 3.7 and stoney for newer versions?

We should just return "carrizo" for LLVM <= 3.7.

Marek


More information about the mesa-dev mailing list