drm/i915/dsc: Add missing _MMIO() from PPS registers
Subsystems (2)
PATCH v2 1/1 drm/i915/dsc: Add missing _MMIO() from PPS registers
FIXME: This fixes the patch:
Which did not have _MMIO() for DSCA and DSCC.
v2: Fix typos. (manasi)
--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +38 -38
@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200) +#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470
@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204) +#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474
@@ -10384,8 +10384,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208) +#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478
@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C) +#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C
@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210) +#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480
@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214) +#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484
@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC) -#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218) +#define DSCC_PICTURE_PARAMETER_SET_6 _MMIO(0x6BA18)#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PB 0x78288#define _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB 0x78388#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PC 0x78488
@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PC) -#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) << 24) +#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C) +#define DSCC_PICTURE_PARAMETER_SET_7 _MMIO(0x6BA1C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PB 0x7828C#define _ICL_DSC1_PICTURE_PARAMETER_SET_7_PB 0x7838C#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PC 0x7848C
@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset) << 16)#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220) +#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490
@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset) << 16)#define DSC_FINAL_OFFSET (final_offset) ((final_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224) +#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494
@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228) +#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498
@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C) +#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C
@@ -10536,8 +10536,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_11_PC) -#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260) +#define DSCC_PICTURE_PARAMETER_SET_12 _MMIO(0x6BA60)#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PB 0x782A0#define _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB 0x783A0#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PC 0x784A0
@@ -10549,8 +10549,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_12_PC) -#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264) +#define DSCC_PICTURE_PARAMETER_SET_13 _MMIO(0x6BA64)#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PB 0x782A4#define _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB 0x783A4#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PC 0x784A4
@@ -10562,8 +10562,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_13_PC) -#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268) +#define DSCC_PICTURE_PARAMETER_SET_14 _MMIO(0x6BA68)#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PB 0x782A8#define _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB 0x783A8#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PC 0x784A8
@@ -10575,8 +10575,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_14_PC) -#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C) +#define DSCC_PICTURE_PARAMETER_SET_15 _MMIO(0x6BA6C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PB 0x782AC#define _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB 0x783AC#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PC 0x784AC
@@ -10588,8 +10588,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_15_PC) -#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270) +#define DSCC_PICTURE_PARAMETER_SET_16 _MMIO(0x6BA70)#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PB 0x782B0#define _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB 0x783B0#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PC 0x784B0
@@ -10601,7 +10601,7 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)#define DSC_SLICE_PER_LINE (slice_per_line) ((slice_per_line) << 16) -#define DSC_SLICE_CHUNK_SIZE (slice_chunk_aize) (slice_chunk_size << 0) +#define DSC_SLICE_CHUNK_SIZE (slice_chunk_size) ((slice_chunk_size) << 0)/* Icelake Rate Control Buffer Threshold Registers */ #define DSCA_RC_BUF_THRESH_0 _MMIO(0x6B230)
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Looks good to me now and also tested with the patches that use these registers.
Manasi
Quoted 228 lines · Anusha Srivatsa
FIXME: This fixes the patch:
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)drivers/gpu/drm/i915/i915_reg.h +38
-38@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200) +#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204) +#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208) +#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C) +#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210) +#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214) +#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC) -#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218) +#define DSCC_PICTURE_PARAMETER_SET_6 _MMIO(0x6BA18)#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PB 0x78288#define _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB 0x78388#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PC 0x78488@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PC) -#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) << 24) +#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C) +#define DSCC_PICTURE_PARAMETER_SET_7 _MMIO(0x6BA1C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PB 0x7828C#define _ICL_DSC1_PICTURE_PARAMETER_SET_7_PB 0x7838C#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PC 0x7848C@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset) << 16)#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220) +#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset) << 16)#define DSC_FINAL_OFFSET (final_offset) ((final_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224) +#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228) +#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C) +#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_11_PC) -#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260) +#define DSCC_PICTURE_PARAMETER_SET_12 _MMIO(0x6BA60)#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PB 0x782A0#define _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB 0x783A0#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PC 0x784A0@@ -10549,8 +10549,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_12_PC) -#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264) +#define DSCC_PICTURE_PARAMETER_SET_13 _MMIO(0x6BA64)#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PB 0x782A4#define _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB 0x783A4#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PC 0x784A4@@ -10562,8 +10562,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_13_PC) -#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268) +#define DSCC_PICTURE_PARAMETER_SET_14 _MMIO(0x6BA68)#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PB 0x782A8#define _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB 0x783A8#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PC 0x784A8@@ -10575,8 +10575,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_14_PC) -#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C) +#define DSCC_PICTURE_PARAMETER_SET_15 _MMIO(0x6BA6C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PB 0x782AC#define _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB 0x783AC#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PC 0x784AC@@ -10588,8 +10588,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_15_PC) -#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270) +#define DSCC_PICTURE_PARAMETER_SET_16 _MMIO(0x6BA70)#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PB 0x782B0#define _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB 0x783B0#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PC 0x784B0@@ -10601,7 +10601,7 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)#define DSC_SLICE_PER_LINE (slice_per_line) ((slice_per_line) << 16) -#define DSC_SLICE_CHUNK_SIZE (slice_chunk_aize) (slice_chunk_size << 0) +#define DSC_SLICE_CHUNK_SIZE (slice_chunk_size) ((slice_chunk_size) << 0)/* Icelake Rate Control Buffer Threshold Registers */ #define DSCA_RC_BUF_THRESH_0 _MMIO(0x6B230)Signature · 1 line
2.7.4
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 8 lines · Manasi Navare
Looks good to me now and also tested with the patches that use these registers.
Reviewed-by Manasi Navare <[email protected]>Manasi
Quoted 1 line · Anusha Srivatsa
FIXME: This fixes the patch:
"FIXME:" tag is misleading here...
It looks like this patch needs to be fixed.
Quoted 1 line
Quoted 1 line
"Link:" is misleading here... Scripts might think this is the link to this patch here...
Please replace these 2 above lines with a direct text that explains the issue
Whenever mentioning another commit please use the kernel style:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html
"If you want to refer to a specific commit, don’t just refer to the SHA-1 ID of the commit. Please also include the oneline summary of the commit, to make it easier for reviewers to know what it is about"
In this case: commit 2efbb2f099fb ("i915/dp/dsc: Add DSC PPS register definitions")
Quoted 4 lines
Quoted 4 lines
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Maybe instead of "FIXME:" you wanted the "Fixes:"
In this case please make sure you follow the "Fixes:" rules:
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.html
On this case I'm not 100% confident we want the "Fixes:"
Part of me says no, we don't need Fixes because ICL is on alpha_support protection mode, and these patches are just adding the definition and not in use yet.
Part of me says yes, we need because I just sent the initial patches to 4.19 and Fixme tag would make sure we get this on drm-intel-next-fixes still for 4.19. So whatever works use this on 4.20 could be easily backported to 4.19 by OSVs...
So, please read the rules and help me to decide. ;)
Thanks,
Rodrigo.
Quoted 217 lines
Quoted 217 lines
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)drivers/gpu/drm/i915/i915_reg.h +38
-38@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200) +#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204) +#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208) +#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C) +#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210) +#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214) +#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC) -#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218) +#define DSCC_PICTURE_PARAMETER_SET_6 _MMIO(0x6BA18)#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PB 0x78288#define _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB 0x78388#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PC 0x78488@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PC) -#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) << 24) +#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C) +#define DSCC_PICTURE_PARAMETER_SET_7 _MMIO(0x6BA1C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PB 0x7828C#define _ICL_DSC1_PICTURE_PARAMETER_SET_7_PB 0x7838C#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PC 0x7848C@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset) << 16)#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220) +#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset) << 16)#define DSC_FINAL_OFFSET (final_offset) ((final_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224) +#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228) +#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C) +#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_11_PC) -#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260) +#define DSCC_PICTURE_PARAMETER_SET_12 _MMIO(0x6BA60)#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PB 0x782A0#define _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB 0x783A0#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PC 0x784A0@@ -10549,8 +10549,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_12_PC) -#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264) +#define DSCC_PICTURE_PARAMETER_SET_13 _MMIO(0x6BA64)#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PB 0x782A4#define _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB 0x783A4#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PC 0x784A4@@ -10562,8 +10562,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_13_PC) -#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268) +#define DSCC_PICTURE_PARAMETER_SET_14 _MMIO(0x6BA68)#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PB 0x782A8#define _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB 0x783A8#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PC 0x784A8@@ -10575,8 +10575,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_14_PC) -#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C) +#define DSCC_PICTURE_PARAMETER_SET_15 _MMIO(0x6BA6C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PB 0x782AC#define _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB 0x783AC#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PC 0x784AC@@ -10588,8 +10588,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_15_PC) -#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270) +#define DSCC_PICTURE_PARAMETER_SET_16 _MMIO(0x6BA70)#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PB 0x782B0#define _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB 0x783B0#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PC 0x784B0@@ -10601,7 +10601,7 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)#define DSC_SLICE_PER_LINE (slice_per_line) ((slice_per_line) << 16) -#define DSC_SLICE_CHUNK_SIZE (slice_chunk_aize) (slice_chunk_size << 0) +#define DSC_SLICE_CHUNK_SIZE (slice_chunk_size) ((slice_chunk_size) << 0)
Quoted 9 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0/* Icelake Rate Control Buffer Threshold Registers */ #define DSCA_RC_BUF_THRESH_0 _MMIO(0x6B230)Signature · 1 line
2.7.4_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 20 lines · Rodrigo Vivi
Quoted 8 lines · Manasi Navare
Looks good to me now and also tested with the patches that use these registers.
Reviewed-by Manasi Navare <[email protected]>Manasi
Quoted 1 line · Anusha Srivatsa
FIXME: This fixes the patch:
"FIXME:" tag is misleading here...
It looks like this patch needs to be fixed.Quoted 1 line
Quoted 1 line
"Link:" is misleading here... Scripts might think this is the link to this patch here...
Please replace these 2 above lines with a direct text that explains the issue
Quoted 7 lines
Whenever mentioning another commit please use the kernel style:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html
"If you want to refer to a specific commit, don’t just refer to the SHA-1 ID of the commit. Please also include the oneline summary of the commit, to make it easier for reviewers to know what it is about"
In this case: commit
2efbb2f099fb("i915/dp/dsc: Add DSC PPS register definitions")
Yes I agree, it should mention the comit ID that is getting fixed.
Quoted 18 lines
Quoted 5 lines
Quoted 5 lines
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Maybe instead of "FIXME:" you wanted the "Fixes:"
In this case please make sure you follow the "Fixes:" rules:
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.html
On this case I'm not 100% confident we want the "Fixes:"
Part of me says no, we don't need Fixes because ICL is on
alpha_supportprotection mode, and these patches are just adding the definition and not in use yet.
Quoted 6 lines
Part of me says yes, we need because I just sent the initial patches to 4.19 and Fixme tag would make sure we get this on drm-intel-next-fixes still for 4.19. So whatever works use this on 4.20 could be easily backported to 4.19 by OSVs...
So, please read the rules and help me to decide. ;)
May be a good idea to just say in the commit message that it fixes the reg defs and typos etc.. instead of a formal FIXES tag.
Manasi
Quoted 230 lines
Thanks,
Rodrigo.Quoted 226 lines
Quoted 222 lines
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)drivers/gpu/drm/i915/i915_reg.h +38
-38@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200) +#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204) +#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208) +#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C) +#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210) +#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214) +#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \ _ICL_DSC1_PICTURE_PARAMETER_SET_5_PC) -#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218) +#define DSCC_PICTURE_PARAMETER_SET_6 _MMIO(0x6BA18)#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PB 0x78288#define _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB 0x78388#define _ICL_DSC0_PICTURE_PARAMETER_SET_6_PC 0x78488@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe) _MMIO_PIPE((pipe) - PIPE_B, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_6_PC) -#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) << 24) +#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C) +#define DSCC_PICTURE_PARAMETER_SET_7 _MMIO(0x6BA1C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PB 0x7828C#define _ICL_DSC1_PICTURE_PARAMETER_SET_7_PB 0x7838C#define _ICL_DSC0_PICTURE_PARAMETER_SET_7_PC 0x7848C@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset) << 16)#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220) +#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset) << 16)#define DSC_FINAL_OFFSET (final_offset) ((final_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224) +#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228) +#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C) +#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_11_PC) -#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260) +#define DSCC_PICTURE_PARAMETER_SET_12 _MMIO(0x6BA60)#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PB 0x782A0#define _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB 0x783A0#define _ICL_DSC0_PICTURE_PARAMETER_SET_12_PC 0x784A0@@ -10549,8 +10549,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_12_PC) -#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264) +#define DSCC_PICTURE_PARAMETER_SET_13 _MMIO(0x6BA64)#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PB 0x782A4#define _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB 0x783A4#define _ICL_DSC0_PICTURE_PARAMETER_SET_13_PC 0x784A4@@ -10562,8 +10562,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_13_PC) -#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268) +#define DSCC_PICTURE_PARAMETER_SET_14 _MMIO(0x6BA68)#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PB 0x782A8#define _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB 0x783A8#define _ICL_DSC0_PICTURE_PARAMETER_SET_14_PC 0x784A8@@ -10575,8 +10575,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_14_PC) -#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C) +#define DSCC_PICTURE_PARAMETER_SET_15 _MMIO(0x6BA6C)#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PB 0x782AC#define _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB 0x783AC#define _ICL_DSC0_PICTURE_PARAMETER_SET_15_PC 0x784AC@@ -10588,8 +10588,8 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_15_PC) -#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270) +#define DSCC_PICTURE_PARAMETER_SET_16 _MMIO(0x6BA70)#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PB 0x782B0#define _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB 0x783B0#define _ICL_DSC0_PICTURE_PARAMETER_SET_16_PC 0x784B0@@ -10601,7 +10601,7 @@ enum skl_power_gate { _ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \ _ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)#define DSC_SLICE_PER_LINE (slice_per_line) ((slice_per_line) << 16) -#define DSC_SLICE_CHUNK_SIZE (slice_chunk_aize) (slice_chunk_size << 0) +#define DSC_SLICE_CHUNK_SIZE (slice_chunk_size) ((slice_chunk_size) << 0)/* Icelake Rate Control Buffer Threshold Registers */ #define DSCA_RC_BUF_THRESH_0 _MMIO(0x6B230)Signature · 1 line
2.7.4_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 72 lines
-----Original Message-----
From: Navare, Manasi D
Sent: Friday, July 20, 2018 1:29 PM
To: Vivi, Rodrigo <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [v2] drm/i915/dsc: Add missing_MMIO()from PPS registersQuoted 2 lines · Rodrigo Vivi
Quoted 1 line · Manasi Navare
Looks good to me now and also tested with the patches that use these
registers.
Quoted 18 lines
Quoted 7 lines
Reviewed-by Manasi Navare <[email protected]>Manasi
Quoted 1 line · Anusha Srivatsa
FIXME: This fixes the patch:
"FIXME:" tag is misleading here...
It looks like this patch needs to be fixed.Quoted 3 lines
"Link:" is misleading here... Scripts might think this is the link to this patch here...
Quoted 8 lines
Please replace these 2 above lines with a direct text that explains the issue
Whenever mentioning another commit please use the kernel style:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html
"If you want to refer to a specific commit, don’t just refer to the SHA-1 ID of
the commit. Please also include the oneline summary of the commit, to make it easier for reviewers to know what it is about"
Quoted 3 lines
In this case: commit
2efbb2f099fb("i915/dp/dsc: Add DSC PPS register definitions")Yes I agree, it should mention the comit ID that is getting fixed.
Quoted 23 lines
Quoted 5 lines
Quoted 5 lines
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Maybe instead of "FIXME:" you wanted the "Fixes:"
In this case please make sure you follow the "Fixes:" rules:
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.html
On this case I'm not 100% confident we want the "Fixes:"
Part of me says no, we don't need Fixes because ICL is on
alpha_supportprotection mode, and these patches are just adding the definition and not in use yet.Part of me says yes, we need because I just sent the initial patches to 4.19 and Fixme tag would make sure we get this on drm-intel-next-fixes still for 4.19. So whatever works use this on 4.20 could be easily backported to 4.19 by OSVs...
Quoted 4 lines
Quoted 1 line
So, please read the rules and help me to decide. ;)
May be a good idea to just say in the commit message that it fixes the reg defs and typos etc.. instead of a formal FIXES tag.
Thinking....
Rodrigo, having FIXES tag is going to help you cherry-pick though, correct?
Anusha
Quoted 276 lines
Manasi
Quoted 20 lines
Thanks,
Rodrigo.Quoted 16 lines
Quoted 16 lines
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/i915/i915_reg.hindex 8af945d..7394605 100644drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10353
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10373
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10374
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10384
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10388
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10402
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10403
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10417
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10418
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10432
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10433
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10441
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC)Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-3-#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_6_MMIO(0x6BA18)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10456
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_6_PB0x78288
#define_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB0x78388
#define_ICL_DSC0_PICTURE_PARAMETER_SET_6_PC0x78488drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PC)Quoted 3 lines
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) <<24)
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2+#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_7_MMIO(0x6BA1C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10476
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_7_PB0x7828C
#define_ICL_DSC1_PICTURE_PARAMETER_SET_7_PB0x7838C
#define_ICL_DSC0_PICTURE_PARAMETER_SET_7_PC0x7848Cdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset)<< 16)
Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10480
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10491
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset)<< 16)
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10492
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +0
-0#define DSC_FINAL_OFFSET (final_offset) ((final_offset)<< 0)
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10494
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10509
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10510
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10526
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10527
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10536
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_12_MMIO(0x6BA60)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10549
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_12_PB0x782A0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB0x783A0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_12_PC0x784A0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10549,8 +10549,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_13_MMIO(0x6BA64)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10562
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_13_PB0x782A4
#define_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB0x783A4
#define_ICL_DSC0_PICTURE_PARAMETER_SET_13_PC0x784A4drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10562,8 +10562,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_14_MMIO(0x6BA68)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10575
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_14_PB0x782A8
#define_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB0x783A8
#define_ICL_DSC0_PICTURE_PARAMETER_SET_14_PC0x784A8drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10575,8 +10575,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_15_MMIO(0x6BA6C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10588
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_15_PB0x782AC
#define_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB0x783AC
#define_ICL_DSC0_PICTURE_PARAMETER_SET_15_PC0x784ACdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10588,8 +10588,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_16_MMIO(0x6BA70)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10601
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_16_PB0x782B0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB0x783B0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_16_PC0x784B0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10601,7 +10601,7 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 17 lines
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)Quoted 1 line
Quoted 1 line
Quoted 1 line
#define
DSC_SLICE_PER_LINE(slice_per_line)((slice_per_line)<< 16)
Quoted 1 line
Quoted 1 line
Quoted 1 line
-#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_aize)(slice_chunk_size << 0)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_size)((slice_chunk_size) << 0)Quoted 10 lines
Quoted 10 lines
Quoted 6 lines
/* Icelake Rate Control Buffer Threshold Registers */
#defineDSCA_RC_BUF_THRESH_0_MMIO(0x6B230)
--
2.7.4_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Rodrigo Vivi
maintainerQuoted 72 lines · Anusha
Quoted 72 lines
-----Original Message-----
From: Navare, Manasi D
Sent: Friday, July 20, 2018 1:29 PM
To: Vivi, Rodrigo <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [v2] drm/i915/dsc: Add missing_MMIO()from PPS registersQuoted 2 lines · Rodrigo Vivi
Quoted 1 line · Manasi Navare
Looks good to me now and also tested with the patches that use these
registers.
Quoted 18 lines
Quoted 7 lines
Reviewed-by Manasi Navare <[email protected]>Manasi
Quoted 1 line · Anusha Srivatsa
FIXME: This fixes the patch:
"FIXME:" tag is misleading here...
It looks like this patch needs to be fixed.Quoted 3 lines
"Link:" is misleading here... Scripts might think this is the link to this patch here...
Quoted 8 lines
Please replace these 2 above lines with a direct text that explains the issue
Whenever mentioning another commit please use the kernel style:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html
"If you want to refer to a specific commit, don’t just refer to the SHA-1 ID of
the commit. Please also include the oneline summary of the commit, to make it easier for reviewers to know what it is about"
Quoted 3 lines
In this case: commit
2efbb2f099fb("i915/dp/dsc: Add DSC PPS register definitions")Yes I agree, it should mention the comit ID that is getting fixed.
Quoted 23 lines
Quoted 5 lines
Quoted 5 lines
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Maybe instead of "FIXME:" you wanted the "Fixes:"
In this case please make sure you follow the "Fixes:" rules:
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.html
On this case I'm not 100% confident we want the "Fixes:"
Part of me says no, we don't need Fixes because ICL is on
alpha_supportprotection mode, and these patches are just adding the definition and not in use yet.Part of me says yes, we need because I just sent the initial patches to 4.19 and Fixme tag would make sure we get this on drm-intel-next-fixes still for 4.19. So whatever works use this on 4.20 could be easily backported to 4.19 by OSVs...
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
So, please read the rules and help me to decide. ;)
May be a good idea to just say in the commit message that it fixes the reg defs and typos etc.. instead of a formal FIXES tag.
Thinking....
Rodrigo, having FIXES tag is going to help you cherry-pick though, correct?
Yes, if "Fixes:" (non capital) is there, dim scripts will get this patch for drm-intel-next-fixes and it will probably be part of 4.19.
Otherwise I won't cherry-pick and it will be only part of 4.20 along with the rest of DSC patches.
But have in mind that On a regular fixes flow I'd prefer without the tag so we minimize the non-functional-fixes on the flow... After all this is not fixing any real 4.19 issue. ;)
Quoted 291 lines
Anusha
Quoted 289 lines
Manasi
Quoted 20 lines
Thanks,
Rodrigo.Quoted 16 lines
Quoted 16 lines
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/i915/i915_reg.hindex 8af945d..7394605 100644drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10353
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10373
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10374
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10384
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10388
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10402
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10403
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10417
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10418
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10432
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10433
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10441
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC)Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-3-#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) << 0) -#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_6_MMIO(0x6BA18)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10456
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_6_PB0x78288
#define_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB0x78388
#define_ICL_DSC0_PICTURE_PARAMETER_SET_6_PC0x78488drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10456,13 +10456,13 @@ enum skl_power_gate {#define ICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PC)Quoted 3 lines
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) <<24)
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2+#define DSC_FLATNESS_MIN_QP (min_qp) ((min_qp) << 16)#define DSC_FIRST_LINE_BPG_OFFSET (offset) ((offset) << 8)#define DSC_INITIAL_SCALE_VALUE (value) ((value) << 0) -#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_7_MMIO(0x6BA1C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10476
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_7_PB0x7828C
#define_ICL_DSC1_PICTURE_PARAMETER_SET_7_PB0x7838C
#define_ICL_DSC0_PICTURE_PARAMETER_SET_7_PC0x7848Cdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset)<< 16)
Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10480
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_8 _MMIO(0x6BA20)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10491
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset)<< 16)
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10492
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +0
-0#define DSC_FINAL_OFFSET (final_offset) ((final_offset)<< 0)
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10494
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10509
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10510
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10526
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim) << 8)#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim) << 0) -#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10527
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10536
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_12_MMIO(0x6BA60)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10549
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_12_PB0x782A0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB0x783A0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_12_PC0x784A0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10549,8 +10549,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_13_MMIO(0x6BA64)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10562
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_13_PB0x782A4
#define_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB0x783A4
#define_ICL_DSC0_PICTURE_PARAMETER_SET_13_PC0x784A4drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10562,8 +10562,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_14_MMIO(0x6BA68)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10575
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_14_PB0x782A8
#define_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB0x783A8
#define_ICL_DSC0_PICTURE_PARAMETER_SET_14_PC0x784A8drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10575,8 +10575,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_15_MMIO(0x6BA6C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10588
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_15_PB0x782AC
#define_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB0x783AC
#define_ICL_DSC0_PICTURE_PARAMETER_SET_15_PC0x784ACdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10588,8 +10588,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_16_MMIO(0x6BA70)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10601
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_16_PB0x782B0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB0x783B0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_16_PC0x784B0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10601,7 +10601,7 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)Quoted 1 line
Quoted 1 line
Quoted 1 line
#define
DSC_SLICE_PER_LINE(slice_per_line)((slice_per_line)<< 16)
Quoted 1 line
Quoted 1 line
Quoted 1 line
-#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_aize)(slice_chunk_size << 0)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_size)((slice_chunk_size) << 0)Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
/* Icelake Rate Control Buffer Threshold Registers */
#defineDSCA_RC_BUF_THRESH_0_MMIO(0x6B230)
--
2.7.4
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 93 lines
-----Original Message-----
From: Vivi, Rodrigo
Sent: Friday, July 20, 2018 1:37 PM
To: Srivatsa, Anusha <[email protected]>
Cc: Navare, Manasi D <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [v2] drm/i915/dsc: Add missing_MMIO()from PPS registersQuoted 81 lines · Anusha
Quoted 81 lines
-----Original Message-----
From: Navare, Manasi D
Sent: Friday, July 20, 2018 1:29 PM
To: Vivi, Rodrigo <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [v2] drm/i915/dsc: Add missing_MMIO()from PPS registersQuoted 3 lines · Rodrigo Vivi
Quoted 2 lines · Manasi Navare
Looks good to me now and also tested with the patches that use these
registers.
Quoted 21 lines
Quoted 7 lines
Reviewed-by Manasi Navare <[email protected]>Manasi
Quoted 1 line · Anusha Srivatsa
FIXME: This fixes the patch:
"FIXME:" tag is misleading here...
It looks like this patch needs to be fixed.Quoted 3 lines
Quoted 3 lines
Link:
https://patchwork.freedesktop.org/patch/msgid/1531861861-10950-
2-g [email protected]"Link:" is misleading here... Scripts might think this is the link to this patch here...
Please replace these 2 above lines with a direct text that explains the issue
Quoted 7 lines
Whenever mentioning another commit please use the kernel style:
https://www.kernel.org/doc/html/v4.17/process/submitting-patches.ht
ml"If you want to refer to a specific commit, don’t just refer to the SHA-1 ID of
the commit. Please also include the oneline summary of the commit, to make it easier for reviewers to know what it is about"
Quoted 4 lines
In this case: commit
2efbb2f099fb("i915/dp/dsc: Add DSC PPS register
definitions")Yes I agree, it should mention the comit ID that is getting fixed.
Quoted 19 lines
Quoted 5 lines
Quoted 5 lines
Which did not have
_MMIO()for DSCA and DSCC.v2: Fix typos. (manasi)
Maybe instead of "FIXME:" you wanted the "Fixes:"
In this case please make sure you follow the "Fixes:" rules:
https://01.org/linuxgraphics/gfx-docs/maintainer-tools/drm-intel.ht
mlOn this case I'm not 100% confident we want the "Fixes:"
Part of me says no, we don't need Fixes because ICL is on
alpha_supportprotection mode, and these patches are just adding the definition and not in use yet.Quoted 6 lines
Part of me says yes, we need because I just sent the initial patches to 4.19 and Fixme tag would make sure we get this on drm-intel-next-fixes still for 4.19. So whatever works use this on 4.20 could be easily backported to 4.19 by OSVs...
So, please read the rules and help me to decide. ;)
May be a good idea to just say in the commit message that it fixes the reg defs and typos etc.. instead of a formal FIXES tag.
Quoted 8 lines
Quoted 2 lines
Thinking....
Rodrigo, having FIXES tag is going to help you cherry-pick though, correct?Yes, if "Fixes:" (non capital) is there, dim scripts will get this patch for drm-intel- next-fixes and it will probably be part of 4.19.
Otherwise I won't cherry-pick and it will be only part of 4.20 along with the rest of DSC patches.
That is where we want it anyway.
Quoted 3 lines
But have in mind that On a regular fixes flow I'd prefer without the tag so we minimize the non-functional-fixes on the flow... After all this is not fixing any real 4.19 issue. ;)
True.
No tag then....
Thanks for the feedback.
Anusha
Quoted 286 lines
Quoted 104 lines
Anusha
Quoted 102 lines
Manasi
Quoted 20 lines
Thanks,
Rodrigo.Quoted 16 lines
Quoted 16 lines
Cc Rodrigi Vivi <[email protected]>Cc Manasi Navare <[email protected]>Signed-off-by Anusha Srivatsa <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/i915/i915_reg.hindex 8af945d..7394605 100644drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10349,8 +10349,8 @@ enum skl_power_gate {#define ICL_PHY_MISC_DE_IO_COMP_PWR_DOWN (1 << 23)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2/* Icelake Display Stream Compression Registers */ -#define DSCA_PICTURE_PARAMETER_SET_0 0x6B200 -#define DSCC_PICTURE_PARAMETER_SET_0 0x6BA00 +#define DSCA_PICTURE_PARAMETER_SET_0 _MMIO(0x6B200)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10353
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_0 _MMIO(0x6BA00)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10373
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PB 0x78270#define _ICL_DSC1_PICTURE_PARAMETER_SET_0_PB 0x78370#define _ICL_DSC0_PICTURE_PARAMETER_SET_0_PC 0x78470@@ -10370,8 +10370,8 @@ enum skl_power_gate {#define DSC_VER_MIN_SHIFT 4#define DSC_VER_MAJ (0x1 << 0) -#define DSCA_PICTURE_PARAMETER_SET_1 0x6B204 -#define DSCC_PICTURE_PARAMETER_SET_1 0x6BA04 +#define DSCA_PICTURE_PARAMETER_SET_1 _MMIO(0x6B204)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10374
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_1 _MMIO(0x6BA04)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10384
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PB 0x78274#define _ICL_DSC1_PICTURE_PARAMETER_SET_1_PB 0x78374#define _ICL_DSC0_PICTURE_PARAMETER_SET_1_PC 0x78474@@ -10384,8 +10384,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_1_PC)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_BPP (bpp) ((bpp) << 0) -#define DSCA_PICTURE_PARAMETER_SET_2 0x6B208 -#define DSCC_PICTURE_PARAMETER_SET_2 0x6BA08 +#define DSCA_PICTURE_PARAMETER_SET_2 _MMIO(0x6B208)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10388
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_2 _MMIO(0x6BA08)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10402
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PB 0x78278#define _ICL_DSC1_PICTURE_PARAMETER_SET_2_PB 0x78378#define _ICL_DSC0_PICTURE_PARAMETER_SET_2_PC 0x78478@@ -10399,8 +10399,8 @@ enum skl_power_gate {#define DSC_PIC_WIDTH (pic_width) ((pic_width) << 16)#define DSC_PIC_HEIGHT (pic_height) ((pic_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_3 0x6B20C -#define DSCC_PICTURE_PARAMETER_SET_3 0x6BA0C +#define DSCA_PICTURE_PARAMETER_SET_3 _MMIO(0x6B20C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10403
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_3 _MMIO(0x6BA0C)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10417
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PB 0x7827C#define _ICL_DSC1_PICTURE_PARAMETER_SET_3_PB 0x7837C#define _ICL_DSC0_PICTURE_PARAMETER_SET_3_PC 0x7847C@@ -10414,8 +10414,8 @@ enum skl_power_gate {#define DSC_SLICE_WIDTH (slice_width) ((slice_width) << 16)#define DSC_SLICE_HEIGHT (slice_height) ((slice_height) << 0) -#define DSCA_PICTURE_PARAMETER_SET_4 0x6B210 -#define DSCC_PICTURE_PARAMETER_SET_4 0x6BA10 +#define DSCA_PICTURE_PARAMETER_SET_4 _MMIO(0x6B210)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10418
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_4 _MMIO(0x6BA10)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10432
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PB 0x78280#define _ICL_DSC1_PICTURE_PARAMETER_SET_4_PB 0x78380#define _ICL_DSC0_PICTURE_PARAMETER_SET_4_PC 0x78480@@ -10429,8 +10429,8 @@ enum skl_power_gate {#define DSC_INITIAL_DEC_DELAY (dec_delay) ((dec_delay) << 16)#define DSC_INITIAL_XMIT_DELAY (xmit_delay) ((xmit_delay) << 0) -#define DSCA_PICTURE_PARAMETER_SET_5 0x6B214 -#define DSCC_PICTURE_PARAMETER_SET_5 0x6BA14 +#define DSCA_PICTURE_PARAMETER_SET_5 _MMIO(0x6B214)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10433
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_5 _MMIO(0x6BA14)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { #define · line 10441
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PB 0x78284#define _ICL_DSC1_PICTURE_PARAMETER_SET_5_PB 0x78384#define _ICL_DSC0_PICTURE_PARAMETER_SET_5_PC 0x78484@@ -10441,11 +10441,11 @@ enum skl_power_gate { #defineICL_DSC1_PICTURE_PARAMETER_SET_5 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 6 lines
Quoted 6 lines
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_5_PC)Quoted 3 lines
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +1
-1-#define DSC_SCALE_DEC_INTINT (scale_dec) ((scale_dec) << 16) +#define DSC_SCALE_DEC_INT (scale_dec) ((scale_dec) << 16)#define DSC_SCALE_INC_INT (scale_inc) ((scale_inc) <<0)
Quoted 14 lines
Quoted 14 lines
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_6 0x6B218 -#define DSCC_PICTURE_PARAMETER_SET_6 0x6BA18 +#define DSCA_PICTURE_PARAMETER_SET_6 _MMIO(0x6B218)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_6_MMIO(0x6BA18)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { #define · line 10456
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_6_PB0x78288
#define_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB0x78388
#define_ICL_DSC0_PICTURE_PARAMETER_SET_6_PC0x78488drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10456,13 +10456,13 @@ enum skl_power_gate { #defineICL_DSC1_PICTURE_PARAMETER_SET_6 (pipe)_MMIO_PIPE((pipe) - PIPE_B, \Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_6_PC)Quoted 3 lines
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 3 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSC_FLATNESS_MAX_QP (max_qp) (qp << 24) -#define DSC_FLATNESS_MIN_QP (min_qp) (qp << 16) +#define DSC_FLATNESS_MAX_QP (max_qp) ((max_qp) <<24)
Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSC_FLATNESS_MIN_QP(min_qp)((min_qp) <<16)
Quoted 22 lines
Quoted 22 lines
Quoted 6 lines
Quoted 6 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 6 lines
#define
DSC_FIRST_LINE_BPG_OFFSET(offset)((offset) << 8)
#defineDSC_INITIAL_SCALE_VALUE(value)((value) << 0)drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_7 0x6B21C -#define DSCC_PICTURE_PARAMETER_SET_7 0x6BA1C +#define DSCA_PICTURE_PARAMETER_SET_7 _MMIO(0x6B21C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_7_MMIO(0x6BA1C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10476
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_7_PB0x7828C
#define_ICL_DSC1_PICTURE_PARAMETER_SET_7_PB0x7838C
#define_ICL_DSC0_PICTURE_PARAMETER_SET_7_PC0x7848Cdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10476,8 +10476,8 @@ enum skl_power_gate {#define DSC_NFL_BPG_OFFSET (bpg_offset) ((bpg_offset)<< 16)
Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define DSC_SLICE_BPG_OFFSET (bpg_offset) ((bpg_offset) << 0) -#define DSCA_PICTURE_PARAMETER_SET_8 0x6B220 -#define DSCC_PICTURE_PARAMETER_SET_8 0x6BA20 +#define DSCA_PICTURE_PARAMETER_SET_8 _MMIO(0x6B220)Quoted 1 line
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_8 Quoted 8 lines
Quoted 8 lines
_MMIO(0x6BA20)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10491
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PB 0x78290#define _ICL_DSC1_PICTURE_PARAMETER_SET_8_PB 0x78390#define _ICL_DSC0_PICTURE_PARAMETER_SET_8_PC 0x78490@@ -10491,8 +10491,8 @@ enum skl_power_gate {#define DSC_INITIAL_OFFSET (initial_offset) ((initial_offset)<< 16)
Quoted 1 line
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +0
-0#define DSC_FINAL_OFFSET (final_offset)((final_offset)Quoted 19 lines
Quoted 19 lines
<< 0)
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_9 0x6B224 -#define DSCC_PICTURE_PARAMETER_SET_9 0x6BA24 +#define DSCA_PICTURE_PARAMETER_SET_9 _MMIO(0x6B224)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10494
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_9 _MMIO(0x6BA24)Quoted 10 lines
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10509
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PB 0x78294#define _ICL_DSC1_PICTURE_PARAMETER_SET_9_PB 0x78394#define _ICL_DSC0_PICTURE_PARAMETER_SET_9_PC 0x78494@@ -10506,8 +10506,8 @@ enum skl_power_gate {#define DSC_RC_EDGE_FACTOR (rc_edge_fact) ((rc_edge_fact) << 16)#define DSC_RC_MODEL_SIZE (rc_model_size) ((rc_model_size) << 0) -#define DSCA_PICTURE_PARAMETER_SET_10 0x6B228 -#define DSCC_PICTURE_PARAMETER_SET_10 0x6BA28 +#define DSCA_PICTURE_PARAMETER_SET_10 _MMIO(0x6B228)Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10510
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_10 _MMIO(0x6BA28)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10523
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PB 0x78298#define _ICL_DSC1_PICTURE_PARAMETER_SET_10_PB 0x78398#define _ICL_DSC0_PICTURE_PARAMETER_SET_10_PC 0x78498@@ -10523,8 +10523,8 @@ enum skl_power_gate {#define DSC_RC_QUANT_INC_LIMIT1 (lim) ((lim)<< 8)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10524
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +0
-0#define DSC_RC_QUANT_INC_LIMIT0 (lim) ((lim)<< 0)
Quoted 92 lines
Quoted 92 lines
Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_11 0x6B22C -#define DSCC_PICTURE_PARAMETER_SET_11 0x6BA2C +#define DSCA_PICTURE_PARAMETER_SET_11 _MMIO(0x6B22C)Quoted 1 line
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10526
Quoted 1 line
drivers/gpu/drm/i915/i915_reg.h +1
-0+#define DSCC_PICTURE_PARAMETER_SET_11 _MMIO(0x6BA2C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10536
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PB 0x7829C#define _ICL_DSC1_PICTURE_PARAMETER_SET_11_PB 0x7839C#define _ICL_DSC0_PICTURE_PARAMETER_SET_11_PC 0x7849C@@ -10536,8 +10536,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_11_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_12 0x6B260 -#define DSCC_PICTURE_PARAMETER_SET_12 0x6BA60 +#define DSCA_PICTURE_PARAMETER_SET_12 _MMIO(0x6B260)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_12_MMIO(0x6BA60)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10549
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_12_PB0x782A0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB0x783A0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_12_PC0x784A0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10549,8 +10549,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_12_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_13 0x6B264 -#define DSCC_PICTURE_PARAMETER_SET_13 0x6BA64 +#define DSCA_PICTURE_PARAMETER_SET_13 _MMIO(0x6B264)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_13_MMIO(0x6BA64)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10562
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_13_PB0x782A4
#define_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB0x783A4
#define_ICL_DSC0_PICTURE_PARAMETER_SET_13_PC0x784A4drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10562,8 +10562,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_13_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_14 0x6B268 -#define DSCC_PICTURE_PARAMETER_SET_14 0x6BA68 +#define DSCA_PICTURE_PARAMETER_SET_14 _MMIO(0x6B268)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_14_MMIO(0x6BA68)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10575
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_14_PB0x782A8
#define_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB0x783A8
#define_ICL_DSC0_PICTURE_PARAMETER_SET_14_PC0x784A8drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10575,8 +10575,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_14_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_15 0x6B26C -#define DSCC_PICTURE_PARAMETER_SET_15 0x6BA6C +#define DSCA_PICTURE_PARAMETER_SET_15 _MMIO(0x6B26C)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_15_MMIO(0x6BA6C)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10588
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_15_PB0x782AC
#define_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB0x783AC
#define_ICL_DSC0_PICTURE_PARAMETER_SET_15_PC0x784ACdrivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10588,8 +10588,8 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_15_PC)Quoted 4 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate {
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +1
-2-#define DSCA_PICTURE_PARAMETER_SET_16 0x6B270 -#define DSCC_PICTURE_PARAMETER_SET_16 0x6BA70 +#define DSCA_PICTURE_PARAMETER_SET_16 _MMIO(0x6B270)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSCC_PICTURE_PARAMETER_SET_16_MMIO(0x6BA70)Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h enum skl_power_gate { · line 10601
Quoted 5 lines
#define
_ICL_DSC0_PICTURE_PARAMETER_SET_16_PB0x782B0
#define_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB0x783B0
#define_ICL_DSC0_PICTURE_PARAMETER_SET_16_PC0x784B0drivers/gpu/drm/i915/i915_reg.h +0
-0@@ -10601,7 +10601,7 @@ enum skl_power_gate {
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PB, \Quoted 1 line
Quoted 1 line
Quoted 1 line
_ICL_DSC1_PICTURE_PARAMETER_SET_16_PC)Quoted 1 line
Quoted 1 line
Quoted 1 line
#define
DSC_SLICE_PER_LINE(slice_per_line)((slice_per_line)<< 16)
Quoted 19 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
-#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_aize)(slice_chunk_size << 0)Quoted 1 line
Quoted 1 line
Quoted 1 line
+#define
DSC_SLICE_CHUNK_SIZE(slice_chunk_size)((slice_chunk_size) << 0)Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
/* Icelake Rate Control Buffer Threshold Registers */ #define
DSCA_RC_BUF_THRESH_0_MMIO(0x6B230)Quoted 11 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
--
2.7.4_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/dsc: Add missing _MMIO() from PPS registers (rev2)
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: drm/i915/dsc: Add missing _MMIO() from PPS registers (rev2)
URL : https://patchwork.freedesktop.org/series/46979/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4521 -> Patchwork_9739 =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_9739 need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_9739, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/46979/revisions/2/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_9739:
=== IGT changes ===
==== Warnings ====
igt@drv_selftest@live_guc:
fi-skl-6260u: PASS -> SKIP +1
fi-kbl-7560u: PASS -> SKIP +1== Known issues ==
Here are the changes found in Patchwork_9739 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_selftest@live_hangcheck:
fi-kbl-7560u: PASS -> DMESG-FAIL (fdo#106947)
fi-skl-6260u: PASS -> DMESG-FAIL (fdo#106560)
==== Possible fixes ====
igt@debugfs_test@read_all_entries:
fi-snb-2520m: INCOMPLETE (fdo#103713) -> PASS
igt@prime_vgem@basic-fence-flip:
fi-ilk-650: FAIL (fdo#104008) -> PASS fdo#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008
fdo#106560 https://bugs.freedesktop.org/show_bug.cgi?id=106560
fdo#106947 https://bugs.freedesktop.org/show_bug.cgi?id=106947
== Participating hosts (47 -> 41) ==
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-hsw-peppy fi-byt-squawks fi-bsw-cyan fi-ctg-p8600
== Build changes ==
* Linux: CI_DRM_4521 -> Patchwork_9739
CI_DRM_4521: a4ebbd84c682fd30edbde6ac0e48d150d4c5c066 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4570: 65cdccdc7bcbb791d791aeeeecb784a382110a3c @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9739: 95020adeaf31a8d1359fea572ddb6fb86da13fd2 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
95020adeaf31 drm/i915/dsc: Add missing _MMIO() from PPS registers
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9739/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx