Benign repos Download

a4xx_gpu.c

Native loop contains a write callAssigns a negative errno constant
SHA-2569c9cdc7c525fb2db9bf369104b6a0999bf282d3f3b2761fc70900101fcbcf602
MaleculeO(Er)H(F)

Evidence

imports a4xx_gpu.h lines 1–8
1// SPDX-License-Identifier: GPL-2.0-only
2/* Copyright (c) 2014 The Linux Foundation. All rights reserved.
3 */
4#include "a4xx_gpu.h"
5
6#define A4XX_INT0_MASK \
7 (A4XX_INT0_RBBM_AHB_ERROR | \
8 A4XX_INT0_RBBM_ATB_BUS_OVER …
English function-word token "for" lines 27–32
27:17… buffer *ring = submit->ring;
28 unsigned int i;
29
30 for (i = 0; i < submit->nr_cmds; i++) {
31 switch (submit->cmd[i].type) {
32 case MSM_SUBMIT_CMD_IB_T …
Native loop contains a write call lines 78–83
78:8… adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
79 unsigned int i;
80 for (i = 0; i < 4; i++)
81 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL_TP(i), 0x02222202);
82 for (i = 0; i < 4; i++)
83 gpu_write(gpu, REG_A4XX_RBBM_CLOCK_CTL2_TP(i), 0x000 …
English function-word token "with" lines 105–108
105:3… * Disable L1 clocking in A420 due to CCU issues with it */
106 for (i = 0; i < 4; i++) {
107 if (adreno_is_a420(adreno_gpu)) {
108 gpu_write(gpu, REG_A4XX …
Assigns a negative errno constant lines 640–660
640:9… ;
641
642 if (!pdev) {
643 DRM_DEV_ERROR(dev->dev, "no a4xx device\n");
644 ret = -ENXIO;
645 goto fail;
646 }
647
648 a4xx_gpu = kzalloc_obj(*a4xx_gpu);
649 if (!a4xx_gpu) {
650 ret = -ENOMEM;
651 goto fail;
652 }
⋯8 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.