drm/i915/gvt: remove duplicated definition
Remove duplicated definition for resource size in aperture_gm.c which are already defined in gvt.h. Need only one to take effect. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
This commit is contained in:
parent
888530b57f
commit
2fcdb66364
|
@ -37,13 +37,6 @@
|
||||||
#include "i915_drv.h"
|
#include "i915_drv.h"
|
||||||
#include "gvt.h"
|
#include "gvt.h"
|
||||||
|
|
||||||
#define MB_TO_BYTES(mb) ((mb) << 20ULL)
|
|
||||||
#define BYTES_TO_MB(b) ((b) >> 20ULL)
|
|
||||||
|
|
||||||
#define HOST_LOW_GM_SIZE MB_TO_BYTES(128)
|
|
||||||
#define HOST_HIGH_GM_SIZE MB_TO_BYTES(384)
|
|
||||||
#define HOST_FENCE 4
|
|
||||||
|
|
||||||
static int alloc_gm(struct intel_vgpu *vgpu, bool high_gm)
|
static int alloc_gm(struct intel_vgpu *vgpu, bool high_gm)
|
||||||
{
|
{
|
||||||
struct intel_gvt *gvt = vgpu->gvt;
|
struct intel_gvt *gvt = vgpu->gvt;
|
||||||
|
|
Loading…
Reference in New Issue