Skip to content

Conversation

@gaoshunli
Copy link
Contributor

Update the value of pointSizeRange for Gen9+.

Tracked-On: OAM-130915

JeevakaPrabu and others added 22 commits September 23, 2024 01:04
As IMapper4 is deprecated from Android15, changes done to use
IMapper5 stable-c mapper.

Tests done:
- Android boot in GVT-d and BM config
- adb reboot

Tracked-On: OAM-124485
Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
Tests done:
- Android boot in GVT-d mode with xe driver enabled

Tracked-On: OAM-124802
Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
We have some code specific to Android only and it should be built only
on Android so that this code base could possibly be built on GNU/Linux
systems.

Also replace \xC2\xA0 (non-breaking space) with normal space for
consistence.

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
When we have both dGPU and iGPU available, prefer dGPU for compositing
because dGPU can cover more cases for us, e.g., allocating buffers in
device memory.

As a side work, also format the surrounding code for consistency.

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Ported from upstream:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30841?commit_id=1f9c40a8d1b2ec3702862371af3a934e9a0c9cda

The default state doesn't seem well defined (or kernel driver bug
maybe?). Let's just set it to disabled on platforms where we're not
using it.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Found-by: Chuansheng Liu <chuansheng.liu@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30841>

Tracked-On: OAM-128303
Signed-off-by: Lin, Shenghua <shenghua.lin@intel.com>
Chimo app allocate descriptor pool so frequently, with 2MB alignment
the 2Gb descriptor pool heap vm address space is used up quickly.

This workaournd can be removed if future prelim kernel doesn't require
2MB alignment.

Tracked-On: OAM-128303
Signed-off-by: Lin, Shenghua <shenghua.lin@intel.com>
With this renderonly support, iris can work with other display device to
show display. For example, in virtualization env, a virtio-gpu's display
can work with iris which is working in headless mode to show the destop
on the host display monitor.

v2: Add iris_resource_create_renderonly() helper function. (Kenneth)

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Mazlan, Hazwan Arif <hazwan.arif.mazlan@intel.com>

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Enable using iris for KMS renderonly.

v2: let kmsro_drm_screen_create() be invoked by kmsro driver.
v3: rebased temporarily

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Signed-off-by: Mazlan, Hazwan Arif <hazwan.arif.mazlan@intel.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Signed-off-by: Chew, Tong Liang <tong.liang.chew@intel.com>
Signed-off-by: Mazlan, Hazwan Arif <hazwan.arif.mazlan@intel.com>

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Now that our virtio-GPU supports importing external buffers, it's
possible to allocate buffers in Intel GPU and share it with virtio-GPU.
In addition, we'd like to share buffers in dGPU local memory to achieve
zero-copy when scanning out with dGPU, making this change a
prerequisite.

Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Tracked-On: OAM-128303
Signed-off-by: Weifeng Liu <weifeng.liu@intel.com>
Add new device ID 0x56AF

Tracked-On: OAM-126986
Signed-off-by: Wenkui <kui.wen@intel.com>

(cherry picked from commit 04f65ec)
Tracked-On: OAM-128364
Signed-off-by: Lina Sun <lina.sun@intel.com>
Test: Android boot to UI
Tracked-On: OAM-129238
Signed-off-by: JeevakaPrabu <jeevaka.badrappan@intel.com>
so that the queue count override logic can catch Android system
properties.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29492>
Properties from the vendor partition must use a "vendor." prefix from
Android T+. Meanwhile the "debug." prefix can be used for local
overrides.

The order of precedence thus becomes:
1. getenv
2. debug.mesa.*
3. vendor.mesa.*
4. mesa.* (as a fallback for older versions)

Tracked-On: OAM-126014
Signed-off-by: Juston Li <justonli@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31584>
ANB is only used by Android WSI which uses explicit sync so these
flags can be dropped.

Signed-off-by: Juston Li <justonli@google.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29883>
(cherry picked from commit 34031e3)
Fall through to common vk_ahb_format_to_image_format() to handle
R8G8B8X8 as R8G8B8A8.

Fixes issues with querying for format feature support when its handled
as R8G8B8.

Signed-off-by: Juston Li <justonli@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30080>
(cherry picked from commit ef58f24)
Refactor out shared code for the u_gralloc tiling query so it can also
be used by ahw and later anb resolves.

Signed-off-by: Juston Li <justonli@google.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29850>
(cherry picked from commit bcb17ac)
Like AHB, we don't know the layout for an image backed by gralloc
swapchain memory until bind when gralloc information is passed by the
platform.

Signed-off-by: Juston Li <justonli@google.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29850>
(cherry picked from commit 43cb986)
This patch adds the support for AHB to Vulkan format conversion
for the pixel format:  HAL_PIXEL_FORMAT_NV12_LINEAR_CAMERA_INTEL (271).
It is needed to fix the video playback crash seen while enabling
ANGLE as the OpenGL ES driver with Vulkan as the backend.

Crash Log:
 501   517 F libc    : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 517 (RenderEngine), pid 501 (surfaceflinger)
2774  2774 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2774  2774 F DEBUG   : Build fingerprint: 'intel/caas/caas:15/AP3A.241005.015.A2/eng.celado.00000000.000000:userdebug/test-keys'
2774  2774 F DEBUG   : Revision: '0'
2774  2774 F DEBUG   : ABI: 'x86_64'
2774  2774 F DEBUG   : Timestamp: 2024-12-10 09:23:54.284397411+0000
2774  2774 F DEBUG   : Process uptime: 208s
2774  2774 F DEBUG   : Cmdline: /system/bin/surfaceflinger
2774  2774 F DEBUG   : pid: 501, tid: 517, name: RenderEngine  >>> /system/bin/surfaceflinger <<<
2774  2774 F DEBUG   : uid: 1000
2774  2774 F DEBUG   : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2774  2774 F DEBUG   : Abort message: 'Failed to create a valid texture. [0x71010801e090]:[848,480] isProtected:0 isWriteable:0 format:271'
2774  2774 F DEBUG   :     rax 0000000000000000  rbx 0000710087a941e8  rcx 0000710318a66b4e  rdx 0000000000000006
2774  2774 F DEBUG   :     r8  0000710087a94f40  r9  0000710087a94f40  r10 0000710087a941f0  r11 0000000000000207
2774  2774 F DEBUG   :     r12 0000710087a94810  r13 0000000000000000  r14 00000000000001f5  r15 0000000000000205
2774  2774 F DEBUG   :     rdi 00000000000001f5  rsi 0000000000000205
2774  2774 F DEBUG   :     rbp 0000000000000000  rsp 0000710087a941e0  rip 0000710318a66b4e

Tests done:

- Android boot with angle and vulkan as backend
- Video playback working correctly
- Gallery app is not showing any visual artifacts

Tracked-On: OAM-126014
Signed-off-by: Aakash Sarkar <Aakash.Deep.Sarkar@intel.com>
iris_dri.so & virtio_gpu_dri.so libaries were missing from vendor image
as these libraries are symbolic links of libgallium_dri.so

Adding this libraries as symbolic links.

Tests done: Prepared EB and it's booted successfully.

Tracked-On: OAM-127806
Signed-off-by: Ankit Agrawal <ankit.agarwal@intel.com>
@sysopenci
Copy link

Improper Commit Message
Valid Commit Message
Improper Jira Status,
jira status not in ['In Progress','Implemented']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.