Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d762b4e authored by John Reck's avatar John Reck
Browse files

Fix VENDOR_MASK constant

It's not supposed to be sign-extended as that blocks off the entire
28-64 bit range instead of the 28-31 bit range as indicated in the
comment

As this value is correct in HIDL and in the docs, do a history
re-write of the AIDL value to match the intended (and previous)
values.

Test: make
Bug: 323484008
Change-Id: I0b373576a366c853c87109a9b24ec9f8d9cbdb4d
parent 711a1acb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
f5bdf5724a941dc7e5e7d0ebe9dfe028f7bcc25f
71da13748094aa53237dd6eeac04f0f9add80aa1
+1 −1
Original line number Diff line number Diff line
@@ -42,6 +42,6 @@ enum BufferUsage {
  GPU_MIPMAP_COMPLETE = 67108864,
  HW_IMAGE_ENCODER = 134217728,
  GPU_DATA_BUFFER = 16777216,
  VENDOR_MASK = -268435456,
  VENDOR_MASK = 4026531840,
  VENDOR_MASK_HI = -281474976710656,
}
+1 −0
Original line number Diff line number Diff line
bd2f5e2ab1d5112dfe982f64012e425f544c9d60
4279f88ef38c8fdeea6797410b464ae29df34e72
+1 −1
Original line number Diff line number Diff line
@@ -58,6 +58,6 @@ enum BufferUsage {
  GPU_MIPMAP_COMPLETE = 67108864,
  HW_IMAGE_ENCODER = 134217728,
  GPU_DATA_BUFFER = 16777216,
  VENDOR_MASK = -268435456,
  VENDOR_MASK = 4026531840,
  VENDOR_MASK_HI = -281474976710656,
}
+1 −0
Original line number Diff line number Diff line
e7e8b0bd7cd27ab4f1998700ef19ebc82e022d87
37aa15ac89ae27f3f89099d79609f5aaa1717de5
Loading