diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2023-04-07 12:32:37 +0300 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2023-04-07 17:45:05 -0700 |
commit | 16fc9c08f0ec7b1c95f1ea4a16097acdb3fc943d (patch) | |
tree | 6c852bd202bb3c44d1894bafdd19afbee32ad3ae /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h | |
parent | e24e6d695377ca70008ffc39695c3975b3e177b6 (diff) | |
download | linux-16fc9c08f0ec7b1c95f1ea4a16097acdb3fc943d.tar.gz linux-16fc9c08f0ec7b1c95f1ea4a16097acdb3fc943d.tar.bz2 linux-16fc9c08f0ec7b1c95f1ea4a16097acdb3fc943d.zip |
drm/i915: disable sampler indirect state in bindless heap
By default the indirect state sampler data (border colors) are stored
in the same heap as the SAMPLER_STATE structure. For userspace drivers
that can be 2 different heaps (dynamic state heap & bindless sampler
state heap). This means that border colors have to copied in 2
different places so that the same SAMPLER_STATE structure find the
right data.
This change is forcing the indirect state sampler data to only be in
the dynamic state pool (more convenient for userspace drivers, they
only have to have one copy of the border colors). This is reproducing
the behavior of the Windows drivers.
BSpec: 46052
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Haridhar Kalvala <haridhar.kalvala@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230407093237.3296286-1-lionel.g.landwerlin@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h')
0 files changed, 0 insertions, 0 deletions