1*c9c97b8cSDave Airlie /************************************************************************** 2*c9c97b8cSDave Airlie * 3*c9c97b8cSDave Airlie * Copyright 2009 Red Hat Inc. 4*c9c97b8cSDave Airlie * All Rights Reserved. 5*c9c97b8cSDave Airlie * 6*c9c97b8cSDave Airlie * Permission is hereby granted, free of charge, to any person obtaining a 7*c9c97b8cSDave Airlie * copy of this software and associated documentation files (the 8*c9c97b8cSDave Airlie * "Software"), to deal in the Software without restriction, including 9*c9c97b8cSDave Airlie * without limitation the rights to use, copy, modify, merge, publish, 10*c9c97b8cSDave Airlie * distribute, sub license, and/or sell copies of the Software, and to 11*c9c97b8cSDave Airlie * permit persons to whom the Software is furnished to do so, subject to 12*c9c97b8cSDave Airlie * the following conditions: 13*c9c97b8cSDave Airlie * 14*c9c97b8cSDave Airlie * The above copyright notice and this permission notice (including the 15*c9c97b8cSDave Airlie * next paragraph) shall be included in all copies or substantial portions 16*c9c97b8cSDave Airlie * of the Software. 17*c9c97b8cSDave Airlie * 18*c9c97b8cSDave Airlie * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19*c9c97b8cSDave Airlie * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20*c9c97b8cSDave Airlie * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 21*c9c97b8cSDave Airlie * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, 22*c9c97b8cSDave Airlie * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 23*c9c97b8cSDave Airlie * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 24*c9c97b8cSDave Airlie * USE OR OTHER DEALINGS IN THE SOFTWARE. 25*c9c97b8cSDave Airlie * 26*c9c97b8cSDave Airlie * 27*c9c97b8cSDave Airlie **************************************************************************/ 28*c9c97b8cSDave Airlie /* 29*c9c97b8cSDave Airlie * Authors: 30*c9c97b8cSDave Airlie * Dave Airlie <airlied@redhat.com> 31*c9c97b8cSDave Airlie */ 32*c9c97b8cSDave Airlie 33*c9c97b8cSDave Airlie #ifndef _DRM_CACHE_H_ 34*c9c97b8cSDave Airlie #define _DRM_CACHE_H_ 35*c9c97b8cSDave Airlie 36*c9c97b8cSDave Airlie void drm_clflush_pages(struct page *pages[], unsigned long num_pages); 37*c9c97b8cSDave Airlie 38*c9c97b8cSDave Airlie #endif 39