Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/drm2/i915/i915_dma.c
Context not available. | |||||
vga = device_get_parent(dev->dev); | vga = device_get_parent(dev->dev); | ||||
dev_priv->mch_res_rid = 0x100; | dev_priv->mch_res_rid = 0x100; | ||||
dev_priv->mch_res = BUS_ALLOC_RESOURCE(device_get_parent(vga), | dev_priv->mch_res = BUS_ALLOC_RESOURCE(device_get_parent(vga), | ||||
dev->dev, SYS_RES_MEMORY, &dev_priv->mch_res_rid, 0, ~0UL, | dev->dev, SYS_RES_MEMORY, &dev_priv->mch_res_rid, 0, ~0, | ||||
MCHBAR_SIZE, RF_ACTIVE | RF_SHAREABLE); | MCHBAR_SIZE, RF_ACTIVE | RF_SHAREABLE); | ||||
if (dev_priv->mch_res == NULL) { | if (dev_priv->mch_res == NULL) { | ||||
DRM_DEBUG_DRIVER("failed bus alloc\n"); | DRM_DEBUG_DRIVER("failed bus alloc\n"); | ||||
Context not available. |