forked from KolibriOS/kolibrios
ddk:update to 3.12.9
git-svn-id: svn://kolibrios.org@4538 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
eaa731f069
commit
0c4f98c413
@ -588,7 +588,7 @@
|
|||||||
{0x1002, 0x9645, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO2|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
{0x1002, 0x9645, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO2|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
||||||
{0x1002, 0x9647, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
{0x1002, 0x9647, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
||||||
{0x1002, 0x9648, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
{0x1002, 0x9648, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
||||||
{0x1002, 0x9649, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
{0x1002, 0x9649, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO2|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},\
|
||||||
{0x1002, 0x964a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
{0x1002, 0x964a, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
||||||
{0x1002, 0x964b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
{0x1002, 0x964b, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
||||||
{0x1002, 0x964c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
{0x1002, 0x964c, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SUMO|RADEON_NEW_MEMMAP|RADEON_IS_IGP}, \
|
||||||
|
@ -1010,7 +1010,7 @@ extern void fb_pad_aligned_buffer(u8 *dst, u32 d_pitch, u8 *src, u32 s_pitch, u3
|
|||||||
extern void fb_set_suspend(struct fb_info *info, int state);
|
extern void fb_set_suspend(struct fb_info *info, int state);
|
||||||
extern int fb_get_color_depth(struct fb_var_screeninfo *var,
|
extern int fb_get_color_depth(struct fb_var_screeninfo *var,
|
||||||
struct fb_fix_screeninfo *fix);
|
struct fb_fix_screeninfo *fix);
|
||||||
extern int fb_get_options(char *name, char **option);
|
extern int fb_get_options(const char *name, char **option);
|
||||||
extern int fb_new_modelist(struct fb_info *info);
|
extern int fb_new_modelist(struct fb_info *info);
|
||||||
|
|
||||||
extern struct fb_info *registered_fb[FB_MAX];
|
extern struct fb_info *registered_fb[FB_MAX];
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#if BITS_PER_LONG == 64
|
#if BITS_PER_LONG == 64
|
||||||
|
|
||||||
#define div64_long(x,y) div64_s64((x),(y))
|
#define div64_long(x, y) div64_s64((x), (y))
|
||||||
#define div64_ul(x, y) div64_u64((x), (y))
|
#define div64_ul(x, y) div64_u64((x), (y))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -57,7 +57,7 @@ static inline s64 div64_s64(s64 dividend, s64 divisor)
|
|||||||
|
|
||||||
#elif BITS_PER_LONG == 32
|
#elif BITS_PER_LONG == 32
|
||||||
|
|
||||||
#define div64_long(x,y) div_s64((x),(y))
|
#define div64_long(x, y) div_s64((x), (y))
|
||||||
#define div64_ul(x, y) div_u64((x), (y))
|
#define div64_ul(x, y) div_u64((x), (y))
|
||||||
|
|
||||||
#ifndef div_u64_rem
|
#ifndef div_u64_rem
|
||||||
|
@ -1050,4 +1050,15 @@ struct drm_i915_fb_info {
|
|||||||
__u32 pipe;
|
__u32 pipe;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct drm_i915_mask_update {
|
||||||
|
__u32 handle;
|
||||||
|
__u32 dx;
|
||||||
|
__u32 dy;
|
||||||
|
__u32 width;
|
||||||
|
__u32 height;
|
||||||
|
__u32 bo_pitch;
|
||||||
|
__u32 bo_map;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif /* _UAPI_I915_DRM_H_ */
|
#endif /* _UAPI_I915_DRM_H_ */
|
||||||
|
@ -501,12 +501,12 @@ int drm_order(unsigned long size);
|
|||||||
|
|
||||||
static inline void __iomem *ioremap(uint32_t offset, size_t size)
|
static inline void __iomem *ioremap(uint32_t offset, size_t size)
|
||||||
{
|
{
|
||||||
return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_NOCACHE);
|
return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_NOCACHE|0x100);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void __iomem *ioremap_wc(uint32_t offset, size_t size)
|
static inline void __iomem *ioremap_wc(uint32_t offset, size_t size)
|
||||||
{
|
{
|
||||||
return (void __iomem*) MapIoMem(offset, size, PG_SW|PG_NOCACHE);
|
return (void __iomem*) MapIoMem(offset, size, PG_SW|0x100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user