v3d: Add check to see if v3d supports multisync
Add support to check if v3d supports the multisync extension. This will be used in future patches to enable support for PIPE_CAP_QUERY_TIMESTAMP & PIPE_CAP_QUERY_TIME_ELAPSED. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32547>
This commit is contained in:
committed by
Marge Bot
parent
5e728db32a
commit
8e1b27138c
@@ -967,6 +967,7 @@ v3d_screen_create(int fd, const struct pipe_screen_config *config,
|
||||
v3d_has_feature(screen, DRM_V3D_PARAM_SUPPORTS_CACHE_FLUSH);
|
||||
screen->has_perfmon = v3d_has_feature(screen, DRM_V3D_PARAM_SUPPORTS_PERFMON);
|
||||
screen->has_cpu_queue = v3d_has_feature(screen, DRM_V3D_PARAM_SUPPORTS_CPU_QUEUE);
|
||||
screen->has_multisync = v3d_has_feature(screen, DRM_V3D_PARAM_SUPPORTS_MULTISYNC_EXT);
|
||||
|
||||
v3d_fence_screen_init(screen);
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ struct v3d_screen {
|
||||
bool has_perfmon;
|
||||
bool nonmsaa_texture_size_limit;
|
||||
bool has_cpu_queue;
|
||||
bool has_multisync;
|
||||
|
||||
#if USE_V3D_SIMULATOR
|
||||
struct v3d_simulator_file *sim_file;
|
||||
|
||||
Reference in New Issue
Block a user