summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/etnaviv/etnaviv_flop_reset.h
blob: e6dee1db788f696d9034a11364ee6861ebdfb883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0
 *
 * Copyright (C) 2025 Etnaviv Project
 */

#ifndef _ETNAVIV_FLOP_RESET_H_
#define _ETNAVIV_FLOP_RESET_H_

#include <linux/types.h>

struct etnaviv_chip_identity;
struct etnaviv_drm_private;
struct etnaviv_gpu;

bool etnaviv_flop_reset_ppu_require(const struct etnaviv_chip_identity *chip_id);

int etnaviv_flop_reset_ppu_init(struct etnaviv_drm_private *priv);

void etnaviv_flop_reset_ppu_run(struct etnaviv_gpu *gpu);

#endif