Revert "drm/amd/display: Initialize get_bytes_per_element's default to 1"
This reverts commit 293de81901
.
This commit is contained in:
parent
874d1dc60d
commit
3c13d72960
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue