[idd] driver/helper: dont allow resolutions that wont fit in ram

This commit is contained in:
Geoffrey McRae
2026-08-01 16:28:24 +10:00
parent 98bde6cf36
commit c5459dec5b
9 changed files with 245 additions and 11 deletions

View File

@@ -32,7 +32,8 @@ struct LGPipeMsg
SETCURSORPOS,
SETDISPLAYMODE,
GPUSTATUS,
RELOADSETTINGS
RELOADSETTINGS,
RESOLUTIONREJECTED
}
type;
union
@@ -57,5 +58,13 @@ struct LGPipeMsg
bool software;
}
gpuStatus;
struct
{
uint32_t width;
uint32_t height;
uint32_t requiredSizeMiB;
}
resolutionRejected;
};
};