crocus: Support building on non-Intel
Ditto. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
This commit is contained in:

committed by
Marge Bot

parent
c8192c1c93
commit
2552ac360d
@@ -1468,10 +1468,6 @@ if get_option('intel-xe-kmd').enabled()
|
||||
endif
|
||||
|
||||
|
||||
if with_gallium_crocus and host_machine.cpu_family().startswith('x86') == false
|
||||
error('Intel "crocus" Gallium driver requires x86 or x86_64 CPU family')
|
||||
endif
|
||||
|
||||
if with_gallium_i915 and host_machine.cpu_family().startswith('x86') == false
|
||||
error('Intel "i915" Gallium driver requires x86 or x86_64 CPU family')
|
||||
endif
|
||||
|
@@ -895,7 +895,9 @@ crocus_bo_map_cpu(struct util_debug_callback *dbg,
|
||||
* LLC entirely requiring us to keep dirty pixels for the scanout
|
||||
* out of any cache.)
|
||||
*/
|
||||
#ifdef SUPPORT_INTEL_INTEGRATED_GPUS
|
||||
intel_invalidate_range(bo->map_cpu, bo->size);
|
||||
#endif
|
||||
}
|
||||
|
||||
return bo->map_cpu;
|
||||
|
Reference in New Issue
Block a user