intel/common: Move i915 files to i915 folder

Following the organization done in intel/dev and intel/vulkan.

Probably due to some rebase issue we had a duplicated copyright header
in intel_gem_i915.h that is being removed in here too.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21256>
This commit is contained in:
José Roberto de Souza 2023-02-09 09:32:37 -08:00 committed by Marge Bot
parent 41286f100e
commit e050a00b9f
7 changed files with 13 additions and 37 deletions

View file

@ -21,7 +21,7 @@
* IN THE SOFTWARE.
*/
#include "intel_engine_i915.h"
#include "i915/intel_engine.h"
#include <stdlib.h>

View file

@ -23,7 +23,7 @@
#pragma once
#include "intel_engine.h"
#include "common/intel_engine.h"
#include "drm-uapi/i915_drm.h"

View file

@ -21,10 +21,10 @@
* IN THE SOFTWARE.
*/
#include "intel_gem_i915.h"
#include "i915/intel_gem.h"
#include "intel_gem.h"
#include "intel_engine_i915.h"
#include "common/intel_gem.h"
#include "i915/intel_engine.h"
#include "drm-uapi/i915_drm.h"

View file

@ -26,31 +26,7 @@
#include <stdbool.h>
#include <stdint.h>
/*
* Copyright © 2022 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice (including the next
* paragraph) shall be included in all copies or substantial portions of the
* Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#include "intel_gem_i915.h"
#include "intel_gem.h"
#include "common/intel_gem.h"
#include "drm-uapi/i915_drm.h"

View file

@ -26,7 +26,7 @@
#include "util/macros.h"
#include "intel_engine.h"
#include "intel_engine_i915.h"
#include "i915/intel_engine.h"
struct intel_query_engine_info *
intel_engine_get_info(int fd, enum intel_kmd_type type)

View file

@ -23,8 +23,8 @@
#include "intel_gem.h"
#include "drm-uapi/i915_drm.h"
#include "intel_engine_i915.h"
#include "intel_gem_i915.h"
#include "i915/intel_engine.h"
#include "i915/intel_gem.h"
bool
intel_gem_supports_syncobj_wait(int fd)

View file

@ -19,6 +19,10 @@
# SOFTWARE.
files_libintel_common = files(
'i915/intel_engine.c',
'i915/intel_engine.h',
'i915/intel_gem.c',
'i915/intel_gem.h',
'intel_aux_map.c',
'intel_aux_map.h',
'intel_buffer_alloc.h',
@ -26,12 +30,8 @@ files_libintel_common = files(
'intel_decoder.h',
'intel_disasm.c',
'intel_disasm.h',
'intel_engine_i915.c',
'intel_engine_i915.h',
'intel_engine.c',
'intel_engine.h',
'intel_gem_i915.c',
'intel_gem_i915.h',
'intel_gem.c',
'intel_gem.h',
'intel_genX_state.h',