video: tegra: dc: remove SD drivers

Smartdimmer was a feature to allow for backlight reduction with
minimal degredation in image quality. It's since been deprecated.
Removing the dead code for improved code coverage analysis.

TDS-3581

Change-Id: I4ee30e67b097a932389e8ba0df9b50a174fccdd3
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1579437
Reviewed-by: Prafull Suryawanshi <prafulls@nvidia.com>
Tested-by: Prafull Suryawanshi <prafulls@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Mitch Luban
2017-10-15 20:46:45 -07:00
committed by Laxman Dewangan
parent a6d4a6e991
commit bf5cb93fe0
2 changed files with 6 additions and 33 deletions

View File

@@ -785,37 +785,6 @@ struct MODS_TEGRA_DC_CONFIG_POSSIBLE {
__u8 possible;
};
#define MODS_TEGRA_DC_SETUP_SD_LUT_SIZE 9
#define MODS_TEGRA_DC_SETUP_BLTF_SIZE 16
/* MODS_ESC_TEGRA_DC_SETUP_SD */
struct MODS_TEGRA_DC_SETUP_SD {
/* IN */
__u8 head;
__u8 enable;
__u8 use_vid_luma;
__u8 csc_r;
__u8 csc_g;
__u8 csc_b;
__u8 aggressiveness;
__u8 bin_width_log2;
__u32 lut[MODS_TEGRA_DC_SETUP_SD_LUT_SIZE];
__u32 bltf[MODS_TEGRA_DC_SETUP_BLTF_SIZE];
__u32 klimit;
__u32 soft_clipping_threshold;
__u32 smooth_k_inc;
__u8 k_init_bias;
__u32 win_x;
__u32 win_y;
__u32 win_w;
__u32 win_h;
};
/* MODS_ESC_DMABUF_GET_PHYSICAL_ADDRESS */
struct MODS_DMABUF_GET_PHYSICAL_ADDRESS {
/* IN */
@@ -1163,8 +1132,6 @@ struct MODS_SET_NUM_VF {
#define MODS_ESC_TEGRA_DC_CONFIG_POSSIBLE \
_IOWR(MODS_IOC_MAGIC, 47, \
struct MODS_TEGRA_DC_CONFIG_POSSIBLE)
#define MODS_ESC_TEGRA_DC_SETUP_SD \
_IOW(MODS_IOC_MAGIC, 48, struct MODS_TEGRA_DC_SETUP_SD)
#define MODS_ESC_DMABUF_GET_PHYSICAL_ADDRESS \
_IOWR(MODS_IOC_MAGIC, 49, \
struct MODS_DMABUF_GET_PHYSICAL_ADDRESS)

View File

@@ -138,3 +138,9 @@ int esc_mods_tegra_dc_config_possible(struct file *fp,
LOG_EXT();
return 0;
}
int mods_init_tegradc(void)
{
return 0;
}