diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2022-05-01 20:25:09 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2022-05-01 20:25:09 +0200 |
commit | d83cf3635d9397f1dd092608276c7072ed39dd91 (patch) | |
tree | 4a8d186a6b13163e207873f09f67e494b728d381 /src/gfx/disp_gu2.c | |
parent | e8b23199e5d87551d4ba5e6156ec008ed19cb0d9 (diff) | |
parent | 27ea30c38994b689d6e27e8fac8c63d69179f9b5 (diff) |
Merge remote-tracking branch 'origin/master' into obsd
Diffstat (limited to 'src/gfx/disp_gu2.c')
-rw-r--r-- | src/gfx/disp_gu2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gfx/disp_gu2.c b/src/gfx/disp_gu2.c index f105cc1..1f0bbb6 100644 --- a/src/gfx/disp_gu2.c +++ b/src/gfx/disp_gu2.c @@ -613,11 +613,11 @@ gfx_set_display_offset(unsigned long offset) WRITE_REG32(MDC_UNLOCK, MDC_UNLOCK_VALUE); /* START ADDRESS EFFECTS DISPLAY COMPRESSION */ - /* Disable compression for non-zero start addresss values. */ - /* Enable compression if offset is zero and comression is intended to */ - /* be enabled from a previous call to "gfx_set_compression_enable". */ - /* Compression should be disabled BEFORE the offset is changed */ - /* and enabled AFTER the offset is changed. */ + /* Disable compression for non-zero start address values. */ + /* Enable compression if offset is zero and compression is intended to */ + /* be enabled from a previous call to "gfx_set_compression_enable". */ + /* Compression should be disabled BEFORE the offset is changed */ + /* and enabled AFTER the offset is changed. */ if (offset == 0) { WRITE_REG32(MDC_FB_ST_OFFSET, offset); if (gfx_compression_enabled) { @@ -1100,7 +1100,7 @@ int gfx_set_compression_enable(int enable) #endif { - /* SET GLOBAL VARIABLE FOR INDENDED STATE */ + /* SET GLOBAL VARIABLE FOR INTENDED STATE */ /* Compression can only be enabled for non-zero start address values. */ /* Keep state to enable compression on start address changes. */ |