mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
asahi: drop unnecessary DRM_FORMAT_MOD_{LINEAR,INVALID} fallbacks
Sinceafe134a49c("asahi: Drop macOS backend"), `drm_fourcc.h` is unconditionally included, meaning these defines are now dead code. Fixes:afe134a49c("asahi: Drop macOS backend") Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23773> (cherry picked from commit63f44951ac)
This commit is contained in:
parent
b4cd2c34e5
commit
552ac035f0
2 changed files with 1 additions and 7 deletions
|
|
@ -1885,7 +1885,7 @@
|
|||
"description": "asahi: drop unnecessary DRM_FORMAT_MOD_{LINEAR,INVALID} fallbacks",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "afe134a49c5ef79ca6125f0263331b440b9c0e49"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -40,12 +40,6 @@
|
|||
#include "agx_state.h"
|
||||
|
||||
/* Fake values, pending UAPI upstreaming */
|
||||
#ifndef DRM_FORMAT_MOD_LINEAR
|
||||
#define DRM_FORMAT_MOD_LINEAR 1
|
||||
#endif
|
||||
#ifndef DRM_FORMAT_MOD_INVALID
|
||||
#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
|
||||
#endif
|
||||
#ifndef DRM_FORMAT_MOD_APPLE_TWIDDLED
|
||||
#define DRM_FORMAT_MOD_APPLE_TWIDDLED (2)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue