drm_fixed.h (bc0868c62bb13834b20a864f684cced1f84a2412) | drm_fixed.h (cde3d37b19dfddc2dd1bb238a5eaaae09a07b5c5) |
---|---|
1/* 2 * Copyright 2009 Red Hat Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 11 unchanged lines hidden (view full) --- 20 * OTHER DEALINGS IN THE SOFTWARE. 21 * 22 * Authors: Dave Airlie 23 * Christian König 24 */ 25#ifndef DRM_FIXED_H 26#define DRM_FIXED_H 27 | 1/* 2 * Copyright 2009 Red Hat Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 11 unchanged lines hidden (view full) --- 20 * OTHER DEALINGS IN THE SOFTWARE. 21 * 22 * Authors: Dave Airlie 23 * Christian König 24 */ 25#ifndef DRM_FIXED_H 26#define DRM_FIXED_H 27 |
28#include <linux/kernel.h> |
|
28#include <linux/math64.h> 29 30typedef union dfixed { 31 u32 full; 32} fixed20_12; 33 34 35#define dfixed_const(A) (u32)(((A) << 12))/* + ((B + 0.000122)*4096)) */ --- 176 unchanged lines hidden --- | 29#include <linux/math64.h> 30 31typedef union dfixed { 32 u32 full; 33} fixed20_12; 34 35 36#define dfixed_const(A) (u32)(((A) << 12))/* + ((B + 0.000122)*4096)) */ --- 176 unchanged lines hidden --- |