Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344597
b: refs/heads/master
c: 04bd8ac
h: refs/heads/master
i:
  344595: 01e7507
v: v3
  • Loading branch information
Tomi Valkeinen committed Oct 29, 2012
1 parent 7475879 commit f56d607
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f1a813d35f5aa53290814b2c646972b4e89c733e
refs/heads/master: 04bd8ac14e6c0d4f75be0950c14f9791ffdc76d7
5 changes: 5 additions & 0 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2589,6 +2589,11 @@ int dispc_ovl_enable(enum omap_plane plane, bool enable)
return 0;
}

bool dispc_ovl_enabled(enum omap_plane plane)
{
return REG_GET(DISPC_OVL_ATTRIBUTES(plane), 0, 0);
}

static void dispc_mgr_disable_isr(void *data, u32 mask)
{
struct completion *compl = data;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/omap2/dss/dss.h
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi,
bool replication, const struct omap_video_timings *mgr_timings,
bool mem_to_mem);
int dispc_ovl_enable(enum omap_plane plane, bool enable);
bool dispc_ovl_enabled(enum omap_plane plane);
void dispc_ovl_set_channel_out(enum omap_plane plane,
enum omap_channel channel);

Expand Down

0 comments on commit f56d607

Please sign in to comment.