https://github.com/torvalds/linux
Revision cf7fc75523b32a9a119a466dcff325f1fda38c7d authored by Yongqiang Sun on 09 December 2020, 21:56:51 UTC, committed by Alex Deucher on 23 December 2020, 20:01:53 UTC
[Why]
there is some garbage showing up during reboot test.
Reason:
SMU might handle display driver msg defered and driver will send
next msg to SMU after 10ms timeout, once SMU FW handle previous msg,
parameters are changed to next one, which result in a wrong value be programmed.

[How]
Extend timeout to 2s so SMU will have enough time to handle driver msg.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent e8e91f9
Raw File
Tip revision: cf7fc75523b32a9a119a466dcff325f1fda38c7d authored by Yongqiang Sun on 09 December 2020, 21:56:51 UTC
drm/amd/display: change SMU repsonse timeout to 2s.
Tip revision: cf7fc75
cmdline-partition.rst
==============================================
Embedded device command line partition parsing
==============================================

The "blkdevparts" command line option adds support for reading the
block device partition table from the kernel command line.

It is typically used for fixed block (eMMC) embedded devices.
It has no MBR, so saves storage space. Bootloader can be easily accessed
by absolute address of data on the block device.
Users can easily change the partition.

The format for the command line is just like mtdparts:

blkdevparts=<blkdev-def>[;<blkdev-def>]
  <blkdev-def> := <blkdev-id>:<partdef>[,<partdef>]
    <partdef> := <size>[@<offset>](part-name)

<blkdev-id>
    block device disk name. Embedded device uses fixed block device.
    Its disk name is also fixed, such as: mmcblk0, mmcblk1, mmcblk0boot0.

<size>
    partition size, in bytes, such as: 512, 1m, 1G.
    size may contain an optional suffix of (upper or lower case):

      K, M, G, T, P, E.

    "-" is used to denote all remaining space.

<offset>
    partition start address, in bytes.
    offset may contain an optional suffix of (upper or lower case):

      K, M, G, T, P, E.

(part-name)
    partition name. Kernel sends uevent with "PARTNAME". Application can
    create a link to block device partition with the name "PARTNAME".
    User space application can access partition by partition name.

Example:

    eMMC disk names are "mmcblk0" and "mmcblk0boot0".

  bootargs::

    'blkdevparts=mmcblk0:1G(data0),1G(data1),-;mmcblk0boot0:1m(boot),-(kernel)'

  dmesg::

    mmcblk0: p1(data0) p2(data1) p3()
    mmcblk0boot0: p1(boot) p2(kernel)
back to top