mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
Revert "HACK: media: videobuf2: allow cache hints on all memory types"
This reverts commit a7b55392ab.
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
Change-Id: I6eacd69327e0b64d36c8d7c69dd1f0a51ce3480a
This commit is contained in:
@@ -591,9 +591,6 @@ struct vb2_queue {
|
||||
*/
|
||||
static inline bool vb2_queue_allows_cache_hints(struct vb2_queue *q)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_ROCKCHIP
|
||||
return q->allow_cache_hints;
|
||||
#endif
|
||||
return q->allow_cache_hints && q->memory == VB2_MEMORY_MMAP;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user