No description
Find a file
Chia-I Wu eae1fe7e8b i915: make is_mtl a special case for bo cache
i915 kmd has a special case for MTL in shmem_object_init:

  if (HAS_LLC(i915) || (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 70)))
    cache_level = I915_CACHE_LLC;

Meanwhile, its i915_gem_object_pin_to_display_plane has:

  ret = i915_gem_object_set_cache_level(obj,
    HAS_WT(i915) ?
    I915_CACHE_WT : I915_CACHE_NONE);

Let's report GBM_BO_MAP_CACHE_CACHED on MTL unless BO_USE_SCANOUT is
set.

BUG=b:325368420
TEST=no artifact in Camera FOV Calibration of CtsVerifier on rex
TEST=android.hardware.cts.CameraTest#testPreviewFpsRange

Change-Id: I0b3b3f13769bbd1db6f4f7194e58afc0f151eb47
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/5313949
Reviewed-by: Dawn Han <dawnhan@google.com>
Tested-by: Chia-I Wu <olv@google.com>
Commit-Queue: Chia-I Wu <olv@google.com>
2024-02-21 23:50:50 +00:00
cros_gralloc tiny format fixes 2023-10-11 08:08:59 +00:00
external minigbm: Add tile4 support 2022-10-22 01:10:05 +00:00
.clang-format minigbm: add clang-format and presubmit hooks 2017-03-31 10:40:27 -07:00
amdgpu.c minigbm: clean up bo.handles 2023-04-09 18:57:40 +00:00
backend_mock.c minigbm: add unit test for minigbm public apis 2024-01-30 20:59:57 +00:00
common.mk minigbm: update to _FORTIFY_SOURCE=3 2023-08-11 01:08:24 +00:00
DIR_METADATA DIR_METADATA: Add V2 Test Plans. 2022-11-30 01:25:57 +00:00
dri.c minigbm: remove close_gem_handle 2023-04-24 18:27:13 +00:00
dri.h dri: add dri_dlopen and dri_dlclose 2023-02-21 19:57:32 +00:00
drv.c minigbm: Add an API to return cache attributes 2024-02-01 17:40:19 +00:00
drv.h minigbm: Add an API to return cache attributes 2024-02-01 17:40:19 +00:00
drv_array_helpers.c minigbm: refactor driver helpers 2021-10-01 18:35:11 +00:00
drv_array_helpers.h minigbm: refactor driver helpers 2021-10-01 18:35:11 +00:00
drv_helpers.c minigbm: update drv_get_os_option() to try getenv() first 2023-06-01 20:34:20 +00:00
drv_helpers.h virtgpu_virgl: use blobs for ABGR8888 2023-05-09 23:42:32 +00:00
drv_priv.h minigbm: Add an API to return cache attributes 2024-02-01 17:40:19 +00:00
dumb_driver.c minigbm: Add more dumb drivers 2022-12-07 14:36:24 +00:00
gbm.c minigbm: Add an API to return cache attributes 2024-02-01 17:40:19 +00:00
gbm.h minigbm: Add an API to return cache attributes 2024-02-01 17:40:19 +00:00
gbm.pc minigbm: modify gbm.pc 2019-10-09 09:52:31 -07:00
gbm_helpers.c minigbm: passthrough SENSOR_DIRECT_DATA via gbm frontend 2022-07-26 23:41:35 +00:00
gbm_helpers.h minigbm: standardize naming of buffer creation flags 2017-10-02 17:27:17 -07:00
gbm_priv.h minigbm: add clang-format and presubmit hooks 2017-03-31 10:40:27 -07:00
gbm_unittest.cc minigbm: add unit test for minigbm public apis 2024-01-30 20:59:57 +00:00
i915.c i915: make is_mtl a special case for bo cache 2024-02-21 23:50:50 +00:00
LICENSE minigbm: Add a LICENSE file 2017-04-21 21:57:32 -07:00
Makefile minigbm: add unit test for minigbm public apis 2024-01-30 20:59:57 +00:00
mediatek.c mediatek: Add support for P010 allocation 2024-01-31 02:04:58 +00:00
minigbm_helpers.c minigbm: clean up legacy gbm_get_default_device_fd usage 2023-03-09 05:06:53 +00:00
minigbm_helpers.h minigbm: clean up legacy gbm_get_default_device_fd usage 2023-03-09 05:06:53 +00:00
msm.c minigbm: clean up bo.handles 2023-04-09 18:57:40 +00:00
OWNERS OWNERS: Prepare for renaming chadversary@ to linyaa@ 2023-09-11 21:39:44 +00:00
PRESUBMIT.cfg minigbm: fix typo in PRESUBMIT.cfg 2017-05-20 03:55:21 -07:00
presubmit.sh minigbm: i915: use local i915 drm header 2020-11-25 22:35:14 +00:00
rockchip.c minigbm: clean up bo.handles 2023-04-09 18:57:40 +00:00
testrunner.cc minigbm: add unit test for minigbm public apis 2024-01-30 20:59:57 +00:00
util.h amdgpu: make libdir work on stock Linux 2020-01-21 20:43:23 +00:00
vc4.c minigbm: clean up bo.handles 2023-04-09 18:57:40 +00:00
virtgpu.c drv/virtgpu: add log level for logging 2022-07-14 08:48:27 +00:00
virtgpu.h virtgpu: define capset ids as macros 2024-01-31 01:44:11 +00:00
virtgpu_cross_domain.c virtgpu: define capset ids as macros 2024-01-31 01:44:11 +00:00
virtgpu_virgl.c virtgpu: define capset ids as macros 2024-01-31 01:44:11 +00:00