drm/arm/malidp: Modified the prototype of malidp irq de-initializers
Malidp uses two interrupts ie 1. se_irq - used for memory writeback. and 2. de_irq - used for display output. 'struct drm_device' is being replaced with 'struct malidp_hw_device' as the function argument. The reason being the dependency of malidp_de_irq_fini on 'struct drm_device' needs to be removed so as to enable it to call from functions which receives 'struct malidp_hw_device' as argument. Furthermore, there is no way to retrieve 'struct drm_device' from 'struct malidp_hw_device'. Signed-off-by: Ayan Kumar Halder <ayan.halder@arm.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
This commit is contained in:

committed by
Liviu Dudau

vanhempi
613c5c7fc8
commit
62862cfbb1
@@ -302,9 +302,9 @@ static inline void malidp_hw_enable_irq(struct malidp_hw_device *hwdev,
|
||||
}
|
||||
|
||||
int malidp_de_irq_init(struct drm_device *drm, int irq);
|
||||
void malidp_de_irq_fini(struct drm_device *drm);
|
||||
void malidp_de_irq_fini(struct malidp_hw_device *hwdev);
|
||||
int malidp_se_irq_init(struct drm_device *drm, int irq);
|
||||
void malidp_se_irq_fini(struct drm_device *drm);
|
||||
void malidp_se_irq_fini(struct malidp_hw_device *hwdev);
|
||||
|
||||
u8 malidp_hw_get_format_id(const struct malidp_hw_regmap *map,
|
||||
u8 layer_id, u32 format);
|
||||
|
Viittaa uudesa ongelmassa
Block a user