drm/msm: Sync GPU registers from mesa
Subsystems (4)
Rob Clark
maintainerPATCH 1/1 drm/msm: Sync GPU registers from mesa
In particular, to pull in a SP_READ_SEL_LOCATION bitfield size fix to fix a7xx GPU snapshot.
Sync from mesa commit 76fece61c6ff ("freedreno/registers: Add A7XX_CX_DBGC")
--- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 19 +- drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 5 +- drivers/gpu/drm/msm/registers/adreno/a6xx.xml | 718 ++++++++++-------- .../msm/registers/adreno/a6xx_descriptors.xml | 40 - .../drm/msm/registers/adreno/a6xx_enums.xml | 50 +- .../drm/msm/registers/adreno/adreno_pm4.xml | 179 ++--- 7 files changed, 524 insertions(+), 497 deletions(-)
drivers/gpu/drm/msm/adreno/a6xx_catalog.c +5 -5
@@ -1345,11 +1345,11 @@ DECLARE_ADRENO_REGLIST_LIST(a7xx_pwrup_reglist);/* Applicable for X185, A750 */ static const u32 a750_ifpc_reglist_regs[] = { -REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_0 , -REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_1 , -REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2 , -REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3 , -REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4 , +REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (0 ), +REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (1 ), +REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (2 ), +REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (3 ), +REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (4 ),REG_A6XX_TPL1_NC_MODE_CNTL ,REG_A6XX_SP_NC_MODE_CNTL ,REG_A6XX_CP_DBG_ECO_CNTL ,
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +9 -10
@@ -247,8 +247,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,* Needed for preemption */ OUT_PKT7 (ring,CP_MEM_WRITE ,5 ); -OUT_RING (ring,CP_MEM_WRITE_0_ADDR_LO (lower_32_bits (memptr))); -OUT_RING (ring,CP_MEM_WRITE_1_ADDR_HI (upper_32_bits (memptr))); +OUT_RING (ring,lower_32_bits (memptr)); +OUT_RING (ring,upper_32_bits (memptr));OUT_RING (ring,lower_32_bits (ttbr));OUT_RING (ring,upper_32_bits (ttbr));OUT_RING (ring, ctx->seqno);
@@ -278,9 +278,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,*/ OUT_PKT7 (ring,CP_WAIT_REG_MEM ,6 );OUT_RING (ring,CP_WAIT_REG_MEM_0_FUNCTION (WRITE_EQ )); -OUT_RING (ring,CP_WAIT_REG_MEM_1_POLL_ADDR_LO ( -REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS )); -OUT_RING (ring,CP_WAIT_REG_MEM_2_POLL_ADDR_HI (0 )); +OUT_RING (ring,REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ); +OUT_RING (ring,0 );OUT_RING (ring,CP_WAIT_REG_MEM_3_REF (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_4_MASK (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES (0 ));
@@ -1320,14 +1319,14 @@ static int hw_init(struct msm_gpu *gpu)/* Set weights for bicubic filtering */ if (adreno_is_a650_family (adreno_gpu) ||adreno_is_x185 (adreno_gpu)) { -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_0 ,0 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_1 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (0 ),0 ); +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (1 ),0x3fe05ff4 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (2 ),0x3fa0ebee ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (3 ),0x3f5193ed ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (4 ),0x3f0243f0 ); }
drivers/gpu/drm/msm/adreno/a6xx_preempt.c +2 -3
@@ -111,9 +111,8 @@ static void preempt_prepare_postamble(struct a6xx_gpu *a6xx_gpu) postamble[count++] =PKT7 (CP_WAIT_REG_MEM ,6 ); postamble[count++] =CP_WAIT_REG_MEM_0_FUNCTION (WRITE_EQ ); - postamble[count++] =CP_WAIT_REG_MEM_1_POLL_ADDR_LO ( -REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ); - postamble[count++] =CP_WAIT_REG_MEM_2_POLL_ADDR_HI (0 ); + postamble[count++] =REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ; + postamble[count++] =0 ; postamble[count++] =CP_WAIT_REG_MEM_3_REF (0x1 ); postamble[count++] =CP_WAIT_REG_MEM_4_MASK (0x1 ); postamble[count++] =CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES (0 );
drivers/gpu/drm/msm/registers/adreno/a6xx.xml +412 -306
1,238 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/a6xx_descriptors.xml +0 -40
@@ -9,38 +9,6 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> <domain name="A6XX_TEX_SAMP" width="32"> <doc>Texture sampler dwords</doc> - <enum name="a6xx_tex_filter"> <!-- same as a4xx? --> - <value name="A6XX_TEX_NEAREST" value="0"/> - <value name="A6XX_TEX_LINEAR" value="1"/> - <value name="A6XX_TEX_ANISO" value="2"/> - <value name="A6XX_TEX_CUBIC" value="3"/> <!-- a650 only --> - </enum> - <enum name="a6xx_tex_clamp"> <!-- same as a4xx? --> - <value name="A6XX_TEX_REPEAT" value="0"/> - <value name="A6XX_TEX_CLAMP_TO_EDGE" value="1"/> - <value name="A6XX_TEX_MIRROR_REPEAT" value="2"/> - <value name="A6XX_TEX_CLAMP_TO_BORDER" value="3"/> - <value name="A6XX_TEX_MIRROR_CLAMP" value="4"/> - </enum> - <enum name="a6xx_tex_aniso"> <!-- same as a4xx? --> - <value name="A6XX_TEX_ANISO_1" value="0"/> - <value name="A6XX_TEX_ANISO_2" value="1"/> - <value name="A6XX_TEX_ANISO_4" value="2"/> - <value name="A6XX_TEX_ANISO_8" value="3"/> - <value name="A6XX_TEX_ANISO_16" value="4"/> - </enum> - <enum name="a6xx_reduction_mode"> - <value name="A6XX_REDUCTION_MODE_AVERAGE" value="0"/> - <value name="A6XX_REDUCTION_MODE_MIN" value="1"/> - <value name="A6XX_REDUCTION_MODE_MAX" value="2"/> - </enum> - <enum name="a6xx_fast_border_color"> - <!-- R B G A --> - <value name="A6XX_BORDER_COLOR_0_0_0_0" value="0"/> - <value name="A6XX_BORDER_COLOR_0_0_0_1" value="1"/> - <value name="A6XX_BORDER_COLOR_1_1_1_0" value="2"/> - <value name="A6XX_BORDER_COLOR_1_1_1_1" value="3"/> - </enum> <reg32 offset="0" name="0"> <bitfield name="MIPFILTER_LINEAR_NEAR" pos="0" type="boolean"/>
@@ -79,14 +47,6 @@ xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> <domain name="A6XX_TEX_CONST" width="32" varset="chip"> <doc>Texture constant dwords</doc> - <enum name="a6xx_tex_swiz"> <!-- same as a4xx? --> - <value name="A6XX_TEX_X" value="0"/> - <value name="A6XX_TEX_Y" value="1"/> - <value name="A6XX_TEX_Z" value="2"/> - <value name="A6XX_TEX_W" value="3"/> - <value name="A6XX_TEX_ZERO" value="4"/> - <value name="A6XX_TEX_ONE" value="5"/> - </enum> <reg32 offset="0" name="0"> <bitfield name="TILE_MODE" low="0" high="1" type="a6xx_tile_mode"/> <bitfield name="SRGB" pos="2" type="boolean"/>
drivers/gpu/drm/msm/registers/adreno/a6xx_enums.xml +48 -2
66 lines not on this page · raw message
drivers/gpu/drm/msm/registers/adreno/adreno_pm4.xml +48 -131
319 lines not on this page · raw message
Signature · 1 line
2.51.0
Quoted 22 lines · Rob Clark
In particular, to pull in a
SP_READ_SEL_LOCATIONbitfield size fix to fix a7xx GPU snapshot.Sync from mesa commit
76fece61c6ff("freedreno/registers: AddA7XX_CX_DBGC")Cc Karmjit Mahil <[email protected]>Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 19 +- drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 5 +- drivers/gpu/drm/msm/registers/adreno/a6xx.xml | 718 ++++++++++-------- .../msm/registers/adreno/a6xx_descriptors.xml | 40 - .../drm/msm/registers/adreno/a6xx_enums.xml | 50 +- .../drm/msm/registers/adreno/adreno_pm4.xml | 179 ++--- 7 files changed, 524 insertions(+), 497 deletions(-)drivers/gpu/drm/msm/adreno/a6xx_gpu.c +0
-0
drivers/gpu/drm/msm/adreno/a6xx_gpu.c static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu, · line 251
Quoted 7 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2
-2@@ -247,8 +247,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,* Needed for preemption */ OUT_PKT7 (ring,CP_MEM_WRITE ,5 ); -OUT_RING (ring,CP_MEM_WRITE_0_ADDR_LO (lower_32_bits (memptr))); -OUT_RING (ring,CP_MEM_WRITE_1_ADDR_HI (upper_32_bits (memptr))); +OUT_RING (ring,lower_32_bits (memptr)); +OUT_RING (ring,upper_32_bits (memptr));
Could you please comment, why are we droping all these accessors?
Quoted 35 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +7
-8OUT_RING (ring,lower_32_bits (ttbr));OUT_RING (ring,upper_32_bits (ttbr));OUT_RING (ring, ctx->seqno);@@ -278,9 +278,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,*/ OUT_PKT7 (ring,CP_WAIT_REG_MEM ,6 );OUT_RING (ring,CP_WAIT_REG_MEM_0_FUNCTION (WRITE_EQ )); -OUT_RING (ring,CP_WAIT_REG_MEM_1_POLL_ADDR_LO ( -REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS )); -OUT_RING (ring,CP_WAIT_REG_MEM_2_POLL_ADDR_HI (0 )); +OUT_RING (ring,REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ); +OUT_RING (ring,0 );OUT_RING (ring,CP_WAIT_REG_MEM_3_REF (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_4_MASK (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES (0 ));@@ -1320,14 +1319,14 @@ static int hw_init(struct msm_gpu *gpu)/* Set weights for bicubic filtering */ if (adreno_is_a650_family (adreno_gpu) ||adreno_is_x185 (adreno_gpu)) { -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_0 ,0 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_1 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (0 ),0 ); +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (1 ),0x3fe05ff4 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (2 ),0x3fa0ebee ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (3 ),0x3f5193ed ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (4 ),0x3f0243f0 ); }
Signature · 2 lines
With best wishes Dmitry
Quoted 19 lines · Dmitry Baryshkov
Quoted 17 lines · Rob Clark
In particular, to pull in a
SP_READ_SEL_LOCATIONbitfield size fix to fix a7xx GPU snapshot.Sync from mesa commit
76fece61c6ff("freedreno/registers: AddA7XX_CX_DBGC")Cc Karmjit Mahil <[email protected]>Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 19 +- drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 5 +- drivers/gpu/drm/msm/registers/adreno/a6xx.xml | 718 ++++++++++-------- .../msm/registers/adreno/a6xx_descriptors.xml | 40 - .../drm/msm/registers/adreno/a6xx_enums.xml | 50 +- .../drm/msm/registers/adreno/adreno_pm4.xml | 179 ++--- 7 files changed, 524 insertions(+), 497 deletions(-)
Quoted 14 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu, · line 251
Quoted 12 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2
-2@@ -247,8 +247,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,* Needed for preemption */ OUT_PKT7 (ring,CP_MEM_WRITE ,5 ); -OUT_RING (ring,CP_MEM_WRITE_0_ADDR_LO (lower_32_bits (memptr))); -OUT_RING (ring,CP_MEM_WRITE_1_ADDR_HI (upper_32_bits (memptr))); +OUT_RING (ring,lower_32_bits (memptr)); +OUT_RING (ring,upper_32_bits (memptr));Could you please comment, why are we droping all these accessors?
We redefined these addresses as reg64 so there is no longer HI/LO regs.. which works better for the c++ builders in userspace but means these accessors no longer are generated.
I suppose we could perhaps make gen_header.py generate legacy hi/lo regs from the reg64 for the "legacy" C builders..
BR,
-R
Quoted 40 lines
Quoted 26 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +4
-6OUT_RING (ring,lower_32_bits (ttbr));OUT_RING (ring,upper_32_bits (ttbr));OUT_RING (ring, ctx->seqno);@@ -278,9 +278,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,*/ OUT_PKT7 (ring,CP_WAIT_REG_MEM ,6 );OUT_RING (ring,CP_WAIT_REG_MEM_0_FUNCTION (WRITE_EQ )); -OUT_RING (ring,CP_WAIT_REG_MEM_1_POLL_ADDR_LO ( -REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS )); -OUT_RING (ring,CP_WAIT_REG_MEM_2_POLL_ADDR_HI (0 )); +OUT_RING (ring,REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ); +OUT_RING (ring,0 );OUT_RING (ring,CP_WAIT_REG_MEM_3_REF (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_4_MASK (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES (0 ));@@ -1320,14 +1319,14 @@ static int hw_init(struct msm_gpu *gpu)/* Set weights for bicubic filtering */ if (adreno_is_a650_family (adreno_gpu) ||adreno_is_x185 (adreno_gpu)) { -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_0 ,0 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_1 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (0 ),0 ); +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (1 ),0x3fe05ff4 ); - gpu_write(gpu, REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2,drivers/gpu/drm/msm/adreno/a6xx_gpu.c static int hw_init(struct msm_gpu *gpu) · line 1332
Quoted 10 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +3
-2+gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (2 ),0x3fa0ebee ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (3 ),0x3f5193ed ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (4 ),0x3f0243f0 ); }--
With best wishes
Dmitry
Quoted 36 lines · Rob Clark
Quoted 19 lines · Dmitry Baryshkov
Quoted 17 lines · Rob Clark
In particular, to pull in a
SP_READ_SEL_LOCATIONbitfield size fix to fix a7xx GPU snapshot.Sync from mesa commit
76fece61c6ff("freedreno/registers: AddA7XX_CX_DBGC")Cc Karmjit Mahil <[email protected]>Signed-off-by Rob Clark <[email protected]>--- drivers/gpu/drm/msm/adreno/a6xx_catalog.c | 10 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 19 +- drivers/gpu/drm/msm/adreno/a6xx_preempt.c | 5 +- drivers/gpu/drm/msm/registers/adreno/a6xx.xml | 718 ++++++++++-------- .../msm/registers/adreno/a6xx_descriptors.xml | 40 - .../drm/msm/registers/adreno/a6xx_enums.xml | 50 +- .../drm/msm/registers/adreno/adreno_pm4.xml | 179 ++--- 7 files changed, 524 insertions(+), 497 deletions(-)Quoted 14 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu, · line 251
Quoted 12 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +2
-2@@ -247,8 +247,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,* Needed for preemption */ OUT_PKT7 (ring,CP_MEM_WRITE ,5 ); -OUT_RING (ring,CP_MEM_WRITE_0_ADDR_LO (lower_32_bits (memptr))); -OUT_RING (ring,CP_MEM_WRITE_1_ADDR_HI (upper_32_bits (memptr))); +OUT_RING (ring,lower_32_bits (memptr)); +OUT_RING (ring,upper_32_bits (memptr));Could you please comment, why are we droping all these accessors?
Quoted 3 lines
We redefined these addresses as reg64 so there is no longer HI/LO regs.. which works better for the c++ builders in userspace but means these accessors no longer are generated.
This should probably go to the commit message.
Quoted 48 lines
I suppose we could perhaps make
gen_header.pygenerate legacy hi/lo regs from the reg64 for the "legacy" C builders..BR,
-RQuoted 40 lines
Quoted 26 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +4
-6OUT_RING (ring,lower_32_bits (ttbr));OUT_RING (ring,upper_32_bits (ttbr));OUT_RING (ring, ctx->seqno);@@ -278,9 +278,8 @@ static void a6xx_set_pagetable(struct a6xx_gpu *a6xx_gpu,*/ OUT_PKT7 (ring,CP_WAIT_REG_MEM ,6 );OUT_RING (ring,CP_WAIT_REG_MEM_0_FUNCTION (WRITE_EQ )); -OUT_RING (ring,CP_WAIT_REG_MEM_1_POLL_ADDR_LO ( -REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS )); -OUT_RING (ring,CP_WAIT_REG_MEM_2_POLL_ADDR_HI (0 )); +OUT_RING (ring,REG_A6XX_RBBM_PERFCTR_SRAM_INIT_STATUS ); +OUT_RING (ring,0 );OUT_RING (ring,CP_WAIT_REG_MEM_3_REF (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_4_MASK (0x1 ));OUT_RING (ring,CP_WAIT_REG_MEM_5_DELAY_LOOP_CYCLES (0 ));@@ -1320,14 +1319,14 @@ static int hw_init(struct msm_gpu *gpu)/* Set weights for bicubic filtering */ if (adreno_is_a650_family (adreno_gpu) ||adreno_is_x185 (adreno_gpu)) { -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_0 ,0 ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_1 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (0 ),0 ); +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (1 ),0x3fe05ff4 ); - gpu_write(gpu, REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2,drivers/gpu/drm/msm/adreno/a6xx_gpu.c static int hw_init(struct msm_gpu *gpu) · line 1332
Quoted 10 lines
drivers/gpu/drm/msm/adreno/a6xx_gpu.c +3
-2+gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (2 ),0x3fa0ebee ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (3 ),0x3f5193ed ); -gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4 , +gpu_write (gpu,REG_A6XX_TPL1_BICUBIC_WEIGHTS_TABLE (4 ),0x3f0243f0 ); }--
With best wishes
Dmitry
Signature · 2 lines
With best wishes Dmitry