drm/vc4: hdmi: Take bpp into account for the scrambler

The current code only base its decision for whether the scrambler must be
enabled or not on the pixel clock of the mode, but doesn't take the bits
per color into account.

Let's leverage the new function to compute the clock rate in the
scrambler setup code.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222164042.403112-6-maxime@cerno.tech
This commit is contained in:
Maxime Ripard 2022-02-22 17:40:40 +01:00
commit f785dcfc59
No known key found for this signature in database
GPG key ID: E3EF0D6F671851C5
2 changed files with 17 additions and 4 deletions