Commit ca8dcfe
drm/xe: derive mem copy capability from graphics version
Drop .has_mem_copy_instr from the platform descriptors and set it
in xe_info_init() after handle_gmdid() populates graphics_verx100.
Centralizing the GRAPHICS_VER(xe) >= 20 check keeps MEM_COPY enabled
on Xe2+ and removes redundant per-platform plumbing.
Bspec: 57561
Fixes: 1e12dba ("drm/xe/migrate: support MEM_COPY instruction")
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Nitin Gote <nitin.r.gote@intel.com>
Link: https://patch.msgid.link/20260120054724.1982608-2-nitin.r.gote@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
(cherry picked from commit 6ef0265)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>1 parent 051be49 commit ca8dcfe
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
| |||
363 | 362 | | |
364 | 363 | | |
365 | 364 | | |
366 | | - | |
367 | 365 | | |
368 | 366 | | |
369 | 367 | | |
| |||
380 | 378 | | |
381 | 379 | | |
382 | 380 | | |
383 | | - | |
384 | 381 | | |
385 | 382 | | |
386 | 383 | | |
| |||
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | | - | |
397 | 393 | | |
398 | 394 | | |
399 | 395 | | |
| |||
675 | 671 | | |
676 | 672 | | |
677 | 673 | | |
678 | | - | |
679 | 674 | | |
680 | 675 | | |
681 | 676 | | |
| |||
864 | 859 | | |
865 | 860 | | |
866 | 861 | | |
| 862 | + | |
867 | 863 | | |
868 | 864 | | |
869 | 865 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
0 commit comments