mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 13:06:59 +02:00
drm/xe: Remove pointless gen11 assertions
xe driver doesn't really work in gen11. Stop asserting for >= 11, as it would likely explode anyway if tried on such platforms. Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250306-drop-gen-v1-1-03683e56006a@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
This commit is contained in:
parent
4da1fb61e0
commit
a30d96ea65
|
|
@ -49,9 +49,6 @@ void xe_force_wake_init_gt(struct xe_gt *gt, struct xe_force_wake *fw)
|
|||
fw->gt = gt;
|
||||
spin_lock_init(&fw->lock);
|
||||
|
||||
/* Assuming gen11+ so assert this assumption is correct */
|
||||
xe_gt_assert(gt, GRAPHICS_VER(gt_to_xe(gt)) >= 11);
|
||||
|
||||
if (xe->info.graphics_verx100 >= 1270) {
|
||||
init_domain(fw, XE_FW_DOMAIN_ID_GT,
|
||||
FORCEWAKE_GT,
|
||||
|
|
@ -67,9 +64,6 @@ void xe_force_wake_init_engines(struct xe_gt *gt, struct xe_force_wake *fw)
|
|||
{
|
||||
int i, j;
|
||||
|
||||
/* Assuming gen11+ so assert this assumption is correct */
|
||||
xe_gt_assert(gt, GRAPHICS_VER(gt_to_xe(gt)) >= 11);
|
||||
|
||||
if (!xe_gt_is_media_type(gt))
|
||||
init_domain(fw, XE_FW_DOMAIN_ID_RENDER,
|
||||
FORCEWAKE_RENDER,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user