]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - drivers/video/tegra/host/nvhost_channel.h
video: tegra: host: simplify channel map usage
[sojka/nv-tegra/linux-3.10.git] / drivers / video / tegra / host / nvhost_channel.h
index baed282718a24d7684aac46bc6042452c49dcbff..9f165a380f4aa16e97ad04dc29324bc94aa80826 100644 (file)
@@ -50,7 +50,6 @@ struct nvhost_channel {
        atomic_t refcount;
        int chid;
        int dev_chid;
-       u32 syncpt_id;
        struct mutex reflock;
        struct mutex submitlock;
        void __iomem *aperture;
@@ -64,8 +63,6 @@ struct nvhost_channel {
         * now just keep it here */
        struct nvhost_as *as;
 
-       struct list_head list;
-
        /* error notificatiers used channel submit timeout */
        struct dma_buf *error_notifier_ref;
        struct nvhost_notification *error_notifier;
@@ -97,10 +94,7 @@ int nvhost_channel_read_reg(struct nvhost_channel *channel,
        u32 offset, u32 *value);
 
 struct nvhost_channel *nvhost_alloc_channel_internal(int chindex,
-       int max_channels, int *current_channel_count);
-
-void nvhost_free_channel_internal(struct nvhost_channel *ch,
-       int *current_channel_count);
+       int max_channels);
 
 int nvhost_channel_save_context(struct nvhost_channel *ch);
 void nvhost_channel_init_gather_filter(struct nvhost_channel *ch);