Commit Graph

740 Commits

Author SHA1 Message Date
Sandor Yu
248e047b2d LF-7555-1: drm: imx: lcdifv3: Remove mode_valid function
Remove mode_valid function, video modes should be checked in
encoder or bridge drivers.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
2023-12-19 11:01:41 +08:00
Jason Liu
f75d905095 Merge tag 'v6.6.3' into lf-6.6.y
This is the 6.6.3 stable release

* tag 'v6.6.3': (526 commits)
  Linux 6.6.3
  drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox
  drm/amd/display: Clear dpcd_sink_ext_caps if not set
  ...

Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>

 Conflicts:
	arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi
	drivers/usb/dwc3/core.c
2023-11-30 09:41:12 -06:00
Helge Deller
5cadd78088 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
commit 8a32aa17c1 upstream.

The pointer to the next STI font is actually a signed 32-bit
offset. With this change the 64-bit kernel will correctly subract
the (signed 32-bit) offset instead of adding a (unsigned 32-bit)
offset. It has no effect on 32-bit kernels.

This fixes the stifb driver with a 64-bit kernel on qemu.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-11-28 17:19:58 +00:00
Dong Aisheng
4ee7464398 Merge branch 'mxc/next' into next
* mxc/next: (519 commits)
  MGS-7343 [#nxp] fix the compile warning
  LF-10253: arm64: vpu : h1: solve encode hang
  MGS-7413 [#nxp] reorder the directory
  LF-10543-8: mxc: vpu: wave6: make sequence of decoder capture buffer monotonically increasing
  LF-10543-7: mxc: vpu: wave6: init seq in a separate task
  ...
2023-11-22 17:04:52 +08:00
Dong Aisheng
9f4d717481 Merge remote-tracking branch 'origin/display/prefetch' into display/next
* origin/display/prefetch: (8 commits)
  LF-4546 gpu: imx: imx8_dprc: Fix some implicit fallthrough build warnings
  MLK-25319 gpu: imx: imx8_dprc: Use 256byte burst length for GPU standard tile
  LF-2010 gpu: imx: imx8_dprc: Check return value of SCU func call in dprc_prg_sel_configure()
  LF-2011 gpu: imx: imx8_dprc: Check return value of SCU func call in dprc_dpu_gpr_configure()
  LF-1750 gpu: imx: imx8_dprc: Get scu ipc handle in ->probe()
  ...
2023-11-22 17:04:11 +08:00
Dong Aisheng
edb9e77993 Merge remote-tracking branch 'origin/display/pc' into display/next
* origin/display/pc:
  gpu: imx: Add imx8 pixel combiner support
2023-11-22 17:04:11 +08:00
Dong Aisheng
7ef3dd5fde Merge remote-tracking branch 'origin/display/lcdif' into display/next
* origin/display/lcdif: (78 commits)
  LF-8963-8 gpu/imx/lcdifv3: set de_invert to false for lcdif2
  LF-2649 drm/imx: lcdifv3: Fix plane settings when enabling crtc
  LF-7783-2: drm: imx: lcdifv3: remove lcdif3 specific code
  LF-7728 gpu: imx: lcdifv3: Drop device reset controls for "fsl,imx8mp-lcdif1"
  LF-6416-1 gpu: imx: lcdifv3: Fix pixel data sample edge
  ...
2023-11-22 17:04:09 +08:00
Dong Aisheng
69aa6e4d3e Merge remote-tracking branch 'origin/display/fbdev' into display/next
* origin/display/fbdev: (34 commits)
  LF-9960: video:  mxsfb: remove FBINFO_FLAG_DEFAULT flag
  LF-9950 video: epdc: remove FBINFO_FLAG_DEFAULT flag
  LF-9180-4 video: epdc: fix dump caused by read permission set without show function
  LF-9730 video: fbdev: mxc_ipuv3_fb: Check ipu_pre_config() return value
  LF-9726: fbdev: mipi dsi northwest: fix Coverity issues
  ...
2023-11-22 17:04:06 +08:00
Liu Ying
8b1f4149db MLK-23107-1 gpu: imx: imx8_dprc: Add helper dprc_disable_repeat_en()
This patch adds helper dprc_disable_repeat_en() so that callers
may disable DPRC repeat_en.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 18:09:45 +08:00
Liu Ying
3373557059 MLK-21378-2 gpu: imx: Add imx8_dprc support
Fast-forward imx8_dprc driver from imx_4.14.y.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: scfw call updates and other small tweaks for upgrade]
2023-10-30 18:09:45 +08:00
Liu Ying
128c2292fd MLK-21378-1 gpu: imx: Add imx8_prg support
Fast-forward imx8_prg driver from imx_4.14.y.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 18:09:45 +08:00
Liu Ying
3e6424094c gpu: imx: Add imx8 pixel combiner support
This patch adds i.MX8 pixel combiner driver support.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 18:01:24 +08:00
Liu Ying
92d8f791f6 LF-2649 drm/imx: lcdifv3: Fix plane settings when enabling crtc
Fix plane settings including fb pixel format, address and pitch when
enabling crtc to avoid an initial corrupt frame.

Tested-by: Sandor Yu <Sandor.yu@nxp.com>
Cc: Sandor Yu <Sandor.yu@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:55 +08:00
Liu Ying
13c71ee35e LF-4887-6 drm/imx: lcdif: Add MPU interface(8080 mode) support
This patch adds MPU interface(8080 mode) support in the LCDIF driver
so that LCDIF may send frames to the sec-dsim MIPI DSI controller embedded
in i.MX8mm/mn via that interface.  From the MIPI DSI controller perspective,
the input interface is called S-i80(Synchronous i80 Interface).

The general idea is to leverage the self refresh(SR) helpers offered by the
DRM core to make the external display device enter self refresh mode and
hence disable LCDIF when appropriate.  The relevant DRM connectors'
conn_state->self_refresh_aware flags are inspected to determine whether to
use MPU interface or DOTCLK interface(also called RGB interface).

Since LCDIF will be disabled when the self refresh is active and the data
is transferred at modest rate, there are below known limitations:

1) The cur_frame_done interrupt comes at a lower frequency than the
   display vsync signal frequency due to the low data transfer rate.
   So, vblank events cannot reflect the real vsync pulses of the external
   display.

