diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-24 08:46:15 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-25 06:34:20 -0700 |
commit | 990e24469cb83b6236a954e2433252b9219f774b (patch) | |
tree | 4681dbe6ec15b491274df1b526b94fef8242c8b0 /src/gallium/drivers/panfrost/pan_screen.c | |
parent | a9c73e825a98d280c9af218cd6cedb4ab877f562 (diff) |
panfrost: Move require_sfbd to screen
We'll need it to specialize resource creation by chip.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 294fc456fa1..aa39a35e9c3 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -525,6 +525,7 @@ panfrost_create_screen(int fd, struct renderonly *ro) screen->fd = fd; screen->gpu_id = panfrost_drm_query_gpu_version(screen); + screen->require_sfbd = screen->gpu_id < 0x0750; /* T760 is the first to support MFBD */ /* Check if we're loading against a supported GPU model. */ |