PD #92501: fix m6 error
authorKasin Lee <kasin.li@amlogic.com>
Wed, 13 Aug 2014 16:21:38 +0000 (00:21 +0800)
committerKasin Lee <kasin.li@amlogic.com>
Wed, 13 Aug 2014 16:21:38 +0000 (00:21 +0800)
Change-Id: I50114212a30de30fdfe6cf8d1980af0ac15c435b

mali/common/mali_group.c
mali/platform/meson_m400/mali_fix.h [changed mode: 0644->0755]
mali/platform/mpgpu.c

index 2796c12c487d8b581cb705b8ce6899485fb28b31..8c35a2ddb38a9533953a9e09b03b7d6dcf527c0b 100755 (executable)
@@ -1311,6 +1311,7 @@ static void mali_group_mmu_page_fault_and_unlock(struct mali_group *group)
 }
 
 #if MESON_CPU_TYPE == MESON_CPU_TYPE_MESON6
+#include <platform/meson_m400/mali_fix.h>
 #define INT_MALI_PP2_MMU ( 6+32)
 struct _mali_osk_irq_t_struct;
 u32 get_irqnum(struct _mali_osk_irq_t_struct* irq);
old mode 100644 (file)
new mode 100755 (executable)
index 431c59f..3c29161
@@ -11,5 +11,4 @@ extern void malifix_exit(void);
 extern void malifix_set_mmu_int_process_state(int, int);
 extern int  malifix_get_mmu_int_process_state(int);
 extern int mali_meson_is_revb(void);
-
 #endif /* MALI_FIX_H */
index fe0f63753a677f57f345181068e4d0a524af2727..9983603f92d583f382f83cadf2aa9fd6ad398cc4 100755 (executable)
@@ -309,7 +309,7 @@ static ssize_t current_pp_write(struct class *class,
 
 
 static struct class_attribute mali_class_attrs[] = {
-#if MESON_CPU_TYPE >= MESON_CPU_TYPE_MESON8
+#if MESON_CPU_TYPE >= MESON_CPU_TYPE_MESON6TVD
        __ATTR(domain_stat,     0644, domain_stat_read, NULL),
        __ATTR(mpgpucmd,        0644, NULL,             mpgpu_write),
        __ATTR(scale_mode,      0644, scale_mode_read,  scale_mode_write),