diff options
author | Matt Roper <[email protected]> | 2024-07-26 10:17:58 -0700 |
---|---|---|
committer | Matt Roper <[email protected]> | 2024-07-29 08:15:56 -0700 |
commit | 7657d7c96657179d002817d5ec2a1d4c84f21cdb (patch) | |
tree | c72229702a5f2d973f1f8109ded62fffd2225a72 /rust/helpers/build_bug.c | |
parent | fd6797ec50c561f085bc94e3ee26f484a52af79e (diff) |
drm/xe/migrate: Future-proof compressed PAT check
Although all current Xe2 platforms support FlatCCS, we probably
shouldn't assume that will be universally true forever. In the past
we've had platforms like PVC that didn't support compression, and the
same could show up again at some point in the future. Future-proof the
migration code by adding an explicit check for FlatCCS support to the
condition that decides whether to use a compressed PAT index for
migration.
While we're at it, we can drop the IS_DGFX check since it's redundant
with the src_is_vram check (only dGPUs have VRAM).
Cc: Akshata Jahagirdar <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Reviewed-by: Akshata Jahagirdar <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions