RFC Start killing xe_macros.
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | !fixup: drm/i915/display: Remaining changes to make xe compiledrivers/ | +1 | 0 replies | |
| 2/5 | !fixup: drm/xe: Allow fbdev to allocate stolen memorydrivers/ | +1 | 0 replies | |
| 3/5 | drm/xe: Remove useless XE_WARN_ON.drivers/ drivers/ drivers/ +32 more | +91 | 2 replies | |
| 4/5 | drm/xe: Remove useless XE_BUG_ON.drivers/ drivers/ drivers/ +36 more | +227 | 5 replies | |
| 5/5 | drm/xe/xe_macro: Remove unused stuff.drivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Intel-xe] [RFC 0/5] Start killing xe_macros.
We don't want another i915_utils.h. At least not without any good reason.
Even for the remaining case of the XE_IOCTL_ERR I believe it would be much cleaner to have that opened up in the code with better messages in case of failure, rather than just the line and condition.
But let's at least start some conversation around this...
Thanks,
Rodrigo.
Rodrigo Vivi (5):
!fixup: drm/i915/display: Remaining changes to make xe compile !fixup: drm/xe: Allow fbdev to allocate stolen memory drm/xe: Remove useless XE_WARN_ON.
drm/xe: Remove useless XE_BUG_ON.
drm/xe/xe_macro: Remove unused stuff.
drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/display/intel_fbdev.c | 2 +- drivers/gpu/drm/xe/display/xe_de.h | 2 +- drivers/gpu/drm/xe/display/xe_fb_pin.c | 2 +- drivers/gpu/drm/xe/xe_bb.c | 4 +- drivers/gpu/drm/xe/xe_bo.c | 64 +++++++-------- drivers/gpu/drm/xe/xe_bo.h | 8 +- drivers/gpu/drm/xe/xe_bo_evict.c | 4 +- drivers/gpu/drm/xe/xe_debugfs.c | 4 +- drivers/gpu/drm/xe/xe_device.c | 4 +- drivers/gpu/drm/xe/xe_device.h | 8 +- drivers/gpu/drm/xe/xe_dma_buf.c | 2 +- drivers/gpu/drm/xe/xe_engine.c | 2 +- drivers/gpu/drm/xe/xe_execlist.c | 16 ++-- drivers/gpu/drm/xe/xe_force_wake.c | 4 +- drivers/gpu/drm/xe/xe_force_wake.h | 4 +- drivers/gpu/drm/xe/xe_ggtt.c | 16 ++-- drivers/gpu/drm/xe/xe_gt.c | 30 +++---- drivers/gpu/drm/xe/xe_gt_clock.c | 4 +- drivers/gpu/drm/xe/xe_gt_debugfs.c | 6 +- drivers/gpu/drm/xe/xe_gt_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 14 ++-- drivers/gpu/drm/xe/xe_guc.c | 26 +++--- drivers/gpu/drm/xe/xe_guc.h | 2 +- drivers/gpu/drm/xe/xe_guc_ads.c | 16 ++-- drivers/gpu/drm/xe/xe_guc_ct.c | 28 +++---- drivers/gpu/drm/xe/xe_guc_debugfs.c | 2 +- drivers/gpu/drm/xe/xe_guc_hwconfig.c | 2 +- drivers/gpu/drm/xe/xe_guc_log.c | 4 +- drivers/gpu/drm/xe/xe_guc_pc.c | 18 ++-- drivers/gpu/drm/xe/xe_guc_submit.c | 54 ++++++------ drivers/gpu/drm/xe/xe_huc.c | 2 +- drivers/gpu/drm/xe/xe_huc_debugfs.c | 2 +- drivers/gpu/drm/xe/xe_hw_engine.c | 10 +-- drivers/gpu/drm/xe/xe_hw_fence.c | 8 +- drivers/gpu/drm/xe/xe_lrc.c | 8 +- drivers/gpu/drm/xe/xe_macros.h | 4 - drivers/gpu/drm/xe/xe_migrate.c | 34 ++++---- drivers/gpu/drm/xe/xe_mmio.c | 2 +- drivers/gpu/drm/xe/xe_mocs.c | 4 +- drivers/gpu/drm/xe/xe_pt.c | 42 +++++----- drivers/gpu/drm/xe/xe_reg_sr.c | 4 +- drivers/gpu/drm/xe/xe_res_cursor.h | 12 +-- drivers/gpu/drm/xe/xe_ring_ops.c | 8 +- drivers/gpu/drm/xe/xe_rtp.c | 2 +- drivers/gpu/drm/xe/xe_sched_job.c | 2 +- drivers/gpu/drm/xe/xe_sync.c | 4 +- drivers/gpu/drm/xe/xe_ttm_gtt_mgr.c | 2 +- drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 4 +- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 2 +- drivers/gpu/drm/xe/xe_uc.c | 2 +- drivers/gpu/drm/xe/xe_uc_debugfs.c | 2 +- drivers/gpu/drm/xe/xe_uc_fw.c | 18 ++-- drivers/gpu/drm/xe/xe_uc_fw.h | 2 +- drivers/gpu/drm/xe/xe_vm.c | 86 ++++++++++---------- drivers/gpu/drm/xe/xe_vm_madvise.c | 2 +- drivers/gpu/drm/xe/xe_wait_user_fence.c | 2 +- drivers/gpu/drm/xe/xe_wopcm.c | 18 ++-- 58 files changed, 320 insertions(+), 324 deletions(-)
Signature · 1 line
2.39.2