Commit b2fb7d1
drm/vc4: txp: fix incorrect width and height check logic in vc4_txp_atomic_check
Since incorrect conditional operator was used in vc4_txp_atomic_check(),
the check may be bypassed if only one of the width or height does
not match.
To prevent this, the conditional operator must be corrected.
Fixes: c5d3a57 ("drm/vc4: txp: Add a rotation property to the writeback connector")
Signed-off-by: Jeongjun Park <aha310510@gmail.com>1 parent e437e90 commit b2fb7d1
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
265 | | - | |
| 264 | + | |
| 265 | + | |
266 | 266 | | |
267 | | - | |
268 | | - | |
| 267 | + | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments