freedreno/a6xx: Set FD_BO_NO_HARDPIN from meson

Rather than setting it in each file, we can just set it globally for all
c++ files.

Signed-off-by: Rob Clark <rob.clark@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39029>
This commit is contained in:
Rob Clark 2025-12-17 07:30:17 -08:00 committed by Marge Bot
parent 2ed37033a0
commit af38b71e5b
19 changed files with 1 additions and 35 deletions

View file

@ -3,8 +3,6 @@
* SPDX-License-Identifier: MIT
*/
#define FD_BO_NO_HARDPIN 1
#include "freedreno_batch.h"
#include "fd6_barrier.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/u_blend.h"
#include "util/u_dual_blend.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "util/format_srgb.h"
#include "util/half_float.h"
#include "util/u_dump.h"

View file

@ -7,7 +7,6 @@
*/
#include "drm/freedreno_ringbuffer.h"
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/u_dump.h"

View file

@ -4,8 +4,6 @@
* SPDX-License-Identifier: MIT
*/
#define FD_BO_NO_HARDPIN 1
#include "fd6_barrier.h"
#include "fd6_const.h"
#include "fd6_compute.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "freedreno_query_acc.h"
#include "freedreno_state.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/u_memory.h"
#include "util/u_prim.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/format/u_format.h"
#include "util/u_helpers.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include <stdio.h>
#include "pipe/p_state.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "freedreno_resource.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include <initializer_list>
#include "pipe/p_state.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
/* NOTE: see https://gitlab.freedesktop.org/freedreno/freedreno/-/wikis/A5xx-Queries */
#include "freedreno_query_acc.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/u_memory.h"
#include "util/u_string.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "drm-uapi/drm_fourcc.h"
#include "a6xx/fd6_blitter.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "drm-uapi/drm_fourcc.h"
#include "pipe/p_screen.h"
#include "util/format/u_format.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/format/u_format.h"
#include "util/hash_table.h"

View file

@ -3,8 +3,6 @@
* SPDX-License-Identifier: MIT
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "freedreno_batch.h"

View file

@ -7,8 +7,6 @@
* Rob Clark <robclark@freedesktop.org>
*/
#define FD_BO_NO_HARDPIN 1
#include "pipe/p_state.h"
#include "util/u_memory.h"
#include "util/u_string.h"

View file

@ -235,6 +235,7 @@ freedreno_c_args += cc.get_supported_arguments([
freedreno_cpp_args = []
freedreno_cpp_args += cpp.get_supported_arguments([
'-DFD_BO_NO_HARDPIN=1',
'-fno-exceptions',
'-fno-rtti',
'-Wno-address-of-packed-member',