diff options
author | Archit Taneja <architt@codeaurora.org> | 2017-01-16 01:04:19 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-02-06 11:28:42 -0500 |
commit | f71516bd5841c2464c7ccc847a4ff8ac4e192851 (patch) | |
tree | 58b98cef9829943de255b918ecad7b6ed3cf7e52 | |
parent | d90d7026e75bc17cb56fd591f644225575ef6a5f (diff) |
drm/msm/mdp5: Update generated headers
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r-- | drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h b/drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h index 27d5371acee0..e6dfc518d4db 100644 --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5.xml.h | |||
@@ -8,19 +8,11 @@ http://github.com/freedreno/envytools/ | |||
8 | git clone https://github.com/freedreno/envytools.git | 8 | git clone https://github.com/freedreno/envytools.git |
9 | 9 | ||
10 | The rules-ng-ng source files this header was generated from are: | 10 | The rules-ng-ng source files this header was generated from are: |
11 | - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14) | 11 | - /local/mnt/workspace/source_trees/envytools/rnndb/../rnndb/mdp/mdp5.xml ( 37411 bytes, from 2017-01-11 05:19:19) |
12 | - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2016-02-10 17:07:21) | 12 | - /local/mnt/workspace/source_trees/envytools/rnndb/freedreno_copyright.xml ( 1572 bytes, from 2016-05-09 06:32:54) |
13 | - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14) | 13 | - /local/mnt/workspace/source_trees/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2016-01-07 08:45:55) |
14 | - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28) | 14 | |
15 | - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 36965 bytes, from 2016-11-26 23:01:08) | 15 | Copyright (C) 2013-2017 by the following authors: |
16 | - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52) | ||
17 | - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02) | ||
18 | - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14) | ||
19 | - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07) | ||
20 | - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 41472 bytes, from 2016-01-22 18:18:18) | ||
21 | - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14) | ||
22 | |||
23 | Copyright (C) 2013-2016 by the following authors: | ||
24 | - Rob Clark <robdclark@gmail.com> (robclark) | 16 | - Rob Clark <robdclark@gmail.com> (robclark) |
25 | - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) | 17 | - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin) |
26 | 18 | ||
@@ -65,16 +57,19 @@ enum mdp5_intfnum { | |||
65 | }; | 57 | }; |
66 | 58 | ||
67 | enum mdp5_pipe { | 59 | enum mdp5_pipe { |
68 | SSPP_VIG0 = 0, | 60 | SSPP_NONE = 0, |
69 | SSPP_VIG1 = 1, | 61 | SSPP_VIG0 = 1, |
70 | SSPP_VIG2 = 2, | 62 | SSPP_VIG1 = 2, |
71 | SSPP_RGB0 = 3, | 63 | SSPP_VIG2 = 3, |
72 | SSPP_RGB1 = 4, | 64 | SSPP_RGB0 = 4, |
73 | SSPP_RGB2 = 5, | 65 | SSPP_RGB1 = 5, |
74 | SSPP_DMA0 = 6, | 66 | SSPP_RGB2 = 6, |
75 | SSPP_DMA1 = 7, | 67 | SSPP_DMA0 = 7, |
76 | SSPP_VIG3 = 8, | 68 | SSPP_DMA1 = 8, |
77 | SSPP_RGB3 = 9, | 69 | SSPP_VIG3 = 9, |
70 | SSPP_RGB3 = 10, | ||
71 | SSPP_CURSOR0 = 11, | ||
72 | SSPP_CURSOR1 = 12, | ||
78 | }; | 73 | }; |
79 | 74 | ||
80 | enum mdp5_ctl_mode { | 75 | enum mdp5_ctl_mode { |
@@ -532,6 +527,7 @@ static inline uint32_t MDP5_CTL_LAYER_EXT_REG_CURSOR1(enum mdp_mixer_stage_id va | |||
532 | static inline uint32_t __offset_PIPE(enum mdp5_pipe idx) | 527 | static inline uint32_t __offset_PIPE(enum mdp5_pipe idx) |
533 | { | 528 | { |
534 | switch (idx) { | 529 | switch (idx) { |
530 | case SSPP_NONE: return (INVALID_IDX(idx)); | ||
535 | case SSPP_VIG0: return (mdp5_cfg->pipe_vig.base[0]); | 531 | case SSPP_VIG0: return (mdp5_cfg->pipe_vig.base[0]); |
536 | case SSPP_VIG1: return (mdp5_cfg->pipe_vig.base[1]); | 532 | case SSPP_VIG1: return (mdp5_cfg->pipe_vig.base[1]); |
537 | case SSPP_VIG2: return (mdp5_cfg->pipe_vig.base[2]); | 533 | case SSPP_VIG2: return (mdp5_cfg->pipe_vig.base[2]); |
@@ -542,6 +538,8 @@ static inline uint32_t __offset_PIPE(enum mdp5_pipe idx) | |||
542 | case SSPP_DMA1: return (mdp5_cfg->pipe_dma.base[1]); | 538 | case SSPP_DMA1: return (mdp5_cfg->pipe_dma.base[1]); |
543 | case SSPP_VIG3: return (mdp5_cfg->pipe_vig.base[3]); | 539 | case SSPP_VIG3: return (mdp5_cfg->pipe_vig.base[3]); |
544 | case SSPP_RGB3: return (mdp5_cfg->pipe_rgb.base[3]); | 540 | case SSPP_RGB3: return (mdp5_cfg->pipe_rgb.base[3]); |
541 | case SSPP_CURSOR0: return (mdp5_cfg->pipe_cursor.base[0]); | ||
542 | case SSPP_CURSOR1: return (mdp5_cfg->pipe_cursor.base[1]); | ||
545 | default: return INVALID_IDX(idx); | 543 | default: return INVALID_IDX(idx); |
546 | } | 544 | } |
547 | } | 545 | } |
@@ -1073,6 +1071,10 @@ static inline uint32_t REG_MDP5_LM_BLEND_COLOR_OUT(uint32_t i0) { return 0x00000 | |||
1073 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE1_FG_ALPHA 0x00000004 | 1071 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE1_FG_ALPHA 0x00000004 |
1074 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE2_FG_ALPHA 0x00000008 | 1072 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE2_FG_ALPHA 0x00000008 |
1075 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE3_FG_ALPHA 0x00000010 | 1073 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE3_FG_ALPHA 0x00000010 |
1074 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE4_FG_ALPHA 0x00000020 | ||
1075 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE5_FG_ALPHA 0x00000040 | ||
1076 | #define MDP5_LM_BLEND_COLOR_OUT_STAGE6_FG_ALPHA 0x00000080 | ||
1077 | #define MDP5_LM_BLEND_COLOR_OUT_SPLIT_LEFT_RIGHT 0x80000000 | ||
1076 | 1078 | ||
1077 | static inline uint32_t REG_MDP5_LM_OUT_SIZE(uint32_t i0) { return 0x00000004 + __offset_LM(i0); } | 1079 | static inline uint32_t REG_MDP5_LM_OUT_SIZE(uint32_t i0) { return 0x00000004 + __offset_LM(i0); } |
1078 | #define MDP5_LM_OUT_SIZE_HEIGHT__MASK 0xffff0000 | 1080 | #define MDP5_LM_OUT_SIZE_HEIGHT__MASK 0xffff0000 |