open-src/kernel/i915/src/i915_dma.c
changeset 1684 9f5a5146d91f
parent 1494 a72f39592745
equal deleted inserted replaced
1683:891694327eca 1684:9f5a5146d91f
     1 /*
     1 /*
     2  * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
     3  */
     3  */
     4 
     4 
     5 /* i915_dma.c -- DMA support for the I915 -*- linux-c -*-
     5 /* i915_dma.c -- DMA support for the I915 -*- linux-c -*-
     6  */
     6  */
     7 /*
     7 /*
  1004 		value = 1;
  1004 		value = 1;
  1005 		break;
  1005 		break;
  1006 	case I915_PARAM_HAS_EXEC_HANDLE_LUT:
  1006 	case I915_PARAM_HAS_EXEC_HANDLE_LUT:
  1007 		value = 1;
  1007 		value = 1;
  1008 		break;
  1008 		break;
       
  1009 
       
  1010 	/*
       
  1011 	 * These should be better supported in the next version, but
       
  1012 	 * are being requested in this one.  so provide useful values.
       
  1013 	 */
       
  1014 	case I915_PARAM_CMD_PARSER_VERSION:
       
  1015 		value = 1;
       
  1016 		break;
       
  1017 	case I915_PARAM_HAS_EXEC_SOFTPIN:
       
  1018 		value = 0;
       
  1019 		break;
       
  1020 
  1009 	default:
  1021 	default:
  1010 		DRM_DEBUG_DRIVER("Unknown parameter %d\n",
  1022 		DRM_DEBUG_DRIVER("Unknown parameter %d\n",
  1011 				 param->param);
  1023 				 param->param);
  1012 		return -EINVAL;
  1024 		return -EINVAL;
  1013 	}
  1025 	}