diff --git a/.pick_status.json b/.pick_status.json index 34bde325017..9d0849a6af2 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -19994,7 +19994,7 @@ "description": "freedreno: Implement PIPE_CAP_TIMER_RESOLUTION", "nominated": false, "nomination_type": 3, - "resolution": 4, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 7539b8b5d1f..93aa04fa3d1 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -589,6 +589,8 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) /* only a4xx, requires new enough kernel so we know max_freq: */ return (screen->max_freq > 0) && (is_a4xx(screen) || is_a5xx(screen) || is_a6xx(screen)); + case PIPE_CAP_TIMER_RESOLUTION: + return ticks_to_ns(1); case PIPE_CAP_QUERY_BUFFER_OBJECT: case PIPE_CAP_QUERY_SO_OVERFLOW: case PIPE_CAP_QUERY_PIPELINE_STATISTICS_SINGLE: