Commit 0605e9d
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 4d2358c commit 0605e9d
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
266 | | - | |
| 265 | + | |
| 266 | + | |
267 | 267 | | |
268 | | - | |
269 | | - | |
| 268 | + | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
0 commit comments