You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
OMAPDSS: Remove manager->device references
With the introduction of output entities, managers will now connect to outputs. Create helper ops for overlays and managers named get_device. This will abstract away the information on how to get the device from an overlay or an overlay manager. The get_device ops currently retrieve the output via a ovl->manager->device reference. This will be later replaced by ovl->manager->output->device references. Signed-off-by: Archit Taneja <archit@ti.com>
This commit is contained in:
committed by
Tomi Valkeinen
parent
97f01b3a2e
commit
794bc4eefa
@@ -435,6 +435,8 @@ struct omap_overlay {
|
||||
struct omap_overlay_info *info);
|
||||
|
||||
int (*wait_for_go)(struct omap_overlay *ovl);
|
||||
|
||||
struct omap_dss_device *(*get_device)(struct omap_overlay *ovl);
|
||||
};
|
||||
|
||||
struct omap_overlay_manager_info {
|
||||
@@ -491,6 +493,8 @@ struct omap_overlay_manager {
|
||||
int (*apply)(struct omap_overlay_manager *mgr);
|
||||
int (*wait_for_go)(struct omap_overlay_manager *mgr);
|
||||
int (*wait_for_vsync)(struct omap_overlay_manager *mgr);
|
||||
|
||||
struct omap_dss_device *(*get_device)(struct omap_overlay_manager *mgr);
|
||||
};
|
||||
|
||||
/* 22 pins means 1 clk lane and 10 data lanes */
|
||||
|
||||
Reference in New Issue
Block a user