mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: Move CDE code to Linux module
CDE is only used in Linux platforms, and the code is highly dependent on Linux APIs. Move the common CDE code to Linux module and leave only the chip specific parts to HAL. Change-Id: I507fe7eceaf7607303dfdddcf438449a5f582ea7 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1554755 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
17451138cf
commit
c37c9baae6
@@ -138,6 +138,7 @@ static int gk20a_ctrl_prepare_compressible_read(
|
||||
struct gk20a *g,
|
||||
struct nvgpu_gpu_prepare_compressible_read_args *args)
|
||||
{
|
||||
struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
|
||||
struct nvgpu_fence fence;
|
||||
struct gk20a_fence *fence_out = NULL;
|
||||
int ret = 0;
|
||||
@@ -146,7 +147,7 @@ static int gk20a_ctrl_prepare_compressible_read(
|
||||
fence.id = args->fence.syncpt_id;
|
||||
fence.value = args->fence.syncpt_value;
|
||||
|
||||
ret = gk20a_prepare_compressible_read(g, args->handle,
|
||||
ret = gk20a_prepare_compressible_read(l, args->handle,
|
||||
args->request_compbits, args->offset,
|
||||
args->compbits_hoffset, args->compbits_voffset,
|
||||
args->scatterbuffer_offset,
|
||||
|
||||
Reference in New Issue
Block a user