Re: [PATCH v2 26/40] HACK: drm/i915/tgl: Gen12 render context size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes:

> Quoting Lucas De Marchi (2019-08-17 10:38:48)
>> From: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
>> 
>> Re-use Gen11 context size for now.
>> 
>> [ Lucas: add HACK since this is a temporary patch that needs to be
>>   confirmed: we need to check BSpec 46255 and recompute ]
>
> We can drop the HACK and just refer to this as a temporary patch. We
> have selftests and runtime verification to catch if we under allocate,
> so if our testing is clean, it's good enough for the time being.

I think I had a script somewhere which can calculate the
context size from bspec (Cut paste). No promises tho.

Howabout making a selftest to figure out the context state size?

-Mika

>
>> 
>> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@xxxxxxxxx>
>> Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
> Acked-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux