mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
- Fix CFI violation in debugfs access (Daniele)
- Kernel-doc fixes (Chaitanya, Shuicheng) - Disable D3Cold for BMG only on specific platforms (Karthik) -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEbSBwaO7dZQkcLOKj+mJfZA7rE8oFAmmErRQACgkQ+mJfZA7r E8qJQggAiIlRqQ4pyOVU/+F2JY2IaK6ZQD5JvgcPVwvcrHtTXGFzIm0JJ2dLRrM9 PJ3KCKj6h0GQjnEPHlBI6gNT/IDTmOiKbt888aRZwWGH2Ied55nRatVbMieJeXEq 1UgihJtyNwvoA590LQ+wM+jqgPSddbHTQc/3v4hTgfYHF8q3v2lQEYvKb7tSfjgg ckmaoH0Hb04NolA+XyYbRXoU8LpuxVqYoBnmJ+XWCaa7o8qT9+IAxO+JsXtVjAAQ hbzol4HdngNGFLoKD60dLMWWwaQKWJ31teu03qA0PZXaNIaFR94tPpDFewgPn6Jn FavZtF12ImgLJOi9ZSVheyHNmChRBQ== =YOXM -----END PGP SIGNATURE----- Merge tag 'drm-xe-next-fixes-2026-02-05' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next - Fix CFI violation in debugfs access (Daniele) - Kernel-doc fixes (Chaitanya, Shuicheng) - Disable D3Cold for BMG only on specific platforms (Karthik) Signed-off-by: Dave Airlie <airlied@redhat.com> From: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/aYStaLZVJWwKCDZt@intel.com
This commit is contained in:
commit
2f5db9b400
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <linux/types.h>
|
||||
|
||||
/**
|
||||
/*
|
||||
* Generic defines required for registration with and submissions to the GuC
|
||||
* scheduler. Includes engine class/instance defines and context attributes
|
||||
* (id, priority, etc)
|
||||
|
|
|
|||
|
|
@ -1661,7 +1661,7 @@ void xe_guc_runtime_resume(struct xe_guc *guc)
|
|||
xe_guc_submit_unpause(guc);
|
||||
}
|
||||
|
||||
void xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p)
|
||||
int xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p)
|
||||
{
|
||||
struct xe_gt *gt = guc_to_gt(guc);
|
||||
u32 status;
|
||||
|
|
@ -1672,7 +1672,7 @@ void xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p)
|
|||
if (!IS_SRIOV_VF(gt_to_xe(gt))) {
|
||||
CLASS(xe_force_wake, fw_ref)(gt_to_fw(gt), XE_FW_GT);
|
||||
if (!fw_ref.domains)
|
||||
return;
|
||||
return -EIO;
|
||||
|
||||
status = xe_mmio_read32(>->mmio, GUC_STATUS);
|
||||
|
||||
|
|
@ -1698,6 +1698,8 @@ void xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p)
|
|||
|
||||
drm_puts(p, "\n");
|
||||
xe_guc_submit_print(guc, p);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ int xe_guc_self_cfg32(struct xe_guc *guc, u16 key, u32 val);
|
|||
int xe_guc_self_cfg64(struct xe_guc *guc, u16 key, u64 val);
|
||||
void xe_guc_irq_handler(struct xe_guc *guc, const u16 iir);
|
||||
void xe_guc_sanitize(struct xe_guc *guc);
|
||||
void xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p);
|
||||
int xe_guc_print_info(struct xe_guc *guc, struct drm_printer *p);
|
||||
int xe_guc_reset_prepare(struct xe_guc *guc);
|
||||
void xe_guc_reset_wait(struct xe_guc *guc);
|
||||
void xe_guc_stop_prepare(struct xe_guc *guc);
|
||||
|
|
|
|||
|
|
@ -1254,7 +1254,7 @@ void xe_migrate_ccs_rw_copy_clear(struct xe_bo *src_bo,
|
|||
}
|
||||
|
||||
/**
|
||||
* xe_get_migrate_exec_queue() - Get the execution queue from migrate context.
|
||||
* xe_migrate_exec_queue() - Get the execution queue from migrate context.
|
||||
* @migrate: Migrate context.
|
||||
*
|
||||
* Return: Pointer to execution queue on success, error on failure
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
#include <linux/fault-inject.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
#include <linux/suspend.h>
|
||||
#include <linux/dmi.h>
|
||||
|
||||
#include <drm/drm_managed.h>
|
||||
#include <drm/ttm/ttm_placement.h>
|
||||
|
|
@ -366,9 +367,15 @@ ALLOW_ERROR_INJECTION(xe_pm_init_early, ERRNO); /* See xe_pci_probe() */
|
|||
|
||||
static u32 vram_threshold_value(struct xe_device *xe)
|
||||
{
|
||||
/* FIXME: D3Cold temporarily disabled by default on BMG */
|
||||
if (xe->info.platform == XE_BATTLEMAGE)
|
||||
return 0;
|
||||
if (xe->info.platform == XE_BATTLEMAGE) {
|
||||
const char *product_name;
|
||||
|
||||
product_name = dmi_get_system_info(DMI_PRODUCT_NAME);
|
||||
if (product_name && strstr(product_name, "NUC13RNG")) {
|
||||
drm_warn(&xe->drm, "BMG + D3Cold not supported on this platform\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return DEFAULT_VRAM_THRESHOLD;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -490,7 +490,7 @@ static int copy_mask(void __user **ptr,
|
|||
|
||||
if (copy_to_user(*ptr, topo, sizeof(*topo)))
|
||||
return -EFAULT;
|
||||
*ptr += sizeof(topo);
|
||||
*ptr += sizeof(*topo);
|
||||
|
||||
if (copy_to_user(*ptr, mask, mask_size))
|
||||
return -EFAULT;
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ static void tlb_inval_fini(struct drm_device *drm, void *arg)
|
|||
}
|
||||
|
||||
/**
|
||||
* xe_gt_tlb_inval_init - Initialize TLB invalidation state
|
||||
* xe_gt_tlb_inval_init_early() - Initialize TLB invalidation state
|
||||
* @gt: GT structure
|
||||
*
|
||||
* Initialize TLB invalidation state, purely software initialization, should
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ static void xe_tlb_inval_job_destroy(struct kref *ref)
|
|||
}
|
||||
|
||||
/**
|
||||
* xe_tlb_inval_alloc_dep() - TLB invalidation job alloc dependency
|
||||
* xe_tlb_inval_job_alloc_dep() - TLB invalidation job alloc dependency
|
||||
* @job: TLB invalidation job to alloc dependency for
|
||||
*
|
||||
* Allocate storage for a dependency in the TLB invalidation fence. This
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user