Linux-6.18.2/drivers/gpu/drm/nouveau/nvkm/engine/ce/gb202.c

17 lines
334 B
C
Raw Normal View History

2025-12-23 20:05:50 +08:00
/* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
*/
#include "priv.h"
#include <nvhw/drf.h>
#include <nvhw/ref/gb202/dev_ce.h>
u32
gb202_ce_grce_mask(struct nvkm_device *device)
{
u32 data = nvkm_rd32(device, NV_CE_GRCE_MASK);
return NVVAL_GET(data, NV_CE, GRCE_MASK, VALUE);
}