mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
amd/vpelib: support VPE IP v6.1.3
Use VPE_IP_LEVEL_1_0 for VPE IP version 6.1.3. Signed-off-by: Tim Huang <Tim.Huang@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29930>
This commit is contained in:
parent
e322b2b683
commit
076cbf605e
2 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ extern "C" {
|
|||
#define VPE_VERSION_REV(ver) ((ver) & 0xFF)
|
||||
#define VPE_VERSION_6_1_0(ver) ((ver) == VPE_VERSION(6, 1, 0))
|
||||
#define VPE_VERSION_6_1_1(ver) (((ver) == VPE_VERSION(6, 1, 1)) || ((ver) == VPE_VERSION(6, 1, 2)))
|
||||
#define VPE_VERSION_6_1_3(ver) ((ver) == VPE_VERSION(6, 1, 3))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ enum vpe_ip_level vpe_resource_parse_ip_version(
|
|||
#if VPE_BUILD_1_X
|
||||
#if VPE_BUILD_1_0
|
||||
case VPE_VERSION(6, 1, 0):
|
||||
case VPE_VERSION(6, 1, 3):
|
||||
ip_level = VPE_IP_LEVEL_1_0;
|
||||
break;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue