Revert "drm/amd/display: Initialize get_bytes_per_element's default to 1"

This reverts commit 293de81901.
This commit is contained in:
Ksawlii 2024-11-24 00:23:06 +01:00
parent 874d1dc60d
commit 3c13d72960
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ static void calculate_ttu_cursor(struct display_mode_lib *mode_lib,
static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma)
{
unsigned int ret_val = 1;
unsigned int ret_val = 0;
if (source_format == dm_444_16) {
if (!is_chroma)

View file

@ -53,7 +53,7 @@ static void calculate_ttu_cursor(
static unsigned int get_bytes_per_element(enum source_format_class source_format, bool is_chroma)
{
unsigned int ret_val = 1;
unsigned int ret_val = 0;
if (source_format == dm_444_16) {
if (!is_chroma)