Commit 5aa7d52a authored by Chris Wilson's avatar Chris Wilson

Merge branch 'drm-intel-fixes' into drm-intel-next

Immediate merge for the conflicting introduction of HAS_COHERENT_RINGS.

Conflicts:
	drivers/gpu/drm/i915/i915_dma.c
	include/drm/i915_drm.h
parents 382ab78c bbf0c6b3
...@@ -721,8 +721,10 @@ static int intel_fake_agp_fetch_size(void) ...@@ -721,8 +721,10 @@ static int intel_fake_agp_fetch_size(void)
static void i830_cleanup(void) static void i830_cleanup(void)
{ {
kunmap(intel_private.i8xx_page); if (intel_private.i8xx_flush_page) {
intel_private.i8xx_flush_page = NULL; kunmap(intel_private.i8xx_flush_page);
intel_private.i8xx_flush_page = NULL;
}
__free_page(intel_private.i8xx_page); __free_page(intel_private.i8xx_page);
intel_private.i8xx_page = NULL; intel_private.i8xx_page = NULL;
......
...@@ -775,6 +775,9 @@ static int i915_getparam(struct drm_device *dev, void *data, ...@@ -775,6 +775,9 @@ static int i915_getparam(struct drm_device *dev, void *data,
case I915_PARAM_HAS_RELAXED_FENCING: case I915_PARAM_HAS_RELAXED_FENCING:
value = 1; value = 1;
break; break;
case I915_PARAM_HAS_COHERENT_RINGS:
value = 1;
break;
default: default:
DRM_DEBUG_DRIVER("Unknown parameter %d\n", DRM_DEBUG_DRIVER("Unknown parameter %d\n",
param->param); param->param);
......
...@@ -288,6 +288,7 @@ typedef struct drm_i915_irq_wait { ...@@ -288,6 +288,7 @@ typedef struct drm_i915_irq_wait {
#define I915_PARAM_HAS_BSD 10 #define I915_PARAM_HAS_BSD 10
#define I915_PARAM_HAS_BLT 11 #define I915_PARAM_HAS_BLT 11
#define I915_PARAM_HAS_RELAXED_FENCING 12 #define I915_PARAM_HAS_RELAXED_FENCING 12
#define I915_PARAM_HAS_COHERENT_RINGS 13
typedef struct drm_i915_getparam { typedef struct drm_i915_getparam {
int param; int param;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment