The link you sent says:
-----------------------------------------------
Video Support
Simultaneously supports full native resolution on the built-in display at 1 billion colors and:
Up to two external displays with up to 6K resolution at 60Hz at over a billion colors (M1 Pro) or
Up to three external displays with up to 6K resolution and one external display with up to 4K resolution at 60Hz at over a billion colors (M1 Max)
Thunderbolt 4 digital video output
Native DisplayPort output over USB‑C
VGA, HDMI, DVI, and Thunderbolt 2 output supported using adapters (sold separately)
HDMI digital video output
Support for one display with up to 4K resolution at 60Hz
DVI output using HDMI to DVI Adapter (sold separately)
---------------------------------------------------------------------------------------
My whole point is that using the HDMI port using an HDMI cable connected to my 4K monitor, it still only does 30 Hz.
When connected to two 4K dual monitors through a docking station which supports dual 4K at 60Hz, both monitors are only doing 30Hz.
Even though the Video Specification for my machine (2021 16" Macbook Pro M1 Max) says it should be able to support 3 4K at 60Hz, my point is that it is not doing for 1 when directly connected or 2 when connected through a supported docking station.
I would like to know how to fix this please. Citing the specification is not helpful when I am pointing out that it is not meeting the cited specification, which is why I am looking for a solution. I bought the machine on this spec, expecting it to be able to do dual 4K at 60Hz and it is not. Please let me know how to resolve rather than citing a specificiation.