2) Screen tearing phenomenon can be seen, because the frame update is
   asynchronous to the external display self refresh and the LCDIF
   controller does not support the 'Tearing Effect' mechanism.

3) The fbdev emulation and boot logo can not be updated onto screen in
   time, because the external display often enters self refresh mode at
   those stages.  The boot logo will show up until the next time when
   frame is sent to the external display via the MPU interface, e.g., when
   the next framebuffer pan display operation is done after the logo is
   ready in framebuffer.  Like the below command line, writing to the
   framebuffer sys node 'pan' frequently at background may make the
   framebuffer emulation be a bit responsive.

while true; do echo 0,0 > /sys/class/graphics/fb0/pan; sleep 1; done &

Cc: Sandor Yu <Sandor.yu@nxp.com>
Cc: Wujian sun <wujian.sun_1@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:54 +08:00
Fancy Fang
80207c0d16 LF-2653 drm/imx: lcdif: implement mode_valid() for CRTC
Add mode_valid() implementation for CRTC to filter out any
mode which cannot be supported by LCDIF. Only check the
CEA and DMT modes for pixel clock round rate is same with
the value from mode.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
(cherry picked from commit d9be4b3d3b)
[ Liu Ying: Squash a build fix due to rebase upon v5.19-rc7 ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:53 +08:00
Fancy Fang
0992c67d02 MLK-24998-7 drm/imx: lcdifv3: implement mode_valid() for CRTC
Add mode_valid() implementation for CRTC to filter out any
mode which cannot be supported by LCDIFv3. Only check the
CEA and DMT modes for pixel clock round rate is same with
the value from mode.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
[ Liu Ying: Squash a build fix due to rebase upon v5.19-rc7 ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:53 +08:00
Fancy Fang
6e4ceec37d MLK-24002-1 drm/imx: lcdifv3: enable shadow load for plane update
After the atomic plane update, the shadow load should be
enabled to make sure its update can take effect on next
frame in any cases. And this enable is better to be done
in CRTC's atomic_flush() which is called after plane's
atomic_update() is called.

Besides, the shadow load enable in controller enable is
unnecessary, so remove it.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:52 +08:00
Liu Ying
4fe0c41c61 MLK-23234-4 gpu: imx: add LCDIFv3 core driver
The LCDIFv3 core driver is responsible to provide
controller registers configuration and create the
platform devices for the child port nodes. And the
platform devices later will attach to the related
DRM/KMS drivers via name match. And the LCDIFv3 is
completely different from the LCDIF controller
which is used on imx8mm and imx8mn platforms.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
[ Liu Ying: Remove drm_get_format_name() ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:51 +08:00
Fancy Fang
3dc5958234 MLK-19158-2 drm/imx: lcdif: improve output bus format config
According to LCDIF specification, the input pixel data
width and the output pixel data width can be different,
and this conversion is done by LCDIF automatically. So
config the output data width according to the requested
bus format from the encoder, instead to be same with the
input pixel data width.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit bfd27f6d71d86a7f2fc8314f082565db3682b925)
2023-10-30 17:59:49 +08:00
Fancy Fang
aae912d4d4 MLK-19152-1 gpu: imx: lcdif: realize fb horizontal crop via Pigeon Mode
According to the LCDIF specification, the Legacy Mode does not
support cropping function in the horizontal direction, so add
Pigeon Mode which can support this kind of function. And when
enable this mode, the legacy horizontal timings configuration
should use stride value but not the active width, and related
pigeon configuration should use the active width but not the
stride value.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit e6da9542693dd585972897f62748a101f5726a74)
2023-10-30 17:59:49 +08:00
Fancy Fang
6943ec08e7 MLK-18560 drm/imx: lcdif: refine bus format sanity check for plane
Add an function to get the LCDIF controller supported bus
formats according to the pixel format bpp. And change the
bus format sanity check in the plane's atomic check to see
if the bus format required by the peripheral attached to
LCDIF can be supported by LCDIF.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
2023-10-30 17:59:48 +08:00
Fancy Fang
e7706d8f95 MLK-18535-3 gpu: imx: add LCDIF core driver
The LCDIF core driver is responsible to provide controller
registers configuration and create the platform devices for
the child port nodes. And the platform devices later will
attach to the corresponding DRM/KMS drivers via name match.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
[ Aisheng: Kconfig & Makefile update for a clean base ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
[ Liu Ying: Remove drm_get_format_name() ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: Rename driver from imx-lcdif to imx8mm-lcdif ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: Use SET_LATE_SYSTEM_SLEEP_PM_OPS ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: Change CONFIG_IMX_LCDIF_CORE to CONFIG_IMX8MM_LCDIF_CORE ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:59:48 +08:00
Liu Ying
6d491e52df MLK-21509-4 drm/imx: dpu: crc: Add user-configurable CRC region(ROI) support
This patch adds user-configurable CRC region support.
The users may choose a region of interest(ROI) as the CRC source
(i.e., the CRC evaluation window) via the debugfs control node.
The ROI cannot exceed the display region as indicated by
drm_crtc_state->adjusted_mode.  The users may write a string in
the fashion of "roi:x1,y1,x2,y2" to the node to specify the ROI
within the display region.  The inclusive position at (x1, y1)
indicates the upper left of the region, while the exclusive
position at (x2, y2) indicates the lower right of the region.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2023-10-30 17:48:31 +08:00
Liu Ying
bbb1f8b7d5 MLK-21509-2 gpu: imx: dpu: disengcfg: Add signature select support
This patch adds helper disengcfg_sig_select() support so that
users may select different taps(FrameGen, GammaCor, Matrix or
Dither) to do signature computation.  Also, select FrameGen as
the default tap in _dpu_dec_init() and call it in dpu_dec_init().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2023-10-30 17:48:31 +08:00
Liu Ying
3fce370fbe MLK-21509-1 gpu: imx: dpu: common: Add signature unit support
This patch adds signature unit support in the dpu common driver.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Robby Cai <robby.cai@nxp.com>
2023-10-30 17:48:31 +08:00
Liu Ying
6583f8074a MLK-23102-2 gpu: imx: dpu: fetchunit: Remove pin-off operations
No one is using pin-off operations, so let's remove them.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:30 +08:00
Liu Ying
4733aae3fb drm/imx: dpu: plane: Add color properties support
As DPU fetchunits support ITU601(limited range)/ITU601_FR(full range)
and ITU709(limited range) YUV to RGB color space conversions, we may
add color encoding and color range properties support for planes.
Considering software backward compatibility, the default color encoding
is set to ITU601 with full color range.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:29 +08:00
Liu Ying
18ec7a475f drm/imx: dpu: plane: Support multiple pixel blend modes
This patch adds mulitple pixel blend modes for DPU plane.
The modes are "None", "Pre-multiplied" and "Coverage".

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:29 +08:00
Liu Ying
4085568b11 drm/imx: dpu: kms: Support proper default blend mode
Without the new blend modes("None", "Pre-multiplied" and "Coverage")
introduced in the below commit, the old userspace assumes alpha in
pixel is per-premultiplied by default.  So, let's support the default
blend mode properly.

commit a5ec8332d4 ("drm: Add per-plane pixel blend mode property")

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
e88829a9b6 gpu: imx: dpu: extdst: Add extdst_pixengcfg_syncmode_master() helper
This patch adds extdst_pixengcfg_syncmode_master() helper support
so that the callers may control if a extdst is master or slave
when it works in sync mode.  The bit16 of extdst's PIXENGCFG_STATIC
register controls this and it's a part of sync mode fixup logic.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
a0cd73537e gpu: imx: dpu: framegen: Add framegen_syncmode_fixup() helper
Bit7 of framegen's SECSTATCONFIG register is used to control
the sync mode fixup logic implemented in framegen.  This patch
adds framegen_syncmode_fixup() helper so that the callers
may enable/disable the fixup logic for a framegen.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
42a6c02aa4 gpu: imx: dpu: common: Provide store9 to client pdev via pdata
Store9 unit can be shared bewteen display engine(for sync mode fixup)
and blit engine.  It's proper to get the store resource in the DPU
common driver and then provide it to client platform device via
platform data.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
2e0ffc1738 gpu: imx: dpu: common: Add store9 support for sync mode fixup
Bit16 of store9's PIXENGCFG_STATIC register is used to control
the sync mode fixup logic implemented in store9.  So, let's
add store9 support in the DPU core driver and export a function
for users to enable/disable the fixup logic.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
24082b07ce gpu: imx: dpu: Add pixel combiner support
This patch adds pixel combiner support in the DPU core driver.
Users may get and enable/disable/control a pixel combiner instant
via tcon functions and may tell if it is needed in a specific usecase
via the dpu_get_syncmode_min_prate() and dpu_get_singlemode_max_width()
helpers.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
e0e8f6e6af gpu: imx: tcon: Add side-by-side support
This patch adds side-by-side support for tcon so that
two tcons can participate in the dual display streams
to work with pixel combiner to drive a high pixel rate
display.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:28 +08:00
Liu Ying
faac5bbb6e gpu: imx: dpu: framegen: Add side-by-side support
This patch adds side-by-side support for framegen so that
two framegens can work in sync mode to participate in the
dual display streams to drive a high pixel rate display
via a pixel combiner.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
f180e07812 gpu: imx: dpu: tcon: Add tcon_is_master/slave() helpers support
This patch adds tcon_is_master/slave() helpers support so that
callers may know if a tcon is a master or slave tcon.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
22826d1d4f gpu: imx: dpu: extdst: Add extdst_is_master() helper support
This patch adds extdst_is_master() helper support so that
callers may know if a extdst is a master extdst or not.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
89ee36ede1 gpu: imx: dpu: framegen: Add framegen_is_master/slave() helper support
This patch adds framegen_is_master/slave() helpers support so that
callers may know if a framegen is a master or slave framegen.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
ef6c9df400 gpu: imx: dpu: common: Add helper dpu_get_master_stream_id() support
This patch adds helper dpu_get_master_stream_id() support
so that callers may know the master stream when FrameGen
works in sync mode.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
68bf431765 gpu: imx: dpu: common: Add di_grp_id in display client pdev's data
This patch adds a new di_grp_id entry in display client pdev's data
so that the relevant display platform driver may know the display
group ID of the display device.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
539a4280bf gpu: imx: dpu: Add helpers to peek at auxiliary display submodules
This patch adds dpu_aux_{unit}_peek() helpers so that callers
may peek at auxiliary display submodules.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:27 +08:00
Liu Ying
2a2e9bc400 drm/imx: dpu: kms: Support full screen CRTC background
The CRTC background should be full screen instead of partial
screen, because the DRM core is likely to add configurable
background color support in the future.  We may cover the full
screen with ConstFrame0/1, upon which builds planes.  With this,
it is easier to compute each plane's layer offset vs CRTC start
point and all ConstFrame units can be controlled by CRTC.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:26 +08:00
Liu Ying
c5719af972 gpu: imx: dpu: framegen: Add helpers to get/clear sec chan status
This patch adds two helpers to get and clear FrameGen secondary channel
status respectively.  Via the two helpers, users may know if there is
empty FIFO read request on this channel or not after getting the status.
And, if yes, users may choose to clear the status.  According to the IP
spec, the empty FIFO read request indicates that data stream from a Fetch
unit(e.g., AXI bandwidth not sufficient) fell down.  Assuming the display
driver sets things up properly, the falling down is very likely caused by
the insufficient AXI bandwidth, that is, display underrun.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:26 +08:00
Liu Ying
ceb55c05b0 drm/imx: dpu: crtc: Evade the first dumb frame for DPR/PRG errata
To workaround the errata TKT320950, DPR/PRG need to evade the first dumb frame
which is generated by DPU.  The way we achieve that is to bypass TCON(but set
the TCON sync signals and KA_CHUCK strobe signal up) before enabling the DPU
display controller, and then 1) enable the display controller, 2) wait for the
frame index starting to move and 3) finally switch TCON to operation mode.
Steps 1) to 3) should be done within a frame, so we disable local irq and
preemption to make sure we don't relinquish CPU during the procedure.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00
Liu Ying
1ef71beafc gpu: imx: dpu: fetchunit: Add DPR support
This patch adds DPR support for fetchunit in the DPU base driver.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00
Liu Ying
3cdf436b52 gpu: imx: dpu: fetchunit: Use TKT343664&TKT339017's fixups for ->set_src_stride()
This patch uses TKT343664&TKT339017's fixups for ->set_src_stride().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00
Liu Ying
7db241ee20 gpu: imx: dpu: fetchunit: Use TKT343664&TKT339017's fixups for ->set_baseaddress()
This patch uses TKT343664&TKT339017's fixups for ->set_baseaddress().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00
Liu Ying
ee8a4ddd72 gpu: imx: dpu: fetchunit: Use TKT343664's fixup for ->set_burstlength()
This patch uses TKT343664 burst size fixup for ->set_burstlength().

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00
Liu Ying
c52108db42 gpu: imx: dpu: fetchunit: Add helper for TKT339017 to fixup stride
This patch adds helper fetchunit_stride_fixup_tkt339017() for
TKT339017 to fixup stride.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
2023-10-30 17:48:25 +08:00