mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
freedreno: Make fd_pps_driver.h usable without including other FD sources
fd_pps_driver.h is included in src/tool/pps/pps_driver.cc which isn't
built with freedreno sources but linked with freedreno pps.
Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11183
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29325>
(cherry picked from commit 745b0fc79f)
This commit is contained in:
parent
3f01e9982d
commit
af0a1b2e23
3 changed files with 17 additions and 6 deletions
|
|
@ -5264,7 +5264,7 @@
|
|||
"description": "freedreno: Make fd_pps_driver.h usable without including other FD sources",
|
||||
"nominated": false,
|
||||
"nomination_type": 3,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -10,6 +10,12 @@
|
|||
#include <iostream>
|
||||
#include <perfetto.h>
|
||||
|
||||
#include "common/freedreno_dev_info.h"
|
||||
#include "drm/freedreno_drmif.h"
|
||||
#include "drm/freedreno_ringbuffer.h"
|
||||
#include "perfcntrs/freedreno_dt.h"
|
||||
#include "perfcntrs/freedreno_perfcntr.h"
|
||||
|
||||
#include "pps/pps.h"
|
||||
#include "pps/pps_algorithm.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -8,11 +8,16 @@
|
|||
|
||||
#include "pps/pps_driver.h"
|
||||
|
||||
#include "common/freedreno_dev_info.h"
|
||||
#include "drm/freedreno_drmif.h"
|
||||
#include "drm/freedreno_ringbuffer.h"
|
||||
#include "perfcntrs/freedreno_dt.h"
|
||||
#include "perfcntrs/freedreno_perfcntr.h"
|
||||
extern "C" {
|
||||
struct fd_dev_id;
|
||||
struct fd_dev_info;
|
||||
struct fd_device;
|
||||
struct fd_pipe;
|
||||
struct fd_ringbuffer;
|
||||
struct fd_perfcntr_group;
|
||||
struct fd_perfcntr_countable;
|
||||
struct fd_perfcntr_counter;
|
||||
};
|
||||
|
||||
namespace pps
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